Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Minimum number of posts for signatures

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
bobby131313 Posted - 29 December 2008 : 11:48:56
I've searched and can't find this addressed anywhere.

I'm starting to get a lot of signature spam. Members are signing up, putting thier link in their signature and making BS posts just so it shows. It's really starting to tick me off.

I would like to not have signatures available till a user reaches say, 100 posts. Then these numbnuts would probably just go away.

Has this been done before and I just can't find it?<
4   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 29 December 2008 : 23:02:26
You're welcome.<
bobby131313 Posted - 29 December 2008 : 22:46:11
Awesome! Seems to be working great. I've been playing with it with no luck so this is greatly appreciated!

Thanks!<
Carefree Posted - 29 December 2008 : 22:09:18
This should do what you want:

In "inc_profile.asp", look for the following (appx lines 512-515):


			Response.Write	"                      </select></font></td>" & vbNewLine & _
					"                    </tr>" & vbNewLine
		end if
	end if


Change them to say:


			Response.Write	"                      </select></font></td>" & vbNewLine & _
				"                    </tr>" & vbNewLine
		end if
	'	######## Signature On Post Count ########
	else
		Response.Write "Signature disabled until you have posted at least "& intPosts & "."
	end if
	'	######## Signature On Post Count ########
	end if



Next, look for the following (appx line 457):


	if strSignatures = "1" then


After it, insert the following:


		'	######## Signature On Post Count ########
		intTotalPosts = 0
		strSql="SELECT M_POSTS FROM  " & strMemberTablePrefix & "MEMBERS WHERE MEMBER_ID=" & MEMBERID
		Set rsPosts = Server.CreateObject("ADODB.Recordset")
		rsPosts.open strSql, my_Conn
		if rsPosts.EOF or rsPosts.BOF then
			'do nothing
		else
			intTotalPosts = rsPosts("M_POSTS")
		end if
		rsPosts.close
		set rsPosts = Nothing
		if intTotalPosts > intPosts then
		'	######## Signature On Post Count ########



Finally, look for the following (appx line 38):


Sub DisplayProfileForm


Above it, insert the following:


'	######## Signature On Post Count ########
intPosts=100
'	######## Signature On Post Count ########


Simply change the 100 to whatever quantity of posts are going to be required.<
SiSL Posted - 29 December 2008 : 13:36:21
I don't think it has been done, however, easy to do with a few steps :)<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000 Version 3.4.07