This should do what you want:
In "inc_profile.asp", look for the following (appx lines 512-515):
Code:
Response.Write " </select></font></td>" & vbNewLine & _
" </tr>" & vbNewLine
end if
end if
Change them to say:
Code:
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):
Code:
if strSignatures = "1" then
After it, insert the following:
Code:
' ######## 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):
Code:
Above it, insert the following:
Code:
' ######## Signature On Post Count ########
intPosts=100
' ######## Signature On Post Count ########
Simply change the 100 to whatever quantity of posts are going to be required.<