MyBB Community Forums

Full Version: Hide text title
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all, did a quick search and couldn't find anything that would help me.

I am using on my forum Group image for each groups. But the text title (administrator for example) is still showing, if I erase the title from the group management list, it shows as Junior member. Is there a way to completely stop showing this title for those who are in a group with group image?

Thanks for your time,
Snake_Doc
Open ./inc/functions_post.php

Find
		if($usergroup['stars'])
		{
			$post['stars'] = $usergroup['stars'];
		}

Add Above
		if($post['groupimage'])
		{
			$post['usertitle'] = "";
		}

Note, In the postbit_author_user template, there's a <br /> after {$post['usertitle']} so if the usertitle is empty ( groupimage == true ) , there will be a "gap" between the Username and the Userstars.
LeX- Wrote:Open ./inc/functions_post.php

Find
		if($usergroup['stars'])
		{
			$post['stars'] = $usergroup['stars'];
		}

Add Above
		if($post['groupimage'])
		{
			$post['usertitle'] = "";
		}

Note, In the postbit_author_user template, there's a <br /> after {$post['usertitle']} so if the usertitle is empty ( groupimage == true ) , there will be a "gap" between the Username and the Userstars.

You could also use this.
		if($post['groupimage'])
		{
			$post['usertitle'] = "";
		}
		else
		{
			$post['usertitle'] .= "<br />";
		}

Then delete the <br /> in the template.