PDA

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.

kh99
01-03-2011, 04:52 AM
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!