Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.2
Author Message
draxx
Involved
Involved



Joined: Nov 19, 2003
Posts: 282

PostPosted: Wed May 05, 2004 9:27 pm Reply with quote

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?
 
View user's profile Send private message
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Wed May 05, 2004 10:28 pm Reply with quote

I will check on the files and post back.
 
View user's profile Send private message Visit poster's website
draxx







PostPosted: Wed May 05, 2004 11:48 pm Reply with quote

Thanks chatserv!

You can have admin access to the site if you find it is necessary and it will help.
 
draxx







PostPosted: Sun May 16, 2004 10:05 pm Reply with quote

Still noluck - it wont let me assign special ranks either
 
draxx







PostPosted: Tue May 18, 2004 9:30 pm Reply with quote

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

PostPosted: Tue May 18, 2004 9:34 pm Reply with quote

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.
 
View user's profile Send private message
chatserv







PostPosted: Tue May 18, 2004 9:41 pm Reply with quote

I haven't been able to reproduce this so there's nothing i can edit in the files.
 
draxx







PostPosted: Tue May 18, 2004 9:44 pm Reply with quote

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







PostPosted: Tue May 18, 2004 9:45 pm Reply with quote

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







PostPosted: Tue May 18, 2004 9:47 pm Reply with quote

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







PostPosted: Tue May 18, 2004 10:04 pm Reply with quote

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







PostPosted: Tue May 18, 2004 10:09 pm Reply with quote

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







PostPosted: Tue May 18, 2004 10:17 pm Reply with quote

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
Regular



Joined: Jan 27, 2004
Posts: 65

PostPosted: Thu May 20, 2004 8:56 am Reply with quote

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 Sad If U like, I can also give U my WebSite's info. I dunno Shocked

Help! Thanx Embarassed
> TheShniz
 
View user's profile Send private message
chatserv







PostPosted: Thu May 20, 2004 9:43 am Reply with quote

http://nukeresources.com/files/admin_ug_auth.zip
 
TheShniz







PostPosted: Thu May 20, 2004 10:03 am Reply with quote

Nope, no change @ all Crying or Very sad

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 Sad

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







PostPosted: Thu May 20, 2004 10:22 am Reply with quote

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







PostPosted: Thu May 20, 2004 12:29 pm Reply with quote

PM Sent, just lemme know if U need anything.

> TheShniz
 
chatserv







PostPosted: Thu May 20, 2004 12:59 pm Reply with quote

For anyone else having this problem first upload the following file:
http://nukeresources.com/files/admin_ug_auth.zip

If you still can't change a user's perms then use this fix:
http://www.nukeresources.com/downloadview-details-747-Private_forum_permissions_fix_2.html

Follow the instructions detailed in the download's description, once done delete it from the server but keep the new admin_ug_auth.php file.
 
TheShniz







PostPosted: Thu May 20, 2004 1:38 pm Reply with quote

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







PostPosted: Thu May 20, 2004 2:30 pm Reply with quote

The script i used assigns a group to each user which is required for their permissions to be changed.
 
draxx







PostPosted: Wed Jun 23, 2004 1:46 am Reply with quote

Yes this was the problem with private forum permissions.

The script was required - and did the trick!

Thanks chatserv!
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.2

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©