Jump to content

Expand Count Values


Recommended Posts

Try to replace the short format by long format in the html, for example (for your forum stat widget) replace this

{number="$stats['total_topics']" format="short"}

by this

{number="$stats['total_topics']" format="long"}

 

Link to comment
Share on other sites

7 minutes ago, scaz said:

Try to replace the short format by long format in the html, for example (for your forum stat widget) replace this

{number="$stats['total_topics']" format="short"}

by this

{number="$stats['total_topics']" format="long"}

 

Thanks, I was afraid it would be a template edit.

I'd prefer not to do that as I don't want to have to edit it with each update.

Not sure why it was changed.

Link to comment
Share on other sites

15 hours ago, scaz said:

Try to replace the short format by long format in the html, for example (for your forum stat widget) replace this

{number="$stats['total_topics']" format="short"}

by this

{number="$stats['total_topics']" format="long"}

 

Hello scaz,

 

where should I edit it? For example, to have the complete value  under the user's avatar instead of the shorten version.

 

Thank you!

Link to comment
Share on other sites

5 hours ago, Balto said:

Hello scaz,

where should I edit it? For example, to have the complete value  under the user's avatar instead of the shorten version.

Thank you!

For the count post under avatar you need to edit the 'postContainer'

Forum -> front -> topics -> postContainer

search

{number="$comment->author()->member_posts" format="short"}

and replace by

{number="$comment->author()->member_posts" format="long"}

it will replace 'short' by 'long' 😉 

screenshot for short format vs long format

1366600757_Capturedcran2021-08-1216_06_53.png.2fd833254251894954627e0656a84997.png95999934_Capturedcran2021-08-1216_08_38.png.b2bf6434b6fb370f25c530e234d742b1.png

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

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