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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Restrict new topics but allow new replies?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

garrigus
New Member

53 Posts

Posted - 26 January 2008 :  09:19:58  Show Profile  Visit garrigus's Homepage
Is there a way to restrict forum users from creating new topics in a particular forum, but still allow them to reply to any current topics in that forum?

Thanks!
Scott

phy1729
Average Member

USA
589 Posts

Posted - 26 January 2008 :  13:24:17  Show Profile
In forum.asp change line about 691. Add the red and change the green to the forum number you want to restrict. This will still allow Admins and Moderators of that Forum to post new topics.

sub PostNewTopic() 
	if Cat_Status = 0 or Forum_Status = 0 or Forum_ID = 58 then 
		if (AdminAllowed = 1) then
			Response.Write	"          <a href=""post.asp?method=Topic&FORUM_ID=" & Forum_ID & """>" & getCurrentIcon(strIconFolderLocked,"Category Locked","align=""absmiddle""") & "</a> <a href=""post.asp?method=Topic&FORUM_ID=" & Forum_ID & """>New Topic</a><br />" & vbNewLine
		else
		Response.Write	"          " & getCurrentIcon(strIconFolderLocked,"Category Locked","align=""absmiddle""") & " Category Locked<br />" & vbNewLine
		end if
	else 

and post_info.asp about line 251

if (blnCStatus = 0) and (AdminAllowed = 0) then
				Go_Result "You have attempted to post a New Topic to a Locked Category", 0
			end if
			if ((blnFStatus = 0) or (Forum_ID = 58)) and (AdminAllowed = 0) then
				Go_Result "You have attempted to post a New Topic to a Locked Forum", 0
			end if
		case "EditTopic"

Edited by - phy1729 on 26 January 2008 13:24:53
Go to Top of Page

garrigus
New Member

53 Posts

Posted - 26 January 2008 :  20:36:12  Show Profile  Visit garrigus's Homepage
Excellent! Thanks for the info... I'll try it out.

Scott
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 1.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07