PDA

View Full Version : Doing away with Animated Avatars...


Jim_2CPU
05-07-2002, 07:29 AM
Hey guys, quick question for those vbulletin gurus out there.

I'd like to disallow animated avatars (animated gifs) on my forums. What would the easiest way to go about this be? I figure changing a setting or something to disallow the uploads of gifs (force either .jpg's or .png's on them) would provide me with the end result required.

What do you guys and gals think?

Thanks.

Jim

Admin
05-07-2002, 12:13 PM
Jim_2CPU, please go to this (http://www.vbulletin.com/members/vbulletin.org.php) page and enter your username, to show you are licensed. (you will need to use your customer number and password to access that page)
Thank you.

Jim_2CPU
05-07-2002, 11:46 PM
No Problem, Done. What now? :-)

*edit* Maybe we could move this to the "General Hacking Discussion" forum? */edit*

Admin
05-08-2002, 09:37 AM
Thanks! :)

Well, you can only allow .jpg avatars if you want. To do that, open member.php and replace this:
if ($imginfo[2]!=1 and $imginfo[2]!=2) {
With this:
if ($imginfo[2]!=2) {
Now .gif avatars won't be accepted.

Jim_2CPU
05-08-2002, 11:01 PM
God Bless your heart. You're a scholar and a gentleman.

Ahhh, much better. Non-animated avatars, 3KB in size or less.

I'm a happy camper now, thanks again!

Admin
05-09-2002, 04:52 AM
Glad I could help! :)