The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hi I`m stuck on a mod and I was wondering if someone with more coding skills then me with vbulletin wold be willing to lend a hand. I got gyped by FRDS how was supposed to be doing this for me. I and trying to make a mod that shows each users avatar in a side colum with out additional queries beeing ran. Dismounted said to add define(AVATAR_ON_NAVBAR, 1); in the config.php file which made it work for some code i found here but it made it so you couldnt change it everytime the user made a new avatar. I tried my hand at it and I cant figure out where to pull the info from. I tried the function Dismounted told me and added all the right fields but its didnt show anything. My code is this (bar in mind its very simple)
PHP Code:
|
#2
|
||||
|
||||
![]()
And the PHP code you are running is?
|
#3
|
||||
|
||||
![]()
I tried using this:
require_once(DIR . '/includes/functions_user.php'); fetch_avatar_from_userinfo($user, true, true); but it only shows a link to the avatar. Can you help me out with this it seems Im not pulling any data from this function. or maybe i`m using the function wrong any way if you coul help me out i would appreciate it. |
#4
|
||||
|
||||
![]() PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|