Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted March 31Mar 31 Will explain in picture and try explain what i meanSorry - maybe wrong word Will not have like "total posts" =1 k will have "Total posts" = 1050 Same for Total Topics Because that is now "short" format!Some help?
March 31Mar 31 Author Update now i have like this<div class="ipsWidget__content"> <ul class="ipsList ipsList--stats ipsList--stacked ipsList--border ipsList--fill"> <li> <strong class="ipsList__value">{number="$stats['total_posts']" format="short"}</strong> <span class="ipsList__label">{lang="total_posts"}</span> </li> <li> <strong class="ipsList__value">{number="$stats['total_topics']" format="short"}</strong> <span class="ipsList__label">{lang="total_topics"}</span> </li>
March 31Mar 31 This was changed a long time ago. No idea why. For larger sites the numbers look terrible.I use this, but it's just for a stats widget. It doesn't fix the many other places where the real count is hidden.SOS InvisionGlobal StatsThis tiny application will add a widget to display the total topics, posts, and members in full length (not abbreviated) numbers.Widget configuration:Display total membersRequirement:Forums app
March 31Mar 31 Author This was changed a long time ago. No idea why. For larger sites the numbers look terrible.I use this, but it's just for a stats widget. It doesn't fix the many other places where the real count is hidden.SOS InvisionGlobal StatsThis tiny application will add a widget to display the total topics, posts, and members in full length (not abbreviated) numbers.Widget configuration:Display total membersRequirement:Forums appI know - will only use in widget "Better Statistics" and was not same stats what you post above!
March 31Mar 31 Community Expert I use this, but it's just for a stats widget. It doesn't fix the many other places where the real count is hidden.Simply because you can't use hooks on IPS5 to extend the core methods as you could on IPS4: https://www.sosinvision.com.br/index.php?/file/283-disable-friendly-number-format/
March 31Mar 31 Author Simply because you can't use hooks on IPS5 to extend the core methods as you could on IPS4: https://www.sosinvision.com.br/index.php?/file/283-disable-friendly-number-format/I do not use hook - that is Tar file - i opened and see them.xml file in data folder!
March 31Mar 31 Community Expert I do not use hook - that is Tar file - i opened and see them.xml file in data folder!You mean plugin? Hook isn’t plugin! A hook will add the ability to extend classes via a plugin or an application.https://en.wikipedia.org/wiki/Monkey_patch Edited March 31Mar 31 by Adriano Faria
March 31Mar 31 Community Expert No pluginapp - tar file 😀Of coursel. IPS5 has no plugins. Not sure why you're talking about it.
March 31Mar 31 Author Of coursel. IPS5 has no plugins. Not sure why you're talking about it.Better statistics is app - not hook - not plugin!