The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
No Sir.
I need to use this in Joomla. thank you. |
#12
|
||||
|
||||
The bit of code I gave you needs to go at the top of the page, before any HTML code.
|
#13
|
|||
|
|||
Quote:
so the code shld go before the file begin with <?php ? then can i call it using the command <?php echo $bbuseravatarurl; ?> in my field. thanks again. |
#14
|
||||
|
||||
Basically, yes.
|
#15
|
|||
|
|||
Thank you.
i will update to you on the progress. Now halfway someother thing messed up. talking abt tables in IE and FF arghhh |
#16
|
|||
|
|||
update this is the message i receive.
Fatal error: Call to a member function query_first_slave() on a non-object in /home/site/public_html/forum/includes/functions.php on line 1230 thanks |
#17
|
|||
|
|||
OK update.
got the code installed. tested but there is no error and not fetching avatar as well. any help/guide on this pls.? --------------- Added [DATE]1209574127[/DATE] at [TIME]1209574127[/TIME] --------------- this is my updated code. Code:
<?php $cwd = getcwd(); chdir('/public_html/forum'); require_once('./global.php'); if ($vbulletin->userinfo['userid']) { require_once('./includes/functions_user.php'); $bbuseravatarurl = fetch_avatar_url($vbulletin->userinfo['userid']); if (!$bbuseravatarurl) { $bbuseravatarurl = $stylevar['imgdir_misc'] . '/noavatar.gif'; } } chdir($cwd); ?> <img src="<?php echo $bbuseravatarurl;?>" width="100px" height="50px" /> |
#18
|
|||
|
|||
Does the image src point to your forums correctly? I don't think that function adds on the $vbullet->option['bburl'].
|
#19
|
|||
|
|||
hi thanks for sharing.
can u post the correct code i am not coder, i am just self learner. thank you. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|