usmf Posted June 24, 2021 Posted June 24, 2021 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.
Dexter_X Posted June 25, 2021 Posted June 25, 2021 (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 June 25, 2021 by Dexter_X usmf and Andy135 2
Genestoy Posted June 25, 2021 Posted June 25, 2021 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! Dexter_X 1
Dexter_X Posted June 25, 2021 Posted June 25, 2021 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 :
usmf Posted June 26, 2021 Author Posted June 26, 2021 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. Dexter_X 1
Dexter_X Posted June 27, 2021 Posted June 27, 2021 16 hours ago, usmf said: Exactly perfect! Thank you so much for the help. you're welcome !
Recommended Posts