View Full Version : $post[posts] in header not working
MikesSite
01-03-2011, 03:06 AM
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.
Maybe try $bbuserinfo['posts'] .
BirdOPrey5
01-03-2011, 07:46 PM
$post is only valid in the postbit template.
If kh99's suggestion doesn't work the final option is $vbulletin->userinfo['posts']
MikesSite
01-03-2011, 08:48 PM
$bbuserinfo[posts] worked, thanks guys!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.