Jump to content

Recommended Posts

Posted

With the new updates, I'm seeing abbreviated post counts on all members over 1,000 posts. This does not work for my forum. I need it back to the full number. How do I achieve that? Thanks.

image.png.dd7c327c16e1db9586526e6937999303.png

Posted (edited)

in the theme editor edit your template forums/front/topics/postContainer

then look for the string {number="$comment->author()->member_posts"

once found, around line 98, replace the format="short" by format="long"

You'll obtain something like this :

<a href="{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}&do=content" seoTemplate="profile_content" seoTitle="$comment->author()->members_seo_name"}" title="{lang="member_post_count" pluralize="$comment->author()->member_posts"}" data-ipsTooltip class="ipsType_blendLinks">
    <i class="fa fa-comment"></i> {number="$comment->author()->member_posts" format="long"}
</a>

Save the file, reload your topic : job done !

Edited by Dexter_X
Posted
12 minutes ago, Genestoy said:

Thank You! I can't test it yet as I am only working on my test forum and have no post numbers that high, but plenty on my live site!

you're welcome. 

For testing purposes we create our sandbox by "cloning" the main site, so we can see things more close to real context : 

 

Posted
18 hours ago, Dexter_X said:

in the theme editor edit your template forums/front/topics/postContainer

then look for the string {number="$comment->author()->member_posts"

once found, around line 98, replace the format="short" by format="long"

You'll obtain something like this :

<a href="{url="app=core&module=members&controller=profile&id={$comment->author()->member_id}&do=content" seoTemplate="profile_content" seoTitle="$comment->author()->members_seo_name"}" title="{lang="member_post_count" pluralize="$comment->author()->member_posts"}" data-ipsTooltip class="ipsType_blendLinks">
    <i class="fa fa-comment"></i> {number="$comment->author()->member_posts" format="long"}
</a>

Save the file, reload your topic : job done !

Exactly perfect! Thank you so much for the help.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...