PDA

View Full Version : Moderator (can't access MOderator CP)



WizyWyg
Fri 13th Jul '01, 12:25am
I have a moderator in the moderator user group, but only assigned to moderate 1 forum. Since i dont want that moderator to have access to the admin cp but the moderator cp, how can i make it so that he/she has access?

Currently he/she cannot log into the moderator cp, saying that he/she is not a registered moderator.

I've checked his/her profile and he/she is in the Moderators user group. I've put access on the User Group so they have access to the CP but this only allows them to go to the Admin CP.

Any idea?

scotty
Mon 3rd Sep '01, 7:21pm
*bump* - same prob :(

scott

Mike Sullivan
Mon 3rd Sep '01, 9:51pm
What does this query return?

SELECT moderatorid FROM moderator WHERE userid='$userid' LIMIT 1;

Replace $userid with the user's userid.

scotty
Mon 3rd Sep '01, 9:59pm
Originally posted by Ed Sullivan
What does this query return?

SELECT moderatorid FROM moderator WHERE userid='$userid' LIMIT 1;

Replace $userid with the user's userid.
that query results in an error...

SELECT moderatorid FROM moderator WHERE userid=### LIMIT 0, 30

gives:
moderatorid
192 Edit Delete
187 Edit Delete

and now?

the user is moderator in two forums, that is correct...

Mike Sullivan
Mon 3rd Sep '01, 11:23pm
Hmm... perhaps there's a bug in our code then. :/

Your mod has tried to login on that form, right?
Does he/she have it set to save his/her username/password for when he/she returns to the site?

scotty
Tue 4th Sep '01, 2:22am
Hello Ed,


Originally posted by Ed Sullivan
Your mod has tried to login on that form, right?
yep - and get the message "You're not a valid moderator"


Does he/she have it set to save his/her username/password for when he/she returns to the site? [/B]
just have a look - no, she doesn't: both options (with cookies) are set to "no" - maybe this?

scotty

Mike Sullivan
Tue 4th Sep '01, 5:13pm
Try having her set the option to save her username/password and see if that helps.

scotty
Tue 4th Sep '01, 5:40pm
Originally posted by Ed Sullivan
Try having her set the option to save her username/password and see if that helps.
YES! That helped! :)

...but it should function without it too, or?

THX!
Scotty

Mike Sullivan
Tue 4th Sep '01, 9:58pm
Hmm... bug then. *moves thread*

John
Mon 22nd Oct '01, 5:18pm
*bump*