The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I round my posts per day count to the nearest whole number. I.E. is is currently 11.65 and I would like it to appear as lets say 12
|
|
#2
|
||||
|
||||
|
In member.php, replace this:
Code:
$postsperday = sprintf("%.2f",($userinfo[posts] / $jointime));
Code:
$postsperday = ceil($userinfo[posts] / $jointime); |
|
#3
|
|||
|
|||
|
Thanks Firefly.
|
|
#4
|
|||
|
|||
|
I didn't realize how large that file is. Do you know where it is aproximately?
Example: ################## start get info ################## |
|
#5
|
||||
|
||||
|
Below that. Use Notepad to search it.
|
|
#6
|
|||
|
|||
|
thx
|
|
#7
|
|||
|
|||
|
Ok, I replaced it, saved and refreshed but no change. Any other ideas?
|
|
#8
|
|||
|
|||
|
Do I need to change the string in the postbit?
|
|
#9
|
||||
|
||||
|
[QUOTE]Originally posted by Avenger
Do I need to change the string in the postbit? |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|