vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to add avatar in navbar (https://vborg.vbsupport.ru/showthread.php?t=116565)

Annapurna 05-24-2006 03:19 PM

how to add avatar in navbar
 
Hi,

I've tried to add the avatar into the navbar right to the 'Welcome Username'.

I've added this code:
Code:

<if condition="$show['avatar']"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></if>
But it didn't work.

Any suggestions?

Andreas

Rich 05-24-2006 04:39 PM

Try the "Welcome Panel" modification. It includes the avatar. I found that by the way by typing "avatar in navbar" in the search box at the top of the page. ;)

Annapurna 05-24-2006 07:11 PM

Thanks but that's not exactly waht I have been looking for.
No stats, just a simple line of code showing the avatar!

Andreas

Rich 05-24-2006 07:14 PM

Take that modification, install it, and then edit it to your needs. I suggested that because you need to put the avatar in the scope of the navbar and that modification does that for you. ;)

Annapurna 05-24-2006 07:16 PM

I've done it, installed it, but it was too much!
Unistalled again.

And unfortunately I'm not good enough in coding to scratch out the needed code...

Andreas

Rich 05-25-2006 11:53 AM

Try this out: https://vborg.vbsupport.ru/showthrea...ghlight=avatar

Annapurna 05-25-2006 03:10 PM

Just right! Thanks a lot!

Andreas


All times are GMT. The time now is 02:45 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.01062 seconds
  • Memory Usage 1,719KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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