2020-08-25, 08:47 AM
The first code goes into your CSS file, the second one goes into whatever template you want, usually in header_welcomeblock_member.
This only shows the unread number.
If you want it to display the unread and the total count of your messages you can use this:
This only shows the unread number.
If you want it to display the unread and the total count of your messages you can use this:
<div class="unread unread-{$mybb->user['pms_unread']}">(unread {$mybb->user['pms_unread'] total {$mybb->user['pms_total']})</div>