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)
 a mod idea for my forum
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Raichelle
Junior Member

370 Posts

Posted - 25 June 2001 :  18:48:02  Show Profile
Ok can someone make a mod for me i don't think someone did it before but on my forum i want all the members to at least reply to 2 topics before they start a new topic

any help?



RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 26 June 2001 :  00:57:36  Show Profile
Ok, try this.

Code changes will be in post_info.asp

find this code:

if Request.Form("Method_Type") = "Topic" then
'## Forum_SQL
strSql = "SELECT MEMBER_ID, M_LEVEL, M_EMAIL, "&Strdbntsqlname


change the last line so it looks like this:

	strSql = "SELECT MEMBER_ID, M_LEVEL, M_EMAIL, M_POSTS, " & strDBNTSQLName



Then just before this code (which is 10 - 20 lines down from the above code):

		txtMessage = ChkString(Request.Form("Message"),"message")
txtSubject = ChkString(Request.Form("Subject"),"SQLString")


add this code:

		if rs("M_POSTS") < 3 then
Go_Result "You must post at least 2 Replies before you can post a Topic.", 0
end if
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.23 seconds. Powered By: Snitz Forums 2000 Version 3.4.07