Author |
Message |
draxx
Involved


Joined: Nov 19, 2003
Posts: 282
|
Posted:
Wed May 05, 2004 9:27 pm |
|
I am using a fresh install of 7.2 and the 7.2 patch from chatserv - ver 2.3
My user ranks and moderator permissions will not assign.
I set the speical rank for a user ... but it does not stick.
I try to make a user a moderator and it says "permissions updated" but the user doesnt get the permission no matter how many times I do it.
Any suggestions? |
|
|
|
 |
chatserv
Member Emeritus

Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico
|
Posted:
Wed May 05, 2004 10:28 pm |
|
I will check on the files and post back. |
|
|
|
 |
draxx

|
Posted:
Wed May 05, 2004 11:48 pm |
|
Thanks chatserv!
You can have admin access to the site if you find it is necessary and it will help. |
|
|
|
 |
draxx

|
Posted:
Sun May 16, 2004 10:05 pm |
|
Still noluck - it wont let me assign special ranks either |
|
|
|
 |
draxx

|
Posted:
Tue May 18, 2004 9:30 pm |
|
Does anyone have any idea why it does this? Am I the only one who can't assign special ranks and moderators with 7.2 ?? |
|
|
|
 |
sixonetonoffun
Spouse Contemplates Divorce

Joined: Jan 02, 2003
Posts: 2496
|
Posted:
Tue May 18, 2004 9:34 pm |
|
How are you going about it?
I'd try
create a group
set access for the group
add users to the group
check users level of access
adjust accordingly
I don't think your the only one who has trouble with it.
I think everyone has trouble with it at times its an awkward process. |
|
|
|
 |
chatserv

|
Posted:
Tue May 18, 2004 9:41 pm |
|
I haven't been able to reproduce this so there's nothing i can edit in the files. |
|
|
|
 |
draxx

|
Posted:
Tue May 18, 2004 9:44 pm |
|
This is what I do to assign a speical rank:
Edit user (from forum admin)
Assign Special Rank
Click on save. It says "Users already exists" and has the name of the 1st user in the name field.
When I try to make someone a moderator I
1 Edit User Permissions
2 Change "not moderator" to moderator.
3 Click on submit.
It says "User permissions updated". But when I reload the user the permissions are the same... it was as if had never done this.. it still says "not moderator" |
|
|
|
 |
draxx

|
Posted:
Tue May 18, 2004 9:45 pm |
|
chatserv wrote: | I haven't been able to reproduce this so there's nothing i can edit in the files. |
Your welcome to come on over chatserv.
I will PM you site and admin info. |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue May 18, 2004 9:47 pm |
|
I guess I read the problem wrong and that means its time for this one to hit the rack!
Are you using a default theme to verify its not a theme issue?
Grasping here! G'night... |
|
|
|
 |
draxx

|
Posted:
Tue May 18, 2004 10:04 pm |
|
I am using default forum theme (subsilver?) and .. 3d-fantasy... a default nuke theme.
This is a fresh install of 7.2 with the 2.4 patch installed. I think I installed the site-info block and the resend email block - and thats about it.
I used to get the sql error that has been mentioned before the patch - and that did go away with the install of the patch.. but the permissions were still disfunctional. |
|
|
|
 |
sixonetonoffun

|
Posted:
Tue May 18, 2004 10:09 pm |
|
You could (If you have an extra one available) try creating a new database clean just to make sure there wasn't a missing or corrupt table. save your config and point a new one to the new database.
Or just running check tables from phpmyadmin would tell if there was a corrupt one. |
|
|
|
 |
chatserv

|
Posted:
Tue May 18, 2004 10:17 pm |
|
Everything's worth trying to try this, open user_cp_register.php and find:
Code:SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = '$viewemail', user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = '$attachsig', user_allowsmile = '$allowsmilies', user_allowhtml = '$allowhtml', user_allowbbcode = '$allowbbcode', user_allow_viewonline = '$allowviewonline', user_notify = '$notifyreply', user_notify_pm = '$notifypm', user_popup_pm = '$popup_pm', user_timezone = '$user_timezone', user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = '$user_style', user_active = '$user_active', user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
|
Replace with:
Code:SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_sig = '" . str_replace("\'", "''", $signature) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
|
Then try changing a user's perms, if nothing changes undo the change. |
|
|
|
 |
TheShniz
Regular


Joined: Jan 27, 2004
Posts: 65
|
Posted:
Thu May 20, 2004 8:56 am |
|
I've gotta brand spanking new install of phpNuke v7.3 w/ nothing on it but PHP-Nuke Patched v2.4 & Raven's HackAlert. I'm Xperiencing the Xact same prob's here. I can't assign Moderator's in the Forum. I 2 am also going through User Permissions & simply changing a given forum from Not Moderator 2 Is Moderator. It says that it saves the changes & says 2 click here 2 return. Unfortunately, it's not actually Saving the changes when U go back in2 the User Permissions & check.
I did try replacing the code ChatServ (/includes/usercp_register.php) but w/ no effect If U like, I can also give U my WebSite's info. I dunno
Help! Thanx
> TheShniz |
|
|
|
 |
chatserv

|
Posted:
Thu May 20, 2004 9:43 am |
|
|
|
 |
TheShniz

|
Posted:
Thu May 20, 2004 10:03 am |
|
Nope, no change @ all
I've noticed that it's setting of any permissions of a given user. ie.) I'm also unable 2 Allow/Dissallow Access 2 Private/Hidden Forums either. Although I'm not very affected by it since I grant that on a Group Basis. Moderators unfortunately is on an individual basis, 4 me anyways
P.S.
I don't suppose it'd B something stupid like the changing of table names from upper 2 lower case is it? Like I said, it's just not saving any changes.
Help!
> TheShniz |
|
|
|
 |
chatserv

|
Posted:
Thu May 20, 2004 10:22 am |
|
No idea, with the file i posted above i can change user status to moderator, admin or normal user without problems, pm me your site's url and if possible create an admin account with access to the forums and a username you wish to make moderator so that i can test it, i might need ftp access as well. |
|
|
|
 |
TheShniz

|
Posted:
Thu May 20, 2004 12:29 pm |
|
PM Sent, just lemme know if U need anything.
> TheShniz |
|
|
|
 |
chatserv

|
Posted:
Thu May 20, 2004 12:59 pm |
|
|
|
 |
TheShniz

|
Posted:
Thu May 20, 2004 1:38 pm |
|
I understand what U did, but (just out of curiosity) what was the cause of the problem? Just hadn't C'n it B4. Thanx again 4 your help!
Thanx!
> TheShniz |
|
|
|
 |
chatserv

|
Posted:
Thu May 20, 2004 2:30 pm |
|
The script i used assigns a group to each user which is required for their permissions to be changed. |
|
|
|
 |
draxx

|
Posted:
Wed Jun 23, 2004 1:46 am |
|
Yes this was the problem with private forum permissions.
The script was required - and did the trick!
Thanks chatserv! |
|
|
|
 |
|