News:

Wondering if this will always be free?  See why free is better.

Main Menu

How Not To Display Certain Member Info?

Started by ldk, June 18, 2004, 02:34:01 PM

Previous topic - Next topic

ldk

To the left of an actual post you see:

Username
User Group Name
Number of Stars
Number of Posts
Avatar
Text Under Avatar

I'd like to not display the "User Group Name" and the "Number of Stars" because believe it or not some member are complaining that people are posting silly extraneous messages just to bump up to the next User Group.

Can someone tell me which php file to edit to get rid of these?  I'm generally able to find this kind of thing but I haven't been able to find this.
see SMF put to the test at http://www.craftster.org/

Ben_S

Themes/xxx/display.template.php

Stars

Find

echo '
', $message['member']['group_stars'], '<br />';


And delete it

Number of posts

Find

         echo '
                        ', $txt[26], ': ', $message['member']['posts'], '<br />
                        <br />';

And delete it.

That should work I think though I've not tested it
Liverpool FC Forum with 14 million+ posts.

ldk

Excellent. Works great. Thanks!

I was searching for the right code in Display.php itself and not the theme-specific version. Duh. :P
see SMF put to the test at http://www.craftster.org/

Advertisement: