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)
 Avatar in privateread.asp?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Heynow
Junior Member

374 Posts

Posted - 13 August 2003 :  18:30:08  Show Profile  Visit Heynow's Homepage  Send Heynow an AOL message  Send Heynow a Yahoo! Message
Not sure if this belongs in this forum.

I am trying to add avatars in privateread.asp but the image will not show. Can someone check to see what I am doing wrong?

http://www.pcpirate.com/temp/privateread.txt

Thanks!


Political Forums
:::Stay n Chat

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 August 2003 :  05:06:07  Show Profile
Find the following code beginning at line 154:
if M_AVATAR_URL <> "noavatar.gif" then
'##### Avatar #####
	if (strMyAvatarLink + strMyAvatarTooltip) > 0 then
		Response.Write	getMyAvatar(MemberAvatar,strPMFromID,MemberName,MemberHomepage) & "<br />" & vbNewLine
	else
		Response.Write	"<img src=""" & M_AVATAR_URL & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br />"
	end if
'########## Avatar ##########
end if
and replace it with the following:
if strMAvatar <> "noavatar.gif" and strMAvatar <> "" then
	Response.Write	"<img src=""" & strMAvatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """ /><br />"
end if

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Heynow
Junior Member

374 Posts

Posted - 14 August 2003 :  06:00:08  Show Profile  Visit Heynow's Homepage  Send Heynow an AOL message  Send Heynow a Yahoo! Message
Thanks MeTV...worked like a charm..


Political Forums
:::Stay n Chat
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 14 August 2003 :  06:34:51  Show Profile
You're welcome!


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07