![]() |
Add commas to replycounts, thread views, etc
This "hack" is so simple I'm really surprised nobody's released it here before, or that it's not included in vB2 (though it is done this way in vB3). All this does is add commas to the number of threads & posts in each forum on your index page, and to the number of replies & views on the forum display page. So for a thread that has 1,000 views, it would normally be shown as "1000". This changes it to add the number format and show "1,000" instead. I know this is really simple, but I figured someone might find it useful since it makes those numbers a little easier to read. :)
|
Thanks alot!
But would a dot (point) perhaps look nicer instead of a comma? So, if i wanted to do that, is that an easy thing to change? Best regards, Aaron |
For the moment I wasn't sure if life was worth living anymore, until I found this hack. :p
Well done. [high]* Velocd clicks install[/high] |
Aaron1 - Yes, that is possible and fairly easy to do. In index.php and the first edit in forumdisplay.php, you would use this code instead:
PHP Code:
PHP Code:
|
Thanks!
|
Quote:
|
bah i never visit general hacking forum or request forum
guess imma missing lots of cool mini hacks ;_; |
Don't forget the subscribed threads in the usercp. ;)
|
Hehe for some reason i have this hack installed on my forums and for the life of me i can't remember how, why, when i did it :)
Thanks for releasing to the "Full Releases" browsing community ;) hehe - miSt |
Thanks for pointing that out Boofo. I just updated the attachment to include instructions for subscribed threads too. :)
|
All times are GMT. The time now is 07:32 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:
|