| cordiste |
 |
October 01 2009 16:51 PM (Read 672 times) |
|
|

Full Member
 Status: offline
Registered: 01/14/05
Posts: 607
|
On geeklog 1.6.0 and 1.6.0sr2 I try, in the group editor, to add a group to another group to give this group the same rights that those group have. But it seems to fail.
::Ben
PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
|
| |
|
|
| cordiste |
 |
October 01 2009 17:04 PM |
|
|

Full Member
 Status: offline
Registered: 01/14/05
Posts: 607
|
Possibly related, in my function plugin_autoinstall_paypal my array to create groups is
PHP Formatted Code
$pi_name = 'paypal';
$pi_display_name = 'Paypal';
$pi_admin = $pi_display_name . ' Admin';
$pi_user = $pi_display_name . ' User';
$pi_viewer = $pi_display_name . ' Viewer';
$info = array(
'pi_name' => $pi_name,
'pi_display_name' => $pi_display_name,
'pi_version' => '1.0',
'pi_gl_version' => '1.6.0',
'pi_homepage' => 'http://www.geeklog.fr'
);
$groups = array(
$pi_admin => 'Users in this group can administer the '
. $pi_display_name . ' plugin',
$pi_user => 'Users in this group can access to the '
. $pi_display_name . ' plugin',
$pi_viewer => 'Users in this group can view the '
. $pi_display_name . ' plugin'
);
$features = array(
$pi_name . '.admin' => 'Full access to ' . $pi_display_name
. ' plugin',
$pi_name . '.user' => 'People who can shop with the ' . $pi_display_name
. ' plugin',
$pi_name . '.viewer' => 'People who can browse (but not buy) with the ' . $pi_display_name
. ' plugin',
);
$mappings = array(
$pi_name . '.admin' => array($pi_admin),
$pi_name . '.user' => array($pi_admin),
$pi_name . '.viewer' => array($pi_admin),
);
but only Paypal Admin group and the 3 features are created after the plugin install.
::Ben
PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
|
| |
|
|
| Dirk |
 |
October 03 2009 04:05 AM |
|
|

Admin
 Status: offline
Registered: 01/12/02
Posts: 12492
|
Quote by: cordisteOn geeklog 1.6.0 and 1.6.0sr2 I try, in the group editor, to add a group to another group to give this group the same rights that those group have. But it seems to fail.
Works for me.
The Groups Editor had a facelift in 1.6.0. Could this be a themes-related issue?
bye, Dirk
|
| |
|
|
| cordiste |
 |
October 03 2009 06:24 AM |
|
|

Full Member
 Status: offline
Registered: 01/14/05
Posts: 607
|
Quote by: cordisteOn geeklog 1.6.0 and 1.6.0sr2 I try, in the group editor, to add a group to another group to give this group the same rights that those group have. But it seems to fail.
::Ben
I made the test on the demo.geeklog.net with the professional theme.
::Ben
PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
|
| |
|
|
| cordiste |
 |
November 03 2009 04:59 AM |
|
|

Full Member
 Status: offline
Registered: 01/14/05
Posts: 607
|
Hello,
Adding a group to another on geeklog1.6.1b1 is still not working for me.
If i create a group call Test group and check All Users, All users are not adding to Test
And when I Check to allow filtering the Test group as an Admin Use Group the group disappears from the group list.
::Ben
PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
|
| |
|
|
| Dirk |
 |
November 04 2009 07:08 AM |
|
|

Admin
 Status: offline
Registered: 01/12/02
Posts: 12492
|
Found it. That was a side effect of the above-mentioned facelift of the Group Editor in 1.6.0 (so it only affects 1.6.0 and 1.6.1b1).
bye, Dirk
|
| |
|
|
| cordiste |
 |
November 04 2009 07:15 AM |
|
|

Full Member
 Status: offline
Registered: 01/14/05
Posts: 607
|
Cool it's working
::Ben
PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
|
| |
|
|
| cordiste |
 |
November 04 2009 07:20 AM |
|
|

Full Member
 Status: offline
Registered: 01/14/05
Posts: 607
|
...when I Check to allow filtering the Test group as an Admin Use Group the group disappears from the group list.
In gl_groups table, grp_gl_core to my Test group is set to 2 and I can see it no more...
::Ben
PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
|
| |
|
|
| Dirk |
 |
November 04 2009 07:42 AM |
|
|

Admin
 Status: offline
Registered: 01/12/02
Posts: 12492
|
Quote by: cordisteIn gl_groups table, grp_gl_core to my Test group is set to 2 and I can see it no more...
That's a feature, not a bug (and not even a new one). In the Group List, click the "Show Admin Groups" checkbox, click "Submit", and it'll show up again.
bye, Dirk
|
| |
|
|