Author
Topic
Page:
1
2
3
4
5
of 5
DavidRhodes
Senior Member
United Kingdom
1222 Posts
Posted - 25 November 2003 : 08:48:57
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
CarKnee
Junior Member
USA
297 Posts
Posted - 25 November 2003 : 09:09:52
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.
weeweeslap
Senior Member
USA
1077 Posts
Gargoyle
Junior Member
USA
280 Posts
CarKnee
Junior Member
USA
297 Posts
Posted - 10 December 2003 : 14:45:33
quote:Originally posted by weeweeslap I installed this on SQL server 2000 and get the following error when accessing admin_SigImage.asphttp://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.
weeweeslap
Senior Member
USA
1077 Posts
Posted - 12 December 2003 : 14:18:25
uhmmm can you explain more? My host and server admin both are at ?????'s at the term "regular expressions".
coaster crazy
DavidRhodes
Senior Member
United Kingdom
1222 Posts
Posted - 12 December 2003 : 15:44:05
CarKnee, did you do anything more on the multiple image sig thingy?
The UK MkIVs Forum
Chuck McB
Junior Member
WooYay
196 Posts
Posted - 12 December 2003 : 19:44:33
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
CarKnee
Junior Member
USA
297 Posts
Chuck McB
Junior Member
WooYay
196 Posts
Posted - 16 December 2003 : 14:56:51
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
CarKnee
Junior Member
USA
297 Posts
Posted - 16 December 2003 : 15:17:42
Feel free to change it how ever you want
Chuck McB
Junior Member
WooYay
196 Posts
Posted - 16 December 2003 : 15:32:21
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
DavidRhodes
Senior Member
United Kingdom
1222 Posts
Posted - 31 December 2003 : 23:40:24
images are not found if the user uses [img=left] or [img=right]
The UK MkIVs Forum
staceywh
Starting Member
20 Posts
evol
Junior Member
China
157 Posts
Posted - 01 January 2004 : 13:00:43
just like DavidRhodes said how do carry out this question?
Who am i? I lost my dream!
Page:
1
2
3
4
5
of 5
Topic