1 removing username on log out and rename private message and profile Mon Apr 15, 2013 10:51 pm
zenzo
Registered Member
how to remove username on log out and rename the text like
"you have no new message" replace into "inbox"
i use this code
but when i create new topic it returns to normal
"you have no new message" replace into "inbox"
i use this code
- Code:
$(function() {
var x = document.getElementById('i_icon_mini_logout');
x && (x.nextSibling.nodeValue = x.nextSibling.nodeValue.replace(/\[.*?\]/g, ''));
$('#i_icon_mini_profile').parent().text('User CP');
$('.mainmenu:contains(You have no new messages)').text('PM'); // New text replace.
$('.mainmenu:contains(You have 1 new message)').text('New PM'); // New text replace.
});
but when i create new topic it returns to normal