Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Buttercup Posted September 10, 2021 Posted September 10, 2021 Hi I was wondering if there is a way to edit the statistics? What I am trying to achieve is the number of posts. instead of having 2.3k I would like it to say 2,300 posts.
Marc Posted September 10, 2021 Posted September 10, 2021 There isnt a setting for this, however one of our customers has placed a suggestion on how to customise this if you wanted to look? There is also an open suggestion for adding a setting for this. Buttercup 1
Buttercup Posted September 10, 2021 Author Posted September 10, 2021 I have managed to do the posts but statistic won't change. I went to the template for forum statistics. Not sure if I am in the right place. I changed the format from medium to large but it didn't change anything. Here is what I have in forum statistic template. Quote <strong>{lang="total_posts"}</strong> </div> <div class='ipsDataItem_stats ipsDataItem_statsLarge'> <span class='ipsDataItem_stats_number'>{number="$stats['total_posts']" format="long"}</span> </div> </li> </ul> </div> {{else}} <div class='ipsGrid ipsGrid_collapsePhone ipsWidget_stats'> <div class='ipsGrid_span6 ipsType_center'> <span class='ipsType_large ipsWidget_statsCount'>{number="$stats['total_topics']" format="long"}</span><br> <span class='ipsType_light ipsType_medium'>{lang="total_topics"}</span> </div> <div class='ipsGrid_span6 ipsType_center'> <span class='ipsType_large ipsWidget_statsCount'>{number="$stats['total_posts']" format="long"}</span><br> <span class='ipsType_light ipsType_medium'>{lang="total_posts"}</span> </div> </div> {{endif}} </div>
Recommended Posts