The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm trying to set up a conditional to show a specific div if the user hasn't posted anything yet, which will be called from the header. $post[posts] isn't yielding anything, can somebody help me?
Thanks. |
|
#2
|
|||
|
|||
|
Maybe try $bbuserinfo['posts'] .
|
|
#3
|
||||
|
||||
|
$post is only valid in the postbit template.
If kh99's suggestion doesn't work the final option is $vbulletin->userinfo['posts'] |
|
#4
|
|||
|
|||
|
$bbuserinfo[posts] worked, thanks guys!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|