The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
You saw the thread title.
How can I use the number_format() function on values such as the total number of posts on the forum home page? I tried including a line like this in the phpinclude template...Code:
$totalposts = number_format($totalposts); |
|
#2
|
||||
|
||||
|
Yes I think you have to change the actual code. Reason being that the phpinclude template is executed before the $totalposts variable has been set.
|
![]() |
|
|