vb.org Archive

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

lasto 10-24-2008 05:03 AM

User Avatar
 
I want to call in the user avatar but i dont want to have to add a hack to do this such as the welcome panel as i only need the avatar part to display in my side menu.

Does anyone know the code to call this in plz.

lasto 10-26-2008 03:36 PM

im using this code :

PHP Code:

<a href="profile.php?$session[sessionurl]do=editavatar"><center><img src="image.php?u=$bbuserinfo[userid]alt="Your avatar" border="0" /></center></a

and it calls it and displays it in side menu just fine but the problem is = if i change the avatar it changes fine in postbit but not in my side menu which keeps the old avatar.

Lynne 10-26-2008 03:43 PM

Did you try hitting refresh on the page? (or Force Refresh - shift + refresh)

lasto 10-26-2008 03:53 PM

can refresh as many times as i like it did`nt change in side menu but changed instantly in postbit.

It sort of made me believe the code i was using to call in the avatar was not the right one even though it displays fine.

Lynne 10-26-2008 05:54 PM

It could be that the avatar has not been determined at the time that the side bar is spit out. It's hard to say with the information given. I've never put a side bar on my site, so I'm not familiar with how any of them are added and when the code for them is spit out.


All times are GMT. The time now is 10:14 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.01419 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)bbcode_php_printable
  • (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