![]() |
Remotely Hosted Avatars
It works on my 2.2.6 board, I'm not sure about 2.2.7, most likely will work
This hack prevents remote avatars from being loaded into the database, it saved both bandwidth and space. Instead it'll load the avatar directly from the link the user gives The other remote avatar hacks I've tried didn't work, so I decided to do it myself Have Fun, if there's any problems, ask. Make a backup of the files before you mod them, I'm not responsible for any damages :) |
Yeah... so what does it do ?
|
well usually your avatars are loaded into the database..this saves teh database space and linkes them remotely, like a normal image link
|
nice job!
|
thanks
|
My computer is being weird and not reading *.doc files right now, can you post it in *.txt or *.php for me please?
|
Since he isn't online here you go.
|
Thanks :)
|
My Pleasure.
|
ah woops i shoulda done it in HTML or something
sorry about that |
Well I finally got around to installing this, and it actually works. I've been trying for weeks to get avatars working (stupid server) but to no avail, but this hack did the trick, thanks!
|
Does this hack work with the welcome panel?
|
it should, i havent looked at the welcome panel. ill download it and take a look
|
Will this remove the ability to be able to upload avatars to the database at all? I would like that option avaiable still.
Thanks Odil |
How do I undo this query..?
Code:
ALTER TABLE `fragblast`.`user` ADD `avatar2` TEXT NOT NULL; Anyhelp would be apreciated, thankyou. :D |
Quote:
to undo the query, replace ADD with DELETE, i think i still havent had a chance to look at the welcome panel, but i dont think it will cause any problem |
Quote:
Code:
<?php any hacker should include this type of extra hack to make everyone's life easy. some of us will never install phpmyadmin (i dont) just to run little queries like that, when they can be done with vBulletin. |
Editing Avatars
I have installed the hack and it works fine ut there is no way to edit/remove an avatar from a user in the admin CP. Any ideas? |
Quote:
|
Has anyone tried this hack for VB 2.2.8? I'm not new to board hacking but I'm new to VB. My version 2.2.8 does not have a members.php. It has member.php and member2.php.
Also, the reason I am looking for this hack is because 2.2.8 has the option for custom avatars from a different url but it always gives a invalid jpeg and gif error. I'm not interested in hosting my own avatars (ie - having the actual files on my server). I'm interested in letting the users do the custom url avatar only. I read a ton of threads on vbulletin.com about this subject but there seems to be no clear cut answer to why it will not work. Most of the answers are to fix the regular avatar problem of letting users upload their own or use the ones that the board admin hosts on his own server. I believe I read something over there that the only way to get custom url avatars to work was to look here at vbulletin.org for the hack. I guess my biggest question is why would VB put an option in there software that does not work without a hack? |
Quote:
|
tried in 2.2.9 and edited member.php instead of members.php .. getting this error:
Parse error: parse error in /home/ironlife/public_html/member.php on line 1081 |
Quote:
well this hack is for 2.2.6 if i get time ill work on a upgrade for 2.2.9, but ive been very busy, sorry for the late responses |
thnx for the reply :)
|
np
whats the line that the error was on, and a few lines above + below it? |
Ok, this seems to cure the problem in 2.2.8 where it says every single remotely hosted avatar is not a valid jpg or gif but the avatars don't show up in the postbit (threads) for some reason.
(At least they don't for me) Anyone have the fix for this? |
did you apply the templates correctly?
it should be $post[avatar]$post[avatar2] iirc if that doesn't work, try this $post[avatar]<img src="$post[avatar2]"> |
the first one doesn't work for me (btw, I don't think the template changes are in the read me file).
and won't the second one leave a broken url image for everyone who isn't using a remotely hosted avatar? |
This.. "$post[avatar]$post[avatar2]" makes the url of the image show up where the avatar is supposed to be... :(
|
try
<img src="$post[avatar2]"> or <img src="$post[avatar]"> there weren't template changes because it changes to $post[avatar] in the code |
I've tried that, and it works for people who do have a remotely hosted avatar, but if they don't have a remotely hosted avatar, it gives the broken url image. (The little white box with the red x in it, like the attached image)
|
Ok, I don't know what I did wrong, but ManagerJosh came in and saved the day, lol. Thanks Josh. :)
Nice hack |
np, what was the problem? i think what i did to fix that was remove that avatar template and just use the img src
|
Quote:
|
The hack dont work with the latest version of vb
|
How do I get it to display in the postbit?
|
you need to replace the code in "functions.php", it will automatically show up
|
This is exactly what I need, but doesn't directly relate to v2.3.0 :(
Has anyone adapted it to work with the latest version? |
Confirmed working on 2.3.0 ;)
|
Quote:
Or has anyone gotten this to work with 2.3.0?? Thank you, Verity |
All times are GMT. The time now is 04:44 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:
|