Hello, can someone please tell me where and how can i remove the "membergroup text" - just text, not the "stars".
Here in the screenshot what is in the red square i want gone: http://prntscr.com/5nx8rj (http://prntscr.com/5nx8rj)
li.membergroup, li.postgroup { display: none; }
Quote from: Antechinus on January 03, 2015, 05:59:19 AM
li.membergroup, li.postgroup { display: none; }
In which file is that ? :)
Just add it to the end of index.css.
Quote from: Antechinus on January 03, 2015, 06:48:25 AM
Just add it to the end of index.css.
i'm going to try this myself.
Thanks
Is that better than doing this?
In theme/display.template.php find:
// Show the member's primary group (like 'Administrator') if they have one.
if (!empty($message['member']['group']))
echo '
<li class="membergroup">', $message['member']['group'], '</li>';
Change to:
// Show the member's primary group (like 'Administrator') if they have one.
// if (!empty($message['member']['group']))
// echo '
// <li class="membergroup">', $message['member']['group'], '</li>';
Or just another way of accomplishing the same thing?
The visual look is the same, but your method saves more bandwidth.
Cool. Thanks for the explanation. :)
Yup. Removing the markup is more efficient, but it's also trickier for non-coders. If I was doing it for myself I'd remove the markup. If I'm suggesting something easy for someone who may not know PHP from a custard pie, I might suggest a quick CSS tweak. ;)
Quote from: Antechinus on January 04, 2015, 02:21:51 PM
If I'm suggesting something easy for someone who may not know PHP from a custard pie, I might suggest a quick CSS tweak. ;)
This is very often the case. If one has no idea how to locate and/or alter a specific function, then it's probably best that they are not poking around in a php file. ;D
Ah, you've learned from dire experience too I see. :D It used to drive me mental.
Here was me thinking it would drive you sane :P
Never. I shall resist assimilation! :P
Resistance is useless.