vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Disable (animated) gifs as avatars? (https://vborg.vbsupport.ru/showthread.php?t=79572)

dutchbb 04-07-2005 09:56 PM

Disable (animated) gifs as avatars?
 
How can I prevent users from using (animated) gifs as avatar?

007 04-07-2005 10:36 PM

This would be awesome... I hate animated gifs...

akanevsky 04-08-2005 12:10 AM

Make a check for uploaded GIF's... However, there is a way around it - even if a gif file has no extension, server will still know that it is a GIF... So I don't really know.

007 04-08-2005 12:22 AM

Just ban people with animated gif avatars LOL!

akanevsky 04-08-2005 12:25 AM

Good idea. However, some good people like animated avatars...
Banning them in a such cases would be a loss to you, as the board administrator.

What I'd do is I'd only allow JPG and PNG files to be used as avatars... To do that, a preg_replace fix would be required.

Tekton 04-08-2005 12:31 AM

gifs kinda suck anyways... why not go with the jpg/png only idea?

akanevsky 04-08-2005 12:47 AM

Because I don't feel like looking it up in the code right now. If noone else posts it, I might do tomorrow...

dutchbb 04-08-2005 09:56 AM

Quote:

Originally Posted by Dark Visor
Because I don't feel like looking it up in the code right now. If noone else posts it, I might do tomorrow...

ok tnx

some anim. avatars aren't that bad, but others get really annoying :s
I think alot of people would be very happy with this little hack (should be in vb standard code anyway IMO)

akanevsky 04-08-2005 08:03 PM

There you go:

[vBulletin Hack Thread #79630]

tehste 04-09-2005 01:52 PM

There was a hack that prevents animated gifs.
I don't understand why you don't like them. They don't take extra space or bandwidth because you can set the limits in vb options so what is the problem, with them? Also by clicking the 'stop' button when a page is loaded animated gifs stop animating.

https://vborg.vbsupport.ru/showthrea...light=animated

NB: use the search :ermm:


All times are GMT. The time now is 05:15 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
  • Page Generation 0.01069 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete