Author |
Topic |
|
ascension
New Member
50 Posts |
Posted - 04 August 2004 : 23:39:44
|
I did a search, but couldn't find anything ...
Is there a MOD where you can specify the width/height of your avatar and such? I'm almost 100% sure that there is... ?
J |
|
ascension
New Member
50 Posts |
Posted - 12 August 2004 : 07:11:43
|
? |
|
|
cripto9t
Average Member
USA
881 Posts |
Posted - 12 August 2004 : 07:24:52
|
quote: Originally posted by ascension
?
See this topic. |
_-/Cripto9t\-_ |
|
|
ascension
New Member
50 Posts |
Posted - 14 August 2004 : 05:01:54
|
I am talking about a MOD where the *USER* can enter in the dimensions of their avatar (width,height) - as well as the URL to the actual avatar image.
Anyone??
J |
Edited by - ascension on 14 August 2004 05:02:07 |
|
|
Radianation
Junior Member
USA
186 Posts |
Posted - 17 August 2004 : 07:24:51
|
That's easy enough to do. Shouldn't take you more than 5 minutes to change. |
|
|
gardi
New Member
65 Posts |
Posted - 17 August 2004 : 20:10:19
|
quote: Originally posted by ascension
I am talking about a MOD where the *USER* can enter in the dimensions of their avatar (width,height) - as well as the URL to the actual avatar image.
Anyone??
J
Well. First of all If you want your members to have their own avatars look here for My Avatar Addon for Avatar Mod 3.4
http://www.snitzbitz.com/mods/details.asp?Version=All&mid=52
If you want to have a custom avatar size(but for all avatars unfourtunately) then do this
Go to Admin avatar settings Find this
Sub DoLittleDropDownThings() Then delete the rest of the code until End Sub
then c/p the code below
Sub DoLittleDropDownThings() Response.Write "<table border=""0"" cellspacing=""1"" cellpadding=""1"">" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td bgcolor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """> <b>Height</b> </font></td>" & vbNewLine & _ " <td bgcolor=""" & strPopUpTableColor & """ align=""right""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strDefaultFontColor & """> <b>Width</b> </font></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ " <tr>" & vbNewLine & _ " <td align=""center"" valign=""middle""><input type=""text"" size=""2"" name=""intAvatarHeight"" value=""" & intAvatarHeight & """></td>" & vbNewLine & _ " <td align=""center"" valign=""middle""><input type=""text"" size=""2"" name=""intAvatarWidth"" value=""" & intAvatarWidth & """></td>" & vbNewLine & _ " </tr>" & vbNewLine & _ "</table>" & vbNewLine End Sub |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 10 December 2004 : 17:15:50
|
I have been looking at this, and I made the changes Gardi suggested, but this still doesn't give members the option of setting their own height and width for avatars they submit in their profile... Does anybody know how to do this? |
eXtremeGossip |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
|
cripto9t
Average Member
USA
881 Posts |
Posted - 13 December 2004 : 19:22:15
|
Not sure if this is what you want. I think if you remove the height and width in topic.asp, the image will use it's normal height and width. Just a thought . |
_-/Cripto9t\-_ |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 14 December 2004 : 11:46:09
|
I'm kinda thick, so could somebody explain in detail how they did this? My guess is that you have to edit topic.asp to remove the set height and width, but I can't exactly find where...
Would removing the set height/width not cause problems with users that have photo-sized avatars? Maybe there should be a maximum height/width, or a function that prevents users from submitting Avatar URLs with images that are larger than for example 100 x 100 pixels |
eXtremeGossip |
|
|
MarcelG
Retired Support Moderator
Netherlands
2625 Posts |
Posted - 14 December 2004 : 14:25:06
|
find the instances of the string 'avatar' and without any doubt you'll find the pieces of code where you see something like <img scr="" & ... height="" & ... "" > etc. You need to look THERE. |
portfolio - linkshrinker - oxle - twitter |
|
|
Jorrit787
Average Member
Netherlands
681 Posts |
Posted - 15 December 2004 : 06:56:19
|
Ok, that worked, but as I mentioned, there are problems with users that have avatars that exceed 100 x 100 pixels...
Can anyone think of a function to add to pop_add_avatar that prevents users from submitting URLs of images that are larger than 100 x 100 pixels?
Thanks in advance guys |
eXtremeGossip |
Edited by - Jorrit787 on 15 December 2004 06:56:40 |
|
|
|
Topic |
|