vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Avatar.PHP ? (https://vborg.vbsupport.ru/showthread.php?t=68458)

Dorign 08-18-2004 02:36 AM

Avatar.PHP ?
 
Would it be possible to allow the system to use avatar files with php? So people who know how could have random avatars?

deathemperor 08-18-2004 03:32 AM

vb3 has this built-in, you can test it by using random avatars in this site vb.org
this can be disabled via ACP --> disable dynamic images.

Dorign 08-18-2004 04:54 AM

Dynamic images are enabled, but this still doesn't work. It will not allow me to upload or link to an offsite php file (to pick random avatars). It says "Must be valid gif, jpg, or png."

deathemperor 08-18-2004 05:12 AM

hmm weird, maybe this does need a hack.

Dorign 08-18-2004 07:16 AM

Well I think it'd have to first of all be a remote link; instead of uploading to the server.

Brad 08-18-2004 07:33 AM

No you would need to hack it. There is a reason you don't allow scripts in you members sig's and avatars, because these could be used to exploit your security. There is a unlimited amount of damage someone with the right know how can do to your forum with something like this enabled.

Highly un-advised, but if you still want the code I can track it down for you.

Dorign 08-18-2004 06:46 PM

I don't suppose there's a way one could hard code it simply for the admin? lol

deathemperor 08-19-2004 05:46 AM

I don't think you can only allow dynamic image for admin, it would need a hack

Dorign 08-19-2004 06:54 AM

I'm not talking about the dynamic imaging part, just the avatar.php part. :)


All times are GMT. The time now is 01:38 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.01099 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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