Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 24, 20213 yr 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.
June 25, 20213 yr 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, 20213 yr by Dexter_X
June 25, 20213 yr 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!
June 25, 20213 yr 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 :
June 26, 20213 yr Author 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.
June 27, 20213 yr 16 hours ago, usmf said: Exactly perfect! Thank you so much for the help. you're welcome !