![]() |
|
Mod Options |
![]() |
|||||||||||
Custom Avatars as Files (updated for vBulletin 2.2.2)
![]() Developer Last Online: May 2011 ![]() ![]() ![]() This modification is in the archives.
Updated for vBulletin 2.2.2, 5th February 2002
Since there has been so much demand for this, I wrote a hack that will allow you to store all your custom avatars as files, rather than in the mySQL database. ![]() Doing this will have the following benefits:
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. Full instructions for altering your PHP files are included in the zip file. Once you have made the necessary modifications to the PHP scripts, you should run the enclosed install_favatar.php script from your admin/ folder. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Custom Avatars as Files | Cocomiel | vBulletin 2.x Full Releases | 76 | 22 Mar 2002 12:57 |
[RE-RELEASE custom avatars-as-files] | ztsky | vBulletin 2.x Full Releases | 1 | 30 Jul 2001 23:59 |
Comments |
#2
|
|||
|
|||
Hi kier,
does your system allow admin to set max avatar size (lets say 80 x 80) and a weight (lets say 3ko) ? This worked with mysql storing , will it work with your sysem ? No members have liked this post.
|
#3
|
|||
|
|||
Oh, and does it allow user to upload their files, switch from one avater to the other (and have the previous one replaced and eareased ) ?
No members have liked this post.
|
#4
|
|||
|
|||
Kier, you know what ?
![]() It would be GREAT to port this system to attached files to ![]() No members have liked this post.
|
#5
|
|||
|
|||
No members have liked this post.
|
#6
|
|||
|
|||
Another question: do I need to set to 777 the directory storing the avatars ? No members have liked this post.
|
#7
|
|||
|
|||
No members have liked this post.
|
#8
|
|||
|
|||
And I quote:
1) Firstly, you will need to create a new folder in your forums directory called custom_avatars and set the permissions on the folder to 777. No members have liked this post.
|
#9
|
|||
|
|||
Just a last question before I try to install it:
No members have liked this post.
|
#10
|
|||
|
|||
It's a bad idea. No members have liked this post.
|
#11
|
|||
|
|||
Ok, got it, thanks Kier.
I didn't considered this cause I would only allow jpg,gif, txt and zip and would use it. Anyway, good job with this hack. Gives the webmaster the final decision. No members have liked this post.
|
#12
|
|||
|
|||
Another wonderful hack, thanks Kier.... I already have it installed and working on Me2Be's forums.
Just one small typo, in the control panel options, it says "Store Custom Avatars in Database?", but this has to be set to "yes" to use files, "no" to use the database. It should say "Store Custom Avatars as Files?". But otherwise it works great! Thanks ![]() No members have liked this post.
|
#13
|
||||
|
||||
Fixed
![]() If you have this problem and want to correct it, run this query:
No members have liked this post.
|
#14
|
|||
|
|||
important
I just discovered that two php files that require modifications were not mentioned in the original documentation... please revisit the docs and follow the steps to modify private.php and announcement.php if you installed this hack prior to the posting of this message.
![]() No members have liked this post.
|
#15
|
|||
|
|||
Kier, you are great!
![]() Are all avatars stored as GIFs? Even those uploaded as JPGs? I'm asking because you said "Avatars are always stored as xxxx.gif". No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 04:42.