Version: , by Cocomiel
Developer Last Online: Mar 2005
Version: 2.2.x
Rating:
Released: 09-17-2001
Last Update: Never
Installs: 17
No support by the author.
Custom Avatars As Files Hack for VB 2.2.1
BASED ON THE KIER'S HACK
Description: This hack lets you store custom avatars in a separate folder rather than in the VBulletin database, saving space & querys in your MySQL database
Here are some of the features:
Allows to switch between file mode & database mode on the fly
You can specify the custom avatar folder
No SQL queries or PHP code required to display custom avatars
If you use the Apache Web Server, the avatars folder can be protected by .htaccess thus preventing bandwidth stealing
No cacheing issues with Internet Explorer 5.5
All avatar options that are present when using the standard mySQL avatar system are still present, and users will not notice a difference in the interface.
Intructions:
Upload install_fileavatar.php to your ADMIN directory and open it in your browser, then follow the screen instructions.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Please read the instructions, on Unix Systems you must chmod 777 the files, if the script says file xxx not modified maybe is because the file is already modified so you dont need to run it again. If you continue having problemas please post your php version/server platform etc
when i click the link to download install_fileavatar.php, it instead gives me a file called "attachment.php", which is an unreadable file. am i doing something wrong here?
Originally posted by ladyfyre Ok....so maybe i am just dense here...but:
when i click the link to download install_fileavatar.php, it instead gives me a file called "attachment.php", which is an unreadable file. am i doing something wrong here?
In Fact, its unreadable. but can be executed anyway.
Its a compiled PHP file.
well i dont want to complicate things.. but when i execute the php file i get:
Parse error: parse error in c:\apache\htdocs\install\install_fileavatar.php on line 13
wouldn't it be much easier to post the code...???
anyway if it integrates in vbull, it will open up.. or not???
Bira, don't hesitate me, Kier's hack was for 2.0.0 or previous. Mine is for 2.2.1 and has different features ok ?
Although you and vb.org try to fool people putting 2.2.1 on the kier hack post (pumping the thread also) and later posting instructions with code from my hack trying to make it work with the newest versions of the VB
Please stop fooling people.
As consecuence of actitudes like yours, I have no posted all the other hacks i wrote for my VB. And im sure other people is doing the same.