PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

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

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
The Mouse Is Extension Of Arm


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

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

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


Joined: Nov 19, 2003
Posts: 186

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

Thanks chatserv!

You can have admin access to the site if you find it is necessary and it will help.
View user's profile Send private message
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

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

Still noluck - it wont let me assign special ranks either
View user's profile Send private message
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

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

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 ??
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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
The Mouse Is Extension Of Arm


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

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

I haven't been able to reproduce this so there's nothing i can edit in the files.
View user's profile Send private message Visit poster's website
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

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

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"
View user's profile Send private message
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

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

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.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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


Joined: Nov 19, 2003
Posts: 186

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

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.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

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

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.
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


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

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

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.
View user's profile Send private message Visit poster's website
TheShniz
Regular
Regular


Joined: Jan 27, 2004
Posts: 65

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

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
The Mouse Is Extension Of Arm


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

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

Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
TheShniz
Regular
Regular


Joined: Jan 27, 2004
Posts: 65

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

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
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


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

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

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.
View user's profile Send private message Visit poster's website
TheShniz
Regular
Regular


Joined: Jan 27, 2004
Posts: 65

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

PM Sent, just lemme know if U need anything.

> TheShniz
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


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

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

For anyone else having this problem first upload the following file:
Only registered users can see links on this board!
Get registered or login to the forums!


If you still can't change a user's perms then use this fix:
Only registered users can see links on this board!
Get registered or login to the forums!


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.
View user's profile Send private message Visit poster's website
TheShniz
Regular
Regular


Joined: Jan 27, 2004
Posts: 65

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

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
View user's profile Send private message
chatserv
The Mouse Is Extension Of Arm


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

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

The script i used assigns a group to each user which is required for their permissions to be changed.
View user's profile Send private message Visit poster's website
draxx
Worker
Worker


Joined: Nov 19, 2003
Posts: 186

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

Yes this was the problem with private forum permissions.

The script was required - and did the trick!

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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum