The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]() Quote:
Posts Per Day : 9,624 4896 0 It is working because 9,624 / 4896 is the total post per day i am getting.....but it wont display it on the postbit_legacy... Any thoughts? --------------- Added [DATE]1373886774[/DATE] at [TIME]1373886774[/TIME] --------------- I changed it to the following: Code:
if (($days = round((TIMENOW-$post['joindateline']) / 86400)) <= 0) { $days = 1; } $ppd = round($post['posts'] / $days, 4); $template_hook['postbit_userinfo_right_after_posts'] .= "<dt>Posts Per Day</dt><dd>$ppd</dd>"; Posts Per Day : 0.0018 instead of the 1.97 ...... --------------- Added [DATE]1373888531[/DATE] at [TIME]1373888531[/TIME] --------------- So I have been told that because my total post count is 9,625, this plugin's code is interpreting the "," as an integer? So it has to be converted to a float so that it rounds of the number correctly since it has the "," in the number? --------------- Added [DATE]1373925272[/DATE] at [TIME]1373925272[/TIME] --------------- Any update on this you guys? |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|