Customizing SMF > SMF Coding Discussion

How Not To Display Certain Member Info?

(1/1)

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.

Ben_S:
Themes/xxx/display.template.php

Stars

Find


--- Code: --- echo '
', $message['member']['group_stars'], '<br />';
--- End code ---

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

ldk:
Excellent. Works great. Thanks!

I was searching for the right code in Display.php itself and not the theme-specific version. Duh. :P

Navigation

[0] Message Index

Go to full version