![]() |
And also for post counts, in postbit and member list :D
|
For post counts in postbit, put this code anywhere in the buildpostbit function in functions.php
$post[posts]=number_format($post[posts]); |
And for memberlist post counts:
memberlist.php, find: $userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]); Below it, add: $userinfo[posts]=number_format($userinfo[posts]); Done. Thanks for the hack Tigga :) |
Nice addition. :)
|
Doh! Found another...
To add this to the post counts in a users profile, In member.php find: $userinfo[datejoined]=vbdate($dateformat,$userinfo[joindate]); Below that, add: $userinfo[posts]=number_format($userinfo[posts]); Thanks for the "mini-hack", Tigga. ::installs original + everyones add-ons:: |
Tigga, in your instructions, shouldn't this:
PHP Code:
PHP Code:
|
Bofo - No, actually the code you're looking for in those 2 files is useless. The $replies and $views variables aren't used anywhere in the templates, so I'm not sure why the code is even there in the first place (other than the devs forgot to remove it). That's why I figured it best to trade out that code for something a little more useful. ;)
|
I just checked the templates. You're right. I don't see those anywhere at all. Thanks for clearing that up. ;)
BTW: It's Boofo, not Bofo. ;) |
No problem at all. I thought it was kinda strange that the code was in there as well and made sure it wasn't used anywhere first. Maybe they were planning on using the number_format tags at first and forgot about it? Who knows...
Sorry about the typo in your name. Guess I was typing a little too fast. ;) |
I would tend to believe it is just forgotten code. ;)
BTW: Did you get the pm I sent you? |
All times are GMT. The time now is 05:16 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:
|