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)
 Removing fixed dimensions for avatars
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tdgjason
Starting Member

2 Posts

Posted - 29 November 2005 :  12:15:58  Show Profile  Reply with Quote
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?<

Edited by - OneWayMule on 21 February 2006 04:46:09

Zuel
Average Member

USA
540 Posts

Posted - 29 November 2005 :  13:28:47  Show Profile  Visit Zuel's Homepage  Reply with Quote
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.<

My Completed Mods: News Mod | Zuel's Avatar Add-on
In Development: World of Warcraft Member Roster | [C# Based Forum]

Note - I may take a few days to recieve your email. Hotmail filters all new emails as junk. Would be best to post all questions, concerns in a forum topic to catch my immediate attention. This way others can assist and also correct any similar mistakes.

MSN / E-Mail: ucyimDa_Ruler@Hotmail.com

Personal Bookmarks: How to work a DBS File
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07