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/Code)
 Signature Image Manager
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 5

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 25 November 2003 :  08:48:57  Show Profile
A small bug i've found, if the member has multiple images in their signature, only one is displayed and the text replaces one image rather than all of them. Maybe an extra column for the number of images in the signature??

The UK MkIVs Forum
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 25 November 2003 :  09:09:52  Show Profile  Visit CarKnee's Homepage
I actually knew about that one, but never cared too much about it since I havent seen any of my members have more than one. I will see what I can do about that today.

Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 09 December 2003 :  14:12:41  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
I installed this on SQL server 2000 and get the following error when accessing admin_SigImage.asp

http://www.weeweeslap.com/sigmanager.jpg

got any ideas on what I did wrong, or maybe a fix?
Thanks in advance
WWS

coaster crazy
Go to Top of Page

Gargoyle
Junior Member

USA
280 Posts

Posted - 09 December 2003 :  16:04:21  Show Profile  Visit Gargoyle's Homepage
Works SWEET!!! Thanks!!!

Here is a link to my Snitz powered Drag Racing site.
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 10 December 2003 :  14:45:33  Show Profile  Visit CarKnee's Homepage
quote:
Originally posted by weeweeslap

I installed this on SQL server 2000 and get the following error when accessing admin_SigImage.asp

http://www.weeweeslap.com/sigmanager.jpg

got any ideas on what I did wrong, or maybe a fix?
Thanks in advance
WWS



You need to be able to run Regular Expressions

Talk to your web host about this one and see if they can install it for you.

Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 12 December 2003 :  14:18:25  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
uhmmm can you explain more? My host and server admin both are at ?????'s at the term "regular expressions".

coaster crazy
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 12 December 2003 :  15:44:05  Show Profile
CarKnee, did you do anything more on the multiple image sig thingy?

The UK MkIVs Forum
Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 12 December 2003 :  19:44:33  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
I would like our moderators to have access to this as well as myself, the admin, can some suggest a modifcation to the code to allow this?

Just found this code in Carefree's IP search mod, it should do the job:

Replace lines 44 - 47

if Session(strCookieURL & "Approval") <> "15916941253" then
	scriptname = split(request.servervariables("SCRIPT_NAME"),"/")
	Response.Redirect "admin_login.asp?target=" & scriptname(ubound(scriptname))
end if


with


if mLev < 3 then
	Err_Msg = "<li>Access is restricted to Moderators and Administrators</li>"

	Response.Write	"      <table width=""100%"" border=""0"">" & vbNewLine & _
			"        <tr>" & vbNewLine & _
			"          <td><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine & _
			"          " & getCurrentIcon(strIconFolderOpen,"","") & " <a href=""default.asp"">All Forums</a><br />" & vbNewLine & _
			"          " & getCurrentIcon(strIconBar,"","") & getCurrentIcon(strIconFolderOpenTopic,"","") & " Member Information</font></td>" & vbNewLine & _
			"        </tr>" & vbNewLine & _
			"      </table>" & vbNewLine & _
			"      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """ color=""" & strHiLiteFontColor & """>Access restricted to Moderators and Administrators!</font></p>" & vbNewLine & _
			"      <p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""JavaScript:history.go(-1)"">Back to Forum</a></font></p>" & vbNewLine & _
			"      <br />" & vbNewLine
	WriteFooter
	Response.End
end if

Edited by - Chuck McB on 12 December 2003 19:56:44
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 16 December 2003 :  12:42:34  Show Profile  Visit CarKnee's Homepage
WeeWee, see here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsobjregexp.asp

David,
No, I never really went any further with this.

-CarKnee

Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 16 December 2003 :  14:56:51  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
I've tidied up the output (to my eyes anyhow) by removing the image URL text. And bringing the formating a bit closer to Snitz default IMHO (CarKnee if you don't like where I;m going with this, just let me know and I'll delete this post, otherwise use anything you want):

delete line 137
"     <td bgcolor=""" & strHeadCellColor & """>Image Address</td>" & VbNewLine &  _

Delete line 156
"  <td bgColor=""" & strPopUpTableColor & """>" & strLink & "</td>" & _

update line 127 from this
"    <tr><td colspan=""4""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """><b>Signature Image Manager</b></font></td></tr>" & VbNewLine & _

to this
" <tr><td colspan=""3"" bgcolor=""" & strHeadCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """><b>Signature Image Manager</b></font></td></tr>" & VbNewLine & _code]
Update line 129 from this
"	   <td colspan=""4"" bgColor=""" & strPopUpTableColor & """>" & VbNewLine & _

to this
"	   <td colspan=""3"" bgColor=""" & strPopUpTableColor & """>" & VbNewLine & _

Update line 157 from this
"  <td bgColor=""" & strPopUpTableColor & """>" & strImage  & "<td>" & _

to this

"  <td bgColor=""" & strPopUpTableColor & """><a href=""" & strLink & """ target=""_blank"">" & strImage  & "</a><td>" & _

Update lines 135 - 137 from
				"     <td bgcolor=""" & strHeadCellColor & """>Remove</td>" & VbNewLine &  _
				"     <td bgcolor=""" & strHeadCellColor & """>Member Name</td>" & VbNewLine &  _
				"     <td bgcolor=""" & strHeadCellColor & """>Image</td>" & VbNewLine &  _

to this
				"     <td bgcolor=""" & strCategoryCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>Remove</b></td>" & VbNewLine &  _
				"     <td bgcolor=""" & strCategoryCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>Member Name</b></td>" & VbNewLine &  _
				"     <td bgcolor=""" & strCategoryCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strCategoryFontColor & """><b>Image</b></td>" & VbNewLine &  _

Edited by - Chuck McB on 16 December 2003 14:58:26
Go to Top of Page

CarKnee
Junior Member

USA
297 Posts

Posted - 16 December 2003 :  15:17:42  Show Profile  Visit CarKnee's Homepage
Feel free to change it how ever you want

Go to Top of Page

Chuck McB
Junior Member

WooYay
196 Posts

Posted - 16 December 2003 :  15:32:21  Show Profile  Visit Chuck McB's Homepage  Send Chuck McB an ICQ Message
Bug fix.
Also you need to lcase the search for the image tag, otherwise sigs using IMG will not be flagged:
Update Line 147-151 from
			If InStr(rst("M_SIG"), "") > 0 Then
				strLink = grabImage(rst("M_SIG"))
				strLink = Replace(strLink, "", "")		
				strImage = "<img src=" & strLink & ">"

to
			If InStr(lcase(rst("M_SIG")), "") > 0 Then
				strLink = grabImage(rst("M_SIG"))
				strLink = Replace(lcase(strLink), "", "")		
				strImage = "<img src=""" & strLink & """ border=""0"">"

Edited by - Chuck McB on 16 December 2003 16:07:51
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 31 December 2003 :  23:40:24  Show Profile
images are not found if the user uses [img=left] or [img=right]

The UK MkIVs Forum
Go to Top of Page

staceywh
Starting Member

20 Posts

Posted - 01 January 2004 :  11:35:35  Show Profile
Chuck, could you check out this link and see if this if this would be something that would be easy to put in the Sig image manager? http://forum.snitz.com/forum/topic.asp?TOPIC_ID=50232
Go to Top of Page

evol
Junior Member

China
157 Posts

Posted - 01 January 2004 :  13:00:43  Show Profile
just like DavidRhodes said
how do carry out this question?

Who am i?
I lost my dream!
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.25 seconds. Powered By: Snitz Forums 2000 Version 3.4.07