![]() |
convert postbit 'posts' value to a format w/o commas.
i'm trying to evaluate the postcount in the postbit within the template.
example: Code:
<if condition="$post[posts] > 50"> The template engine apparently does not recognize the numbers past the comma. I'm thinking I could create a plugin to re-format the number and create a new template variable named $post[posts_unformatted] or something like that. Can anyone point me in the right direction on where to start with this? .. or perhaps there is another plugin that does something similar that I can look into how it was implemented. |
All times are GMT. The time now is 12:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|