The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
![]()
It would not fit in your situation - I was only referring to fetching an avatar for the current logged in user.
|
#12
|
|||
|
|||
![]()
dont know if this code may help.
PHP Code:
call with PHP Code:
|
#13
|
|||
|
|||
![]() Quote:
![]() |
#14
|
|||
|
|||
![]()
Hey man. What are you using to run MEC. Thats an amazing site, really like it alot especially the homepage :up:
|
#15
|
|||
|
|||
![]()
Thanks... I'm using vBulletin and Wordpress (currently at 3.6, testing 3.7 /w avatar issues) with the Wordpress/vBulletin mod from here - and a boatload of other smaller plugins.
|
#16
|
||||
|
||||
![]()
Look in class_core.php (vB_Session class constructor).
|
#17
|
|||
|
|||
![]()
Can I do something like this
Code:
START PHP INCLUDE VB GLOBAL FILES INCLUDE VB USER FILES ECHO HTML IMAGE OF AVATAR ELSE ECHO HTML IMAGE OF BLANK AVATAR END IF END PHP <img src="$vB->avatar_of_user.$extension" alt="" border="" /> And its not only if they are logged in, it will always show the avatar of a user pulling from a forum |
#18
|
||||
|
||||
![]()
See the fetch_avatar_url() function.
|
#19
|
|||
|
|||
![]()
Its not in class_core.php
fetch_avatar_url() Can you please tell me where it is and an example of how to call it? PHP Code:
|
#20
|
||||
|
||||
![]()
The reference to class_core.php by me was for putting the avatar in the navbar. I would suggest getting a mass search program to help you find things like this in files.
See the vBulletin API. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|