PDA

View Full Version : Editaccess and moderators


TheFlib
08-02-2001, 03:53 PM
Alright, so I've copied the editacccess code to user.php in the mod section. It works fine, except for that any moderator can edit the access to every forum. What vbulletin does there is grab the name of every forum and category and lists them with the radio buttons. What I'd like to do is sort of filter them, so if the moderator that's logged in isn't the moderator of that particular forum, it isn't displayed. This way moderators of each forum can edit the access to their forum, and I don't have to bother the admin anymore. (He told me to write the script, because he's P.O.'d at me for asking him every time, and he's a PHP idiot. Then again, I'm not much better)
I've tried with the ismoderator function, but I'm not quite sure how it works. This is probably a fairly easy question to answer, so thanks in advance for your help!

-Flib