vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Default Avatars in Postbit and Navbar? (https://vborg.vbsupport.ru/showthread.php?t=180516)

jca2112 05-26-2008 03:40 AM

Default Avatars in Postbit and Navbar?
 
I'm trying to make a few things to happen:
  • Every user be assigned a Default Avatar (unless they choose their own avatar)
  • The Default Avatar or the custom avatar should appear in the postbit.
  • The Default Avatar should also appear in the Navbar for Guests and for Users, unless they have chosen their own avatar
  • The Default Avatar should also appear in every other avatar location (such as the profile, memberlist, etc.) if no custom avatar is selected
I've read and re-read every post here (and at vbulletin.com) about default avatars, avatars in the postbit, and avatars in the navbar and elsewhere. So far, I haven't been able to make suggested template edits or mods work to do the above. Am I mistaken, or does vBulletin not have a consistent/global "hook" to pull in an avatar regardless of template/location, or at least conditionals that can make all of the above happen? The $post[avatarurl] conditional for the postbit doesn't apply to the navbar, for example.

Does anyone have any suggestions on making any/all of the above work? I've looked through all the mods I could find but haven't found the right mod/combo that works -- did I miss something?

Appreciate any help/info,

-jca2112

Dismounted 05-26-2008 05:59 AM

The easiest way is to edit this modification to suit you.

jca2112 05-26-2008 04:17 PM

Quote:

Originally Posted by Dismounted (Post 1531539)
The easiest way is to edit this modification to suit you.

Thanks for the suggestion.

I installed that mod but it did not work for me -- have no idea if that is just me or the mod doesn't work well with 3.7.


All times are GMT. The time now is 04:59 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.02111 seconds
  • Memory Usage 1,713KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (3)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