Print Page | Close Window

to restrict moderator permissions

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=19746
Printed Date: 28 March 2026 at 11:06pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: to restrict moderator permissions
Posted By: ryu701
Subject: to restrict moderator permissions
Date Posted: 07 May 2006 at 12:06am
I have seen requests for a mod to change moderator permissions such as editing/deleting messages, topics and user profiles.

Here you go.

*** BACKUP YOUR ORIGINAL FILES BEFORE ANY MODIFICATION ***

1. to disallow moderators from editing/deleting posts

open forum/forum_posts.asp
change (blnAdmin OR blnModerator) to (blnAdmin)
between lines 948 and 975.
look at the comments and change whatever permission you want

2. to disallow moderators from changing user preferences

open forum/member_profile.asp
goto line 558
delete this "OR blnModerator"

3. to disallow moderators from deleting entire topics

goto forum/pop_up_topic_admin.asp
goto line 291 and replace it with this line
<%if blnAdmin Then Response.Write(" <input type=""submit"" name=""Submit"" value=""Delete Topic"" /> ")%>

to check its location, the above line should be below this line:
<input type="hidden" name="TID" value="<% = lngTopicID %>" />


4. to disallow mods from blocking IP's
open forum/pop_up_ip_blocking.asp
goto line 78
delete this AND blnModerator = false


save and upload these files.

thats all. Smile

don't forget to thank boRg for writing such useful comments.



Replies:
Posted By: AnaMaria
Date Posted: 08 May 2006 at 9:26am
What about IP blocking?


Posted By: ryu701
Date Posted: 08 May 2006 at 4:36pm
IP blocking?


Posted By: AnaMaria
Date Posted: 08 May 2006 at 5:16pm
Yes restrict moderators permission for ip blocking


Posted By: ryu701
Date Posted: 08 May 2006 at 5:30pm
Mm.. Can you tell me how can they block IP's?


Posted By: AnaMaria
Date Posted: 08 May 2006 at 5:55pm
Whan they click on ip adress, the pop up IP blocking apire.
One of my mods did that, and I spend all day thinking why one other mod have no access to the forum.


Posted By: ryu701
Date Posted: 08 May 2006 at 9:46pm
A mod is blocking another mod.. It's ridiculous. You shoud dismiss that mod I think. :)

You have to modify pop_up_IP_blocking.asp for it.

I think mods should be able to block IP's.. But I'll look at it for you.



Posted By: ryu701
Date Posted: 09 May 2006 at 1:21am
OK. I added IP blocking to my first post.


Posted By: AnaMaria
Date Posted: 09 May 2006 at 7:20am

Thanks :)



Posted By: AnaMaria
Date Posted: 18 May 2006 at 3:44pm
Here is a Mod for preventing moderators to see the IP adress of user:
 
in forum/forum_posts.asp in line 959 in stand of
 
'If the user is the admin or moderatir then display the authors IP
                If (blnAdmin OR blnModerator) AND strAuthorIP <> "" Then
 
 
paste this:
'If the user is the admin then display the authors IP
                If blnAdmin AND strAuthorIP <> "" Then



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net