vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Special Avatar Sizes? (https://vborg.vbsupport.ru/showthread.php?t=197127)

Gossennator 11-24-2008 03:53 PM

Special Avatar Sizes?
 
I am running vB 3.6.8 and I was wondering how do you allow people with 1000 post or more to have bigger (150x150) avatars?
Thanks
Crawford

Gossennator 11-25-2008 04:33 PM

Bump

Gossennator 11-27-2008 12:18 AM

bump..

nerofix 11-27-2008 12:35 AM

It's possible, but not that simple to do.

You need edit the function_user.php .. and all templates with avatar info.

In first case ( < 1000 posts ) , you will use the thumbs in the custom avatar folder. In second case ( > 1000 posts), you have to use the original avatars.

In the templates you have to use if-else-conditions.

... but better don't ask me for exact steps, ask someone with developing skills ;-)

dismas 11-27-2008 02:57 AM

Why not just make a promotion to change the user's usergroup to one that will allow them to use larger avatars?

Why is any editing of a php file necessary?


All times are GMT. The time now is 12:36 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.01468 seconds
  • Memory Usage 1,705KB
  • 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
  • (5)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