![]() |
Avatar in template
I'm attempting to place the current user's avatar in a location in the header template, but the avatar variables I know fail to display the image. I tried adding the below code to the end of global.php but it didn't help. Any suggestions?
Code:
$bbuserinfo['user_avatar']="<img src='{$bbuserinfo['user_avatar']}' alt='Edit Your Avatar' border='0'>"; |
I doubt it's related, but you shouldn't have that & after the sessionurl. The sessionurl adds it on its own, if it's necessary (and it would be & to be XHTML-compliant).
|
Quote:
<tag var="X"></tag> AFAIK you will need to query the database in some form to get what you want. |
Got it. Here's the code. Place this in phpinclude_start
Code:
require_once('./includes/init.php'); |
All times are GMT. The time now is 08:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|