MyBB Community Forums

Full Version: Change PM info at the top
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, what do I need to edit to change;

(New 0, Unread 0, Total 0)

to just...

(Unread 0, Total 0)

Thanks Smile
hey

open ./inc/languages/english/global.php

Find
$l['welcome_pms_usage'] = "(New {1}, Unread {2}, Total {3})";
replace with
$l['welcome_pms_usage'] = "(Unread {1}, Total {2})";

Now open global.php

find
	$lang->welcome_pms_usage = sprintf($lang->welcome_pms_usage, my_number_format($mybb->user['pms_new']), my_number_format($mybb->user['pms_unread']), my_number_format($mybb->user['pms_total']));
replace with
	$lang->welcome_pms_usage = sprintf($lang->welcome_pms_usage, my_number_format($mybb->user['pms_unread']), my_number_format($mybb->user['pms_total']));

regards
Awesome!

Thanks so much! Big Grin