Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Question about Avatar Mod !
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alex123
Junior Member

Greece
237 Posts

Posted - 07 September 2002 :  07:09:25  Show Profile
Hi,

Is there a way that we could have the "Avatars" keep their own image size ,much like in vBulletin, instead of having to specifying the same size for all of them ?

Thank you

Regards
Alex

GenerationEdge
Junior Member

105 Posts

Posted - 07 September 2002 :  09:33:55  Show Profile
Well, I have modified the code for V3.4.02 with the Avatar MOD that Richard did for the Avatar MOD for version 3.3.03. It's on this Topic. Like I said this is for version 3.3.03. I had to alter quite a bit to get it to work with V3.4.02 and had to add it to an extra file. I have mine setup to where the width is fixed to my settings but the height can been whatever. I'm sure the width can alter as well. I don't use the upload feature. I have also alter the code quite a bit to show "Need Avatar" for members that don't have one. You can view an example of what I did in my test forums under this Topic. I don't mind emailing these MODDED files but like I said I have seriouly modified a lot of the code to fit what I want so it may not work for you.

Jason
Go to Top of Page

Hamlin
Advanced Member

United Kingdom
2386 Posts

Posted - 07 September 2002 :  10:20:02  Show Profile
What avatar mod are you using?

If its this one http://ls3k.com/snitz/mods.asp?action=details&ID=121 then just remove all the intAvatarWidth and intAvatarHeight code from the files.

If its another version it will be the same process, just remove all the stuff that sets the image size.
Go to Top of Page

GenerationEdge
Junior Member

105 Posts

Posted - 07 September 2002 :  11:35:07  Show Profile
quote:
Originally posted by Hamlin

What avatar mod are you using?

If its this one http://ls3k.com/snitz/mods.asp?action=details&ID=121 then just remove all the intAvatarWidth and intAvatarHeight code from the files.

If its another version it will be the same process, just remove all the stuff that sets the image size.



I'm using your Avatar MOD Hamlin for V3.4.02. The reason I added/ convertered Richard's addition stretchy/ squashy code is so that I can pick a height or width or simply have "None" for either height or width. If I remove all intAvatarHeight & intAvatarWidth from the files then I will have to add them back if later on down the road I want to size them.

This is what I did to the admin_avatar_settings.asp

response.write	"	<select name=""intAvatarHeight"" size=1>" & vbnewline & _
		"	<option value=""0"""
		if intAvatarHeight = "0" then 
		response.write" selected" 
		end if 
		response.write">None</option>"
response.write	"	<option value=""32"""
		if intAvatarHeight = "32" then 
		response.write" selected" 
		end if 
		response.write">32</option>"
response.write	"	<option value=""48"""
		if intAvatarHeight = "48" then 
		response.write" selected" 
		end if 
		response.write">48</option>"
response.write	"	<option value=""64"""
		if intAvatarHeight = "64" then 
		response.write" selected" 
		end if 
		response.write">64</option>"
response.write	"	<option value=""96"""
		if intAvatarHeight = "96" then 
		response.write" selected" 
		end if 
		response.write">96</option></select></td>" & _
		"	<td align=""center"" valign=""middle"">" & vbNewLine
		
response.write	"	<select name=""intAvatarWidth"" size=1>" & vbnewline & _
		"	<option value=""0"""
		if intAvatarWidth = "0" then 
		response.write" selected" 
		end if 
		response.write">None</option>"
response.write "	<option value=""32"""
		if intAvatarWidth = "32" then 
		response.write" selected" 
		end if 
		response.write">32</option>"
response.write	"	<option value=""48"""
		if intAvatarWidth = "48" then 
		response.write" selected" 
		end if 
		response.write">32</option>"
response.write	"	<option value=""64"""
		if intAvatarWidth = "64" then 
		response.write" selected" 
		end if 
		response.write">64</option>"
response.write	"	<option value=""96"""
		if intAvatarWidth = "96" then 
		response.write" selected" 
		end if 
		response.write">96</option></select></td></tr>"
response.write	"</table>"


I had to change these files to set the "None" value:
admin_avatar_review.asp
inc_avatar.asp
pop_profile.asp
topic.asp


Hope this answers your question.

Jason
Go to Top of Page

Alex123
Junior Member

Greece
237 Posts

Posted - 07 September 2002 :  12:40:59  Show Profile
Yes I found it. It the post made by Richard, it works great.

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=6986&ARCHIVE=true&whichpage=5

Thanks guys
Alex

Go to Top of Page

GenerationEdge
Junior Member

105 Posts

Posted - 07 September 2002 :  12:48:59  Show Profile
quote:
Originally posted by Alex123

Yes I found it. It the post made by Richard, it works great.

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=6986&ARCHIVE=true&whichpage=5

Thanks guys
Alex





Hehe, that is the link I posted in my first reply. I glad you found it though.

Jason
Go to Top of Page

MrNik
Starting Member

Italy
49 Posts

Posted - 07 September 2002 :  19:07:15  Show Profile  Visit MrNik's Homepage  Send MrNik an ICQ Message
but in http://forum.snitz.com/forum/topic.asp?TOPIC_ID=6986&ARCHIVE=true&whichpage=5 Richard explains as to modify its mod in version 3.3 But in the 3.4 I do not succeed to find the references to change for the rows :

admin_avatar_review.asp
inc_avatar.asp
pop_profile.asp
topic.asp

Help me

Edited by - MrNik on 07 September 2002 19:09:41
Go to Top of Page

cbovis
New Member

United Kingdom
91 Posts

Posted - 08 September 2002 :  02:29:15  Show Profile
im going to be modifying my avatar mod so they can specify height and width in their profile but the admins can specify maximum height and width in cp.

Thanks

DJNeuphoria


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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07