The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||
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 ![]() ![]() ![]() g-force2k2 Show Your Support
|
Comments |
#17
|
||||
|
||||
![]()
can you please attach also a text install file?
thanks alot. |
#18
|
||||
|
||||
![]()
The file isnt a .hack.php file, inside it is a manual install ^^
|
#19
|
|||
|
|||
![]() Quote:
![]() ![]() g-force2k2 |
#20
|
||||
|
||||
![]()
WOO-HOO!
![]() |
#21
|
||||
|
||||
![]()
great hack !!
|
#22
|
|||
|
|||
![]()
How do you query the database?
|
#23
|
||||
|
||||
![]() Quote:
![]() |
#24
|
|||
|
|||
![]()
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) |
#25
|
||||
|
||||
![]()
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: 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! ![]() |
#26
|
||||
|
||||
![]()
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.
|
#27
|
||||
|
||||
![]()
Ahhhh Sweetness!! Great hack, and thanks a BUNCH MarkB for fixing that little problem with the space and broken images!
|
#28
|
||||
|
||||
![]()
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: |
#29
|
||||
|
||||
![]() Quote:
|
#30
|
||||
|
||||
![]()
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 =(
|
#31
|
||||
|
||||
![]()
Unfortunately this seems to create compatibility issues with my Private Messages.
https://vborg.vbsupport.ru/showthrea...threadid=47536 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|