vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Doing away with Animated Avatars... (https://vborg.vbsupport.ru/showthread.php?t=38356)

Jim_2CPU 05-07-2002 06:29 AM

Doing away with Animated Avatars...
 
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 11:13 AM

Jim_2CPU, please go to this 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 10:46 PM

No Problem, Done. What now? :-)

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

Admin 05-08-2002 08:37 AM

Thanks! :)

Well, you can only allow .jpg avatars if you want. To do that, open member.php and replace this:
Code:

          if ($imginfo[2]!=1 and $imginfo[2]!=2) {
With this:
Code:

          if ($imginfo[2]!=2) {
Now .gif avatars won't be accepted.

Jim_2CPU 05-08-2002 10: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 03:52 AM

Glad I could help! :)


All times are GMT. The time now is 11:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01503 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete