![]() |
A request for number formatting
Similar to what we see in vB3. How would one go about applying numer_format to threadcount and replycount on forumhome, and replycount and views in forumdisplay.
It can't be all that tough to do. I played around a little myself and couldn't figure it out, but I'm no PHP guru by any means. And for those who may not be following my request, what I mean is to have numbers for the Numbers of posts, replies and views that currently appear like this in vB 2.x.x 100000 appear like this 100,000 |
in your index.php you find this line:
PHP Code:
PHP Code:
|
Thanks for pointing me in the right direction. The code I used was actually
Code:
// Number format hack |
hmm, i've meant the same, just typed wrong ;)
|
Thanks again. And for anyone that wants to know how to do post counts and view counts, I just put the code
Code:
// Number format hack |
All times are GMT. The time now is 09:22 AM. |
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:
|