PDA

View Full Version : Posts per day


dotagious
12-17-2001, 05:00 PM
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

Admin
12-17-2001, 05:17 PM
In member.php, replace this:
$postsperday = sprintf("%.2f",($userinfo[posts] / $jointime));
with this:
$postsperday = ceil($userinfo[posts] / $jointime);

dotagious
12-18-2001, 12:51 AM
Thanks Firefly.

dotagious
12-18-2001, 12:59 AM
I didn't realize how large that file is. Do you know where it is aproximately?

Example:

################## start get info ##################

Admin
12-18-2001, 11:53 AM
Below that. Use Notepad to search it.

DOE
12-18-2001, 12:07 PM
thx

dotagious
12-18-2001, 01:33 PM
Ok, I replaced it, saved and refreshed but no change. Any other ideas?

dotagious
12-18-2001, 01:39 PM
Do I need to change the string in the postbit?

FWC
12-18-2001, 04:20 PM
[QUOTE]Originally posted by Avenger
Do I need to change the string in the postbit?