PDA

View Full Version : Moderating new replies-Including Admin and Moderators


Sweet Cheeks
07-30-2002, 03:46 AM
Hi guys, I have searched and cant find anything in the hacks area :( but I hold a photo contest in my forum and the users reply once per hour to vote, well we hide the votes by moderating new posts in that forum. The only problem is when an Admin or Moderator replies to vote, theirs shows up :( Is there any way to make it apply to all members, not just reg members?

Thanks in advance :rambo: :bunny:

JulianD
07-30-2002, 05:58 AM
I think you should comment the following in newreply.php

Line 104


// auto bypass queueing for admins/mods
if (ismoderator($foruminfo[forumid])) {
$visible=1;
}


Change to:


// auto bypass queueing for admins/mods
// if (ismoderator($foruminfo[forumid])) {
// $visible=1;
// }



If you want this only to one forum, then something like this will do the job:

// auto bypass queueing for admins/mods
if (ismoderator($foruminfo[forumid]) && $forumid!=XX) {
$visible=1;
}


And change XX to the forumid where the contest will took place.

Hope this helps.

Sweet Cheeks
07-30-2002, 05:12 PM
Yes! :) Thank you so much, it worked :) I really appreciate your help :)

JulianD
07-30-2002, 11:47 PM
No problem Julie :) Glad I could help