Can't Set Admins or Moderators in Forums

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Can't Set Admins or Moderators in Forums
Purus
CZ Super Newbie
usa.gif newyork.gif
Occupation: Student
Gender: Male
Fav. Sports Team: US Junior Orienteering Team
Website:
Status: Offline
Joined: Dec 28, 2003
0.01 posts per day
Posts: 62
Points: 2,591
   
There is something wrong with the user Permissions option in my Forum Admin panel. I can give user groups moderator rights, but it doesn't work for individuals. Also, I can't give users Admin rights.

When I go to User Permissions and select a user, everything works fine, but when I alter the user's permissions and hit submit, nothing changes. It doesn't give any errors or anything. It actually says that it has changed the settings just like normal, but it doesn't actually do anything. I can't figure out what is wrong. It has been this way since the beginning, I just never got around to trying to fix it. Anybody have any ideas?




_________________
[ Register or login to view links on this board.] | [ Register or login to view links on this board.]
Back to top Reply with quote
#2   
osmosis
CZ Addict
ireland.gif
Occupation: Student
Age: 38
Gender: Male
Status: Offline
Joined: May 29, 2003
0.06 posts per day
Posts: 495
Points: 12,092
   
This happened me aswell at the start, what u need to do is cleanyour cookies and our temporary internet files, then reboot your computer. Your cookies settings might also be too high or too low (i cant remember what i was told it was a while back he he, but first try to clear your cookies then try to delte your temporary internet files, and reboot if that doesnt work, change your cookie settings (this is what i did)



Back to top Reply with quote
#3   
Purus
CZ Super Newbie
usa.gif newyork.gif
Occupation: Student
Gender: Male
Fav. Sports Team: US Junior Orienteering Team
Website:
Status: Offline
Joined: Dec 28, 2003
0.01 posts per day
Posts: 62
Points: 2,591
   
I have been cleaning my cookies and deleting offline content constantly as that is the only way I can seem to log out. However, this doesn't seem to help this permissions settings issue. I will try to play around with my cookie settings and see if that helps.




_________________
[ Register or login to view links on this board.] | [ Register or login to view links on this board.]
Back to top Reply with quote
#4   
osmosis
CZ Addict
ireland.gif
Occupation: Student
Age: 38
Gender: Male
Status: Offline
Joined: May 29, 2003
0.06 posts per day
Posts: 495
Points: 12,092
   
post back if that doesnt work some1 will be able to help u



Back to top Reply with quote
#5   
Purus
CZ Super Newbie
usa.gif newyork.gif
Occupation: Student
Gender: Male
Fav. Sports Team: US Junior Orienteering Team
Website:
Status: Offline
Joined: Dec 28, 2003
0.01 posts per day
Posts: 62
Points: 2,591
   
Hmm... I set my security settings to low, and it didn't have an effect on anything when I selected Admin from the User dropdown menu on the user permissions page. However, when I tried to set individual moderator rights, I got the following error:

Couldn't update private forum permissions

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 1, 1, 1, 1, 1, 1, 1, 0)' at line 2

INSERT INTO nuke_bbauth_access (forum_id, group_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_vote, auth_pollcreate, auth_mod) VALUES (6, , 1, 1, 1, 1, 1, 1, 1, 1, 0)

Line : 425
File : /home/thewater/public_html/modules/Forums/admin/admin_ug_auth.php


Lines 418 through 426 in that document state:

$sql = "UPDATE " . AUTH_ACCESS_TABLE . "
                                                        SET $sql_values
                                                        WHERE group_id = $group_id
                                                                AND forum_id = $forum_id";
                                        }
                                        if( !($result = $db->sql_query($sql)) )
                                        {
                                                message_die(GENERAL_ERROR, "Couldn't update private forum permissions", "", __LINE__, __FILE__, $sql);
                                        }


Anybody know what's wrong?



_________________
[ Register or login to view links on this board.] | [ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Can't Set Admins or Moderators in Forums
hubson
CZ Newbie
hubson has been a member for over 20 year's 20 Year Member
uk.gif
Age: 49
Gender: Male
Status: Offline
Joined: May 04, 2004
0.00 posts per day
Posts: 14
Points: 50
AIM Address Yahoo Messenger MSN Messenger 
I have a fix for this problem all you need to do is put it in your modules/Forums directory and run it, [ Register or login to view links on this board. ]

I am attaching the file for you



Attached Files
FixIt.zip (1.19 KB, Downloaded: 5235 Time(s))


Back to top Reply with quote
#7   re: Can't Set Admins or Moderators in Forums
DaveTomneyUK
CZ Active Member
uk.gif
Occupation: PC Technician
Age: 50
Gender: Male
Website:
Status: Offline
Joined: Oct 23, 2003
0.03 posts per day
Posts: 201
Points: 23,202
AIM Address Yahoo Messenger  
If the patch above does not work you could also try ChatServ's site as he as patches for PHP-Nuke [ Register or login to view links on this board.]



Back to top Reply with quote
#8   re: Can't Set Admins or Moderators in Forums
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
This is a common error. Try searching or looking through the Knowledge Base. icon_mrgreen.gif
[ Register or login to view links on this board. ]




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum