FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Configure to use least restrictive permissions
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Configure to use least restrictive permissions [message #36725 is a reply to message #36719] Mon, 02 April 2007 21:40 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
You need to edit the grp_rebuild_cache() function inside groups.inc.t.

Inside you will find the following code

<?php
if ($o->gco 131072) {
                                
$list[$o->rid][$o->uid] |= $o->gco;
                        } else {
                                
$list[$o->rid][$o->uid] &= $o->gco;
                        }
?>


you need to change it to just

<?php
$list
[$o->rid][$o->uid] |= $o->gco;
?>


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Integrating Photo Galleries with FUDForum
Next Topic: Delete User in Administration - what happens ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 00:36:18 GMT 2024

Total time taken to generate the page: 0.04800 seconds