The Ultimate Weblog System

Welcome to Geeklog
Tuesday, February 09 2010 @ 05:54 PM EST


 Forum Index > Support > General Help New Topic Post Reply
 Adding a group to another
 |  Printable Version
cordiste
 October 01 2009 16:51 PM (Read 672 times)  
Forum Full Member
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
 
Profile Email Website PM
Quote
cordiste
 October 01 2009 17:04 PM  
Forum Full Member
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
 
Profile Email Website PM
Quote
Dirk
 October 03 2009 04:05 AM  
Forum Admin
Admin

Status: offline

Registered: 01/12/02
Posts: 12492

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


 
Profile Email Website PM
Quote
cordiste
 October 03 2009 06:24 AM  
Forum Full Member
Full Member

Status: offline

Registered: 01/14/05
Posts: 607

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. Question

::Ben


PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
 
Profile Email Website PM
Quote
cordiste
 November 03 2009 04:59 AM  
Forum Full Member
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. Banging your head

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
 
Profile Email Website PM
Quote
Dirk
 November 04 2009 07:08 AM  
Forum Admin
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


 
Profile Email Website PM
Quote
cordiste
 November 04 2009 07:15 AM  
Forum Full Member
Full Member

Status: offline

Registered: 01/14/05
Posts: 607

Cool it's working Its a deal - shaking hands

::Ben


PurePro :: Create and download your new theme for geeklog 1.6.1 | www.geeklog.fr | Support and French community
 
Profile Email Website PM
Quote
cordiste
 November 04 2009 07:20 AM  
Forum Full Member
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
 
Profile Email Website PM
Quote
Dirk
 November 04 2009 07:42 AM  
Forum Admin
Admin

Status: offline

Registered: 01/12/02
Posts: 12492

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


 
Profile Email Website PM
Quote
Content generated in: 2.95 seconds
New Topic Post Reply



 All times are EST. The time is now 05:54 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content