The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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:
|
#2
|
||||
|
||||
![]() Code:
$vbulletin->options['avatarenabled'] == !0 Should be: Code:
$vbulletin->options['avatarenabled'] != 0 |
#3
|
|||
|
|||
![]()
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:
|
#4
|
||||
|
||||
![]()
Try: $show['avatar']
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|