if MethodType = "Edit" or _
MethodType = "EditTopic" or _
MethodType = "Reply" or _
MethodType = "ReplyQuote" or _
MethodType = "TopicQuote" then
'## check if topic exists in TOPICS table
set rsTCheck = my_Conn.Execute ("SELECT TOPIC_ID FROM " & strActivePrefix & "TOPICS WHERE TOPIC_ID = " & Topic_ID)
if rsTCheck.EOF or rsTCheck.BOF then
set rsTCheck = nothing
Go_Result "Sorry, that Topic no longer exists in the Database", 0
end if
set rsTCheck = nothing
end if
'set rs = Server.CreateObject("ADODB.RecordSet")'## Minimum character mod
'## Change this to number of character you want
intMinPostChar = 10
'##
select case MethodType
case "Topic", "EditTopic", "TopicQuote", "Reply", "Edit", "ReplyQuote"
postTxt = trim(Request.Form("Message"))
if len(postTxt) < intMinPostChar then Go_Result "Your post must contain at least " & intMinPostChar & " characters.", 0
end selectOriginally posted by Jezmeister
I think the mod you linked to lets them choose whether they see avatars or not, not whether they can have them.
wouldn't be too hard though, just add an extra field in the avatar table and members table, eg M_AVATAR_STATUS and M_SIG_STATUS or something, in the profile edit page allow admins to set the value of it to 1 or 0 (i suppose you could use on or off but my brain works in binary, and its more simple lol), and then add code around the avatar/sig edit code - let it display if the value is 1 (or 0 and member is admin) and not display if it's 0, you'll also have to add some hidden fields in that case so not as to confuse the database update, just add the fields again as hidden with value "" or whatever you want to display when they can't edit it.
Originally posted by Jezmeister
i'd do it for free but not right now, got too much work, a weekend or something. this place is far too communal to take money lol
Originally posted by Jezmeister
i might have some time this weekend if you still need someone to do this.