View Single Post
Old November 24th, 2009, 10:37 PM   #2 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,937
The code below is totally valid. Next in the code it checks category mods. It returns true if the global mod is turned on

Code:
Content visible to verified customers only.
If you also look at the code where is_moderator is set that it is always contained inside an if clause that already has if user is admin or moderator access do this. It is not ran for normal users.

See look how it looks in the code

Code:
Content visible to verified customers only.
I dont see anywhere anyone whom you have not set as having mod access can have mod access.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote