I want to remove a little thing :)

Started by Fjclip99, January 03, 2015, 05:22:47 AM

Previous topic - Next topic

Fjclip99

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

Antechinus

li.membergroup, li.postgroup { display: none; }

Fjclip99


Antechinus


Bruce the Shark


Steve

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?
My pet rock is not feeling well. I think it's stoned.

Arantor

The visual look is the same, but your method saves more bandwidth.
Holder of controversial views, all of which my own.


Steve

My pet rock is not feeling well. I think it's stoned.

Antechinus

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. ;)

ARG01

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
No, I will not offer free downloads to Premium DzinerStuido themes. Please stop asking.

Antechinus

Ah, you've learned from dire experience too I see. :D It used to drive me mental.

Arantor

Here was me thinking it would drive you sane :P
Holder of controversial views, all of which my own.


Antechinus


Arantor

Holder of controversial views, all of which my own.


Advertisement: