News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

total number of posts

Started by Artmotiv, January 09, 2019, 06:12:48 PM

Previous topic - Next topic

Artmotiv

HI,

how to add total post under profile picture area?
I somehow "lost it" and cannot find where in admin area I can enable it again :(


thanks in advance.

Br,
Art

GigaWatt

That's the mini profile.

I don't think you can actually do that (hide number of posts), not without a mod.

In any case, it's a theme issue. Did you change something in your theme recently? Install any mods that might have modified theme files?
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Sir Osis of Liver

It's in Display.template.php -



// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';



Option to disable is in Admin -> Features and Options -> Profile Fields.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Artmotiv

Quote from: Sir Osis of Liver on January 09, 2019, 09:34:48 PM
It's in Display.template.php -



// Show how many posts they have made.
if (!isset($context['disabled_fields']['posts']))
echo '
<li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';



Option to disable is in Admin -> Features and Options -> Profile Fields.

Thanks! That`s what I was missing :)


Advertisement: