MyBB Community Forums

Full Version: Unread PMs variable
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Can someone tell me what the variable is to show "Number of unread PMs" is please?

Just need the variable for the number.

Thanks!
my_number_format($mybb->user['pms_unread'])
When I use this, it shows up as this...

my_number_format(Array['pms_unread']
If you're talking about putting it in a theme, use:

{$mybb->user['unreadpms']}
Thanks! Smile