The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How do I get , in postcounts?
So that when a user has 1000 posts, his post count is 1,000 not 1000?
|
#2
|
||||
|
||||
In admin/functions.php:
Look for: Code:
//highlight words for search engine Code:
if($post[posts] >= 1000) { $left = floor($post[posts] / 1000); $right = $post[posts] % 1000; $post[posts] = "$left".","."$right"; } |
#3
|
||||
|
||||
rack up another tweak and polish for my forum. Thanks. Is 43,875 forum posts in my own forum a lot? LOL
|
#4
|
||||
|
||||
You're welcome.
43k is small but nice. My forums are about 730k posts. This should work for you until you reach 1,000,000 posts. :laugh: |
#5
|
|||
|
|||
Quote:
PHP Code:
|
#6
|
||||
|
||||
Quote:
Example: http://www.theforumz.com/forumz/show...659#post175659 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|