You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 98 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - admin_ug_auth woes [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
scarecrow
Nuke Cadet
Nuke Cadet


Joined: Mar 17, 2004
Posts: 4


PostPosted: Mon Jan 24, 2005 7:08 am Reply with quoteBack to top

I've tried the new admin_ug_auth.php. I've tried the fixgroup.php, so in desperation I am posting.

I cannot get Administration > User Admin > Permissions to save ANYTHING user permission changes. There is no error, it simply does not retain anything you change after hitting SUBMIT.

Help???
Find all posts by scarecrowView user's profileSend private messageVisit poster's websiteMSN Messenger
scarecrow
Nuke Cadet
Nuke Cadet


Joined: Mar 17, 2004
Posts: 4


PostPosted: Wed Feb 02, 2005 5:28 am Reply with quoteBack to top

Incidently, this coincides with me updating the server to PHP 5.0.3, I wonder if that has anything to do with it?
Find all posts by scarecrowView user's profileSend private messageVisit poster's websiteMSN Messenger
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12383


PostPosted: Wed Feb 02, 2005 6:34 am Reply with quoteBack to top

Yes, phpBB itself has said that it may not support PHP 5. So likely that is the problem.

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
nicruisin
Captain
Captain


Joined: Oct 08, 2003
Posts: 449


PostPosted: Wed Feb 02, 2005 7:48 am Reply with quoteBack to top

Hi,

Had the same problem and this sorted it out for me...

BACKUP FIRST!

Find the following code...

Code:
for($i = 0; $i < count($forum_access); $i++)
         {
            $forum_id = $forum_access[$i]['forum_id'];

            if (
               ( isset($auth_access[$forum_id]['auth_mod']) && $change_mod_list[$forum_id]['auth_mod'] != $auth_access[$forum_id]['auth_mod'] ) ||
               ( !isset($auth_access[$forum_id]['auth_mod']) && !empty($change_mod_list[$forum_id]['auth_mod']) )
            )
            {
               $update_mod_status[$forum_id] = $change_mod_list[$forum_id]['auth_mod'];

               if ( !$update_mod_status[$forum_id] )




There are three occurances of $change_mod_list[$forum_id]['auth_mod'] -- ['auth_mod'] doesn't belong there.


The corrected code looks something like this:

]

Code:
for($i = 0; $i < count($forum_access); $i++)
         {
            $forum_id = $forum_access[$i]['forum_id'];

            if (
               ( isset($auth_access[$forum_id]['auth_mod']) && $change_mod_list[$forum_id] != $auth_access[$forum_id]['auth_mod'] ) ||
               ( !isset($auth_access[$forum_id]['auth_mod']) && !empty($change_mod_list[$forum_id]) )
            )
            {
               $update_mod_status[$forum_id] = $change_mod_list[$forum_id];

               if ( !$update_mod_status[$forum_id] )



Hope this works, let me know, see the full thread here...

http://www.codezwiz.com/ftopic-5946-days0-orderasc-10.html#code

_________________
Image
www.nicruisin.com/html
Find all posts by nicruisinView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.540 Seconds - 320 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::