The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
There's a thread in the archives:
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=42690
Shaggy got a running start on a mod that uses the profile photo as an avatar. I think Shaggy's idea was good.
However, the thread died out and was archived.
I attempted to implement it and got the same error as another poster:
Error Type:
Microsoft VBScript runtime (0x800A0009)
Subscript out of range: '[number: 1]'
/forumtest/inc_iconfiles.asp, line 183
...and this is what I read on inc_iconfiles.asp, line 183,
quote:
--------------------------------------------------------------------------------
function getCurrentIcon(fIconName,fAltText,fOtherTags)
if fIconName = "" then exit function
if fOtherTags <> "" then fOtherTags = " " & fOtherTags
if Instr(fIconName,"http://") > 0 then strTempImageUrl = "" else strTempImageUrl = strImageUrl
tmpicons = split(fIconName,"|")
if tmpicons(1) <> "" then fWidth = " width=""" & tmpicons(1) & """" if tmpicons(2) <> "" then fHeight = " height=""" & tmpicons(2) & """"
getCurrentIcon = "<img src=""" & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
end function
--------------------------------------------------------------------------------
The error appears in the box where the avatar would normally go. And the photo url is clean. . .no unusual marks. Any ideas on how to make this mod work?
<
http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=42690
Shaggy got a running start on a mod that uses the profile photo as an avatar. I think Shaggy's idea was good.
However, the thread died out and was archived.
I attempted to implement it and got the same error as another poster:
Error Type:
Microsoft VBScript runtime (0x800A0009)
Subscript out of range: '[number: 1]'
/forumtest/inc_iconfiles.asp, line 183
...and this is what I read on inc_iconfiles.asp, line 183,
quote:
--------------------------------------------------------------------------------
function getCurrentIcon(fIconName,fAltText,fOtherTags)
if fIconName = "" then exit function
if fOtherTags <> "" then fOtherTags = " " & fOtherTags
if Instr(fIconName,"http://") > 0 then strTempImageUrl = "" else strTempImageUrl = strImageUrl
tmpicons = split(fIconName,"|")
if tmpicons(1) <> "" then fWidth = " width=""" & tmpicons(1) & """" if tmpicons(2) <> "" then fHeight = " height=""" & tmpicons(2) & """"
getCurrentIcon = "<img src=""" & strTempImageUrl & tmpicons(0) & """" & fWidth & fHeight & " border=""0"" alt=""" & fAltText & """ title=""" & fAltText & """" & fOtherTags & " />"
end function
--------------------------------------------------------------------------------
The error appears in the box where the avatar would normally go. And the photo url is clean. . .no unusual marks. Any ideas on how to make this mod work?
<
