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)
 Preventing images in signature
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

stwilson
Junior Member

USA
385 Posts

Posted - 29 September 2003 :  00:44:19  Show Profile  Visit stwilson's Homepage
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  Show Profile
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.
Go to Top of Page

stwilson
Junior Member

USA
385 Posts

Posted - 29 September 2003 :  12:45:57  Show Profile  Visit stwilson's Homepage
I don't want to disable images all together, just prevent members from including them in their signatures.

Shannon

Shannon
RidingArizona.com
Go to Top of Page

stwilson
Junior Member

USA
385 Posts

Posted - 29 September 2003 :  12:47:07  Show Profile  Visit stwilson's Homepage
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
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 01 October 2003 :  02:37:24  Show Profile  Visit MarcelG's Homepage
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
Go to Top of Page

stwilson
Junior Member

USA
385 Posts

Posted - 03 October 2003 :  02:29:41  Show Profile  Visit stwilson's Homepage
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
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 08 October 2003 :  10:52:56  Show Profile  Visit MarcelG's Homepage
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
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.2 seconds. Powered By: Snitz Forums 2000 Version 3.4.07