![]() |
Off Site Avatar Hack
As requested [ Here ] by Takara ;)
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:p g-force2k2 |
I must say that this hack is different...
*Installed* Satan |
sounds cool, but probably doesn't work with avatar categories hack or some of the other avatar hacks out there, or does it?
|
yeah, will it work with the avatar categories hack?
|
?????????????????????
|
Geforce, WHY'D YOU DELETE THIS!!!
|
Yeah, why?
|
No this hack won't work with avatar categories or any of the sort... it was meant so that avatars wouldn't be stored on the server... as for some users they're just unappreciative...
As for an update... for those that have installed here's a minor error that was fixed... (if you didn't notice it) open admin/user.php find: PHP Code:
PHP Code:
g-force2k2 |
Hey g-force, this is a great hack. Thanks for all your hard work. You should just ignore people, hehe.
It was working nice, but then I upgraded my board a bit and lost it, just to discover you deleted it. Oh well. Thanks for the effort g-force ^^ |
This is exactly what I'm needing! Can you please re-add it, or email it to me??
Thanks! :) |
I'd love to use this one also. I don't know why you removed it but hopefully you'll add it again. Thanks :)
|
I'd like to have this one too ... Can you email it to me at theprankst3r@xtvt.net ?
|
come on gforce2001, re-release it ^_^
|
ahh man i need this. PLEASE re-release it.
|
download re-added ;) enjoy ppls :) thanks again Takara for the idea ;)
g-force2k2 |
can you please attach also a text install file?
thanks alot. |
The file isnt a .hack.php file, inside it is a manual install ^^
|
Quote:
g-force2k2 |
WOO-HOO! :D
|
great hack !!
|
How do you query the database?
|
Quote:
|
Find:
PHP Code:
PHP Code:
Its $post[height] instead of $post[hieght] Installed it, works like a charme.. finaly question, how can i show a preview of there avatar, once they have change it and they visit the usercp again? (like the old one) |
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://") { ADD: Code:
if ($post[field#]!="" and $post[field#]!="https://vborg.vbsupport.ru/greentek/clear.gif") { (where # is the field number) Create a new template called postbit_off_avatar using the following: Code:
<img src="$post[field#]" width="$post[width]" height="$post[height]" border="0"><br> And in your postbit template, where before you had the above code, put simply: Code:
$post[off_avatar] And you should now have no broken avatar images (unless someone's using Geocities!:)) |
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.
|
Ahhhh Sweetness!! Great hack, and thanks a BUNCH MarkB for fixing that little problem with the space and broken images!
|
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: |
Quote:
|
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 =(
|
Unfortunately this seems to create compatibility issues with my Private Messages.
https://vborg.vbsupport.ru/showthrea...threadid=47536 |
has anyone installed this on 2.2.9 or 2.3.0?
I cant seem to find the getinfo template.. :cry: |
for some reason, the avatars doesn't work in the profile. everything it spelled correctly.
ne help? l8er sonic |
Is it possible to get this to work on 2.3.0??
|
I'm running 2.3.0 and it works perfectly, except I am a little confused about the re-sizing bit.
Could someone explain it in a little more detail please. Some of my users have small avatars and well, they are complaining now becuase their avatars are now stretched. Thanks in advance for your help. - 0zone |
Does anyone not know how to fix this? This is almost a month old now and nothing, :(
|
All times are GMT. The time now is 04:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|