MyBB Community Forums

Full Version: Forum Custom Usertitle
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Is it possible to make a custom usertitle bold or somthing?
To allow some HTML in the usertitle:

Edit usercp.php around line 589:

Find

$newtitle = htmlspecialchars_uni($user['usertitle']);

Replace with
$newtitle = strip_tags($user['usertitle'], '<b><i>');

That will allow people to use the <b> and <i> HTML tags.