Welcome to Geeklog, Anonymous Friday, November 22 2024 @ 09:06 pm EST
Geeklog Forums
Adding a group to another
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
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
I'm available to customise your themes or plugins for your Geeklog CMS
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
6
8
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Possibly related, in my function plugin_autoinstall_paypal my array to create groups is
$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
I'm available to customise your themes or plugins for your Geeklog CMS
Text 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
I'm available to customise your themes or plugins for your Geeklog CMS
7
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: cordiste
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.
Works for me.
The Groups Editor had a facelift in 1.6.0. Could this be a themes-related issue?
bye, Dirk
10
10
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Quote by: cordiste
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
I made the test on the demo.geeklog.net with the professional theme. :
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
12
8
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello,
Adding a group to another on geeklog1.6.1b1 is still not working for me. :banghead:
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
I'm available to customise your themes or plugins for your Geeklog CMS
Adding a group to another on geeklog1.6.1b1 is still not working for me. :banghead:
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
I'm available to customise your themes or plugins for your Geeklog CMS
9
10
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
...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
I'm available to customise your themes or plugins for your Geeklog CMS
6
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: cordiste
In 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
10
7
Quote
All times are EST. The time is now 09:06 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content