Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Removing fixed dimensions for avatars

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
tdgjason Posted - 29 November 2005 : 12:15:58
I am using the Mod for avatars on my site, and I would simply like to remove the fixed dimensions for them in the Topic.asp, but I am not sure where to find it. Can anyone give me a clue?<
1   L A T E S T    R E P L I E S    (Newest First)
Zuel Posted - 29 November 2005 : 13:28:47
It is really simple. Simply open up Topic.asp and do the following:

Look for this code around line 584:

if Reply_MemberAvatar <> "noavatar.gif" then
	response.write"		<img src=""" & Reply_MemberAvatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """>"
end if


Make it look like:

if Reply_MemberAvatar <> "noavatar.gif" then
	response.write"		<img src=""" & Reply_MemberAvatar & """ border=""" & intAvatarBorder & """>"
end if


Look for the following on line 796:

if Member_Avatar <> "noavatar.gif" then
	response.write"		<img src=""" & Member_Avatar & """ width=""" & intAvatarWidth & """ height=""" & intAvatarHeight & """ border=""" & intAvatarBorder & """><br /><br />"
end if


Make it look like:

if Member_Avatar <> "noavatar.gif" then
	response.write"		<img src=""" & Member_Avatar & """ border=""" & intAvatarBorder & """><br /><br />"
end if


By doing this, you will need to make sure all avatar images are the specified width and height otherwise someone could use a 1000 by 1000 image and stretch your whole forum.<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000 Version 3.4.07