MyBB Community Forums

Full Version: Edit PM Bar?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I want to edit this bar/message:
You have 2 unread private messages. The most recent is from _____ titled ______________


I know how to edit the CSS but not the text/images, how can I edit this?

Thanks,
CatsRool
What do you want to change it to?
(2013-04-05, 02:00 AM)Dennis Tsang Wrote: [ -> ]What do you want to change it to?
I just want it like this without the bold:
You have _ new private message(s) in your inbox!

(link to the private messaging area)

Also, I want to remove that dismiss red button.

Thanks a ton! C:
In the template global_pm_alert, delete:
<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>

And in the language file, you can modify:
$lang->newpm_notice_one
and
$lang->newpm_notice_multiple
to whatever you want.
(2013-04-05, 03:20 AM)Dennis Tsang Wrote: [ -> ]In the template global_pm_alert, delete:
<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>

And in the language file, you can modify:
$lang->newpm_notice_one
and
$lang->newpm_notice_multiple
to whatever you want.
Where is the language file?
inc/languages/english/global.lang.php

You can edit this either in FTP, or in the Admin CP if you have CHMOD the language files to 666