Author |
Topic |
|
stwilson
Junior Member
USA
385 Posts |
Posted - 29 September 2003 : 00:44:19
|
Can anyone help me mode the registration and edit profile pages to prevent members from entering URLs that contain .jpg or .gif? I am on 3.4.03 on SQL.
Shannon |
Shannon RidingArizona.com |
|
The Impact
Junior Member
Australia
398 Posts |
Posted - 29 September 2003 : 00:55:50
|
You can disable images all together.
Log into your forum as administrator.
Administrator Options - Feature Configuration - Images in Posts - Off
Try searching Snitz for a MOD which prevents images in signatures. |
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 29 September 2003 : 12:45:57
|
I don't want to disable images all together, just prevent members from including them in their signatures.
Shannon |
Shannon RidingArizona.com |
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 29 September 2003 : 12:47:07
|
Almost forgot. I searched and searched and searched BEFORE I posted. I just couldn't find anything. Thanks for your reply.
Shannon |
Shannon RidingArizona.com |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 01 October 2003 : 02:37:24
|
stwilson ; check inc_func_common.asp and inc_func_posting.asp.. the code is in there. (search for sig) I think you will be able to do it yourself, however if you're not sure, feel free to ask me! |
portfolio - linkshrinker - oxle - twitter |
|
|
stwilson
Junior Member
USA
385 Posts |
Posted - 03 October 2003 : 02:29:41
|
marcelgoertz,
Thanks for your reply. Here is what I found:
if fField_Type <> "signature" and fField_Type <> "title" then fString = doCode(fString, "quote: ", "
", "<blockquote id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">quote:<hr height=""1"" noshade id=""quote"">", "<hr height=""1"" noshade id=""quote""></blockquote id=""quote""></font id=""quote"">") end if if strAllowForumCode = "1" and fField_Type <> "signature" then fString = doCode(fString, "", "", "<b>", "</b>") fString = doCode(fString, "", "", "<s>", "</s>") fString = doCode(fString, "", "", "<s>", "</s>") fString = doCode(fString, "", "", "<u>", "</u>") fString = doCode(fString, "", "", "<i>", "</i>")
Can you point me in the right direction? |
Shannon RidingArizona.com |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 08 October 2003 : 10:52:56
|
quote: Originally posted by stwilson
marcelgoertz,
Thanks for your reply. Here is what I found:
if fField_Type <> "signature" and fField_Type <> "title" then fString = doCode(fString, "quote: ", "
", "<blockquote id=""quote""><font size=""" & strFooterFontSize & """ face=""" & strDefaultFontFace & """ id=""quote"">quote:<hr height=""1"" noshade id=""quote"">", "<hr height=""1"" noshade id=""quote""></blockquote id=""quote""></font id=""quote"">") end if if strAllowForumCode = "1" and fField_Type <> "signature" then fString = doCode(fString, "", "", "<b>", "</b>") fString = doCode(fString, "", "", "<s>", "</s>") fString = doCode(fString, "", "", "<s>", "</s>") fString = doCode(fString, "", "", "<u>", "</u>") fString = doCode(fString, "", "", "<i>", "</i>")
Can you point me in the right direction?
In this file there is also code which takes care of the IMG tags. As you can see the if fField_Type <> "signature" code can be used to perform an action when the field is NOT a signature. If you were to put that code around the code responsible for handling the IMG tag, (and closing it with an END IF) you would get the required result. Just try it, you'll see! (BTW, sorry I forgot this topic....just stumbled upon it...) |
portfolio - linkshrinker - oxle - twitter |
|
|
|
Topic |
|
|
|