MyBB Community Forums

Full Version: Disable the User Titles for Staff
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I will like to disable the user titles for the staff members, how can i
do this?
A simple plugin would do the job, this is some part of it.

$plugins->add_hook( 'postbit', 'disable_usertitle' );

function disable_usertitle(&$post)
   global $mybb;

   if ( $mybb->usergroup['canmodcp'] == TRUE )
        $post['usertitle'] = '';