![]() |
PHP/vBulletin question?? about avatars
Ok I am trying to use this conditional to show a users avatar if they have it enabled, and if they don't then show this....basically if they have an avatar show it then if not show the default one i have made...here is my code....This code is outside of the forums on a basic PHP page....I have included the vBulletin files needed to do this, but it's not working...I might have the conditional wrong...
PHP Code:
|
Code:
$vbulletin->options['avatarenabled'] == !0 Should be: Code:
$vbulletin->options['avatarenabled'] != 0 |
I didn't mean to put that there....however, I did do exactly what you put and I still get nothing when I login...
I also did this: PHP Code:
|
Try: $show['avatar']
|
All times are GMT. The time now is 09:58 AM. |
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:
|