Jump to content

Member post count shortened - How to fix?


Recommended Posts

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
Link to comment
Share on other sites

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 : 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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