Thanks guys... re-released... and i'll try and offer full support here and also if you'd like to see any additions just ask and i'll see what i can fix up for ya guys
What does the hack do? Allows users to user offsite avatars to save transfer and storage... it was asked whether this could be done so here it is again And it doesn't work with any of the avatar hacks... b/c why would you want avatars if you don't want to use the transfer enjoy... and i'll keep helping the member with requests too
g-force2k2
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
An addition to this. If for some reason the person deletes the default code without putting in a URL, and their avatar shows as a broken image, you can add this code to get around it:
In admin/functions.php - under:
Code:
if ($post[homepage]!="" and $post[homepage]!="http://") {
eval("\$post[homepage] = \"".gettemplate("postbit_homepage")."\";");
} else {
$post[homepage]="";
}
ADD:
Code:
if ($post[field#]!="" and $post[field#]!="https://vborg.vbsupport.ru/greentek/clear.gif") {
eval("\$post[off_avatar] = \"".gettemplate("postbit_off_avatar")."\";");
} else {
$post[off_avatar]="";
}
(where # is the field number)
Create a new template called postbit_off_avatar using the following:
This is also helps, if you have a blank image for people not using an avatar, and the postbit is stretched even when they make only a one word post (for example), then this will set it up the blank image doesn't show up.
I just notcied that it stretches pictures to be whatever size you set in the db. Is there a way to make it only resize the picture if it is larger than the set size.
And i know this is asking a bit much, but how hard would it be to make an image limit. I think that might be really dificult seeing as its on a different server, and i think it would have to ask all the sites what size the picture is if i'm correct in thinking of how to do it.
Anyways, if thats too hard forget it
But the resizing is somthing that can be done, i just dont know how. >.< :lick:
Originally posted by Kuipo I just notcied that it stretches pictures to be whatever size you set in the db. Is there a way to make it only resize the picture if it is larger than the set size.
And i know this is asking a bit much, but how hard would it be to make an image limit. I think that might be really dificult seeing as its on a different server, and i think it would have to ask all the sites what size the picture is if i'm correct in thinking of how to do it.
Anyways, if thats too hard forget it
But the resizing is somthing that can be done, i just dont know how. >.< :lick:
Bump to the top for a re-size fix! How do I go about correcting this???
Just so you know, what i did, was use this hack... and just removed the lines that size the image. Then i used... https://vborg.vbsupport.ru/showthrea...threadid=45343 that to to make sure no one uses an avatar that is too large. I would love a size limiter, but i think it's too hard if it's on another server =(