Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Moderator's Right
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pokemon
Junior Member

151 Posts

Posted - 25 August 2004 :  10:56:50  Show Profile
Hello all,

How do I limit moderator permission to their forum. I notice there is an option for moderator to delete their moderate forum. How do I assign permission for them only to edit/delete topic, but not forum, and how do I turn off sticky post only use for admin. Thanks for your help

Edited by - ruirib on 21 November 2004 11:39:05

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 August 2004 :  11:35:09  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
quote:
How do I limit moderator permission to their forum. I notice there is an option for moderator to delete their moderate forum. How do I assign permission for them only to edit/delete topic, but not forum
Moderators cannot delete forums, they only can close those forums they're moderators of.
quote:
how do I turn off sticky post only use for admin
Find the following code in pop_lock.asp (approx. lines 164-168):
	case "StickyTopic"
		strEncodedPassword = sha256("" & strPassword)
		mLev = cLng(chkUser(strDBNTFUserName, strEncodedPassword,-1))
		if mLev > 0 then  '## is Member
			if (chkForumModerator(Forum_ID, strDBNTFUserName) = "1") or (mLev = 4) then

and remove the red code. This will allow admins only to make topics sticky.

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

pokemon
Junior Member

151 Posts

Posted - 25 August 2004 :  17:04:47  Show Profile
quote:
Moderators cannot delete forums, they only can close those forums they're moderators of.



What do you mean they only can close those forums? are they have permission to delete those forums they're moderators of. If yes, do you I prevent that...I don't want our moderator have access to close/delete forums they're moderators of... Thanks
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 25 August 2004 :  17:20:18  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Moderators can NOT delete a forum.
However, they can close a forum if they're a moderator of that forum.

To prevent moderators from closing forums, find the following code in pop_lock.asp (approx. lines 95-100):
	case "CloseForum"

		strEncodedPassword = sha256("" & strPassword)
		mLev = cLng(chkUser(strDBNTFUserName, strEncodedPassword,-1))
		if mLev > 0 then  '## is Member
			if (chkForumModerator(Forum_ID, strDBNTFUserName) = "1") or (mLev = 4) then

and remove the red code

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 21 November 2004 :  10:08:17  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
I do not want moderators to have the ability to edit or lock forums.

I have managed to prevent moderators from locking forums, and to hide the edit and lock icons from moderators on default.asp, but i can't seem to be able to hide the edit forum icon on forum.asp. This may have something to do with the AdminLevel MOD I have installed. The code from forum.asp looks like this:

		if (Cat_Status <> 0 and Forum_Status <> 0) then
		  if (mLev = 4) or (AdminAllowed = 1) then
			Response.Write	"  ***display edit icon***
		  end if	
		end if


What is wrong with that if block? It just keeps showing the edit forum icon for moderators, while I don't want it to I have checked, and my Moderator does not have AdminAllowed set to 1

All help appreciated

eXtremeGossip

Edited by - Jorrit787 on 21 November 2004 10:43:00
Go to Top of Page

Tam
New Member

Sweden
56 Posts

Posted - 21 November 2004 :  11:57:35  Show Profile  Visit Tam's Homepage
change the OR in the second line to AND:

if (mLev = 4) AND (AdminAllowed = 1) then

That should work..I think :P

Edited to add:

I don't recognize that as a part of the Admin-mod, try changing the above line to this instead, that should display it only for the Admins with A_MLEVEL of 1:

if (mLev = 4) AND (aAllowed = 1) then

Edited by - Tam on 21 November 2004 12:03:57
Go to Top of Page

Jorrit787
Average Member

Netherlands
681 Posts

Posted - 21 November 2004 :  16:31:03  Show Profile  Visit Jorrit787's Homepage  Send Jorrit787 an AOL message  Send Jorrit787 a Yahoo! Message
Thanks, but I did it differently - I split the conditions into two If blocks, like this:

If (mLev = 4) or (AdminAllowed = 1) Then
 If (Cat_Status <> 0 and Forum_Status <> 0) Then
  etc

But thanks for the suggestion!

eXtremeGossip
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.34 seconds. Powered By: Snitz Forums 2000 Version 3.4.07