Jump to content

How can I hide group titles from the user pane in threads?


cualupe

Recommended Posts

Posted

I want to hide where it has the group people are in:

UgZxlgc.png

 

How can I achieve this please? It serves zero purpose on my forum other than to include pointless text in the user pane.

Thanks

Posted

Thanks to @steve00 for this:

 

Depends if want to do via templates or css

via template:

admincp >> customizations >> themes >> far right of theme name click the edit HTML/CSS button >> templates tab

scroll down to forums >> topics >> postContainer

find:

			<li>{expression="\IPS\Member\Group::load( $comment->author()->member_group_id )->formattedName" raw="true"}</li>

and comment out by adding <!-- before the above and --> after the above like

via css then you would need to make sure each group has a color (admincp >> members >> groups >> far right of each group click the edit button

add your colors there for each group (look at the admin group to get an idea of what is required)

then in custom.css add:

.cAuthorPane_info span[style] {
  display: none;
}

NOTE: if use template route then you will likely have to re-do with every IPS update (revert the template and re-add the changes)

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...