MyBB Community Forums

Full Version: New PM alert code?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Anyone by chance know the code that pops out that you have a new pm? Thanks in advance, you guys rock!
The one that appears in the header next to the New/Today's Posts links?

<a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}

Or the notice bar that spans the width of your forum?

<div class="pm_alert" id="pm_notice">
	<div class="float_right"><a href="private.php?action=dismiss_notice&amp;my_post_key={$mybb->post_code}" title="{$lang->dismiss_notice}" onclick="return MyBB.dismissPMNotice()"><img src="{$theme['imgdir']}/dismiss_notice.gif" alt="{$lang->dismiss_notice}" title="[x]" /></a></div>
	<div>{$privatemessage_text}</div>
</div>
Quote:{$pm_notice}
place it any where you want the pm notice to show up
(2012-08-03, 10:07 PM)YoshiOlly Wrote: [ -> ]The one that appears in the header next to the New/Today's Posts links?

<a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}

Or the notice bar that spans the width of your forum?

<div class="pm_alert" id="pm_notice">
	<div class="float_right"><a href="private.php?action=dismiss_notice&amp;my_post_key={$mybb->post_code}" title="{$lang->dismiss_notice}" onclick="return MyBB.dismissPMNotice()"><img src="{$theme['imgdir']}/dismiss_notice.gif" alt="{$lang->dismiss_notice}" title="[x]" /></a></div>
	<div>{$privatemessage_text}</div>
</div>
OP mean totally different thing Smile
thanks the {$pm_notice} did it!