The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
...using vb3.8.4 here..
thanks a bunch Lynne..as always good to have you here at all times....well actually got no idea about much on this if you can guide assist me more pleaseif its not that much for your time at all... took this code from my both files ...hope its the right one....but no idea now what's the next step... ![]() ![]() class_userprofile.php Code:
* Prepares the User's Posts Per Day * */ function prepare_postsperday() { $jointime = (TIMENOW - $this->userinfo['joindate']) / 86400; // Days Joined if ($jointime < 1) { // User has been a member for less than one day. $postsperday = vb_number_format($this->userinfo['posts']); } else { $postsperday = vb_number_format($this->userinfo['posts'] / $jointime, 2); } $this->prepared['postsperday'] = $postsperday; } /** class_postbit.php Code:
// get join date & posts per day $jointime = (TIMENOW - $this->post['joindate']) / 86400; // Days Joined if ($jointime < 1) { // User has been a member for less than one day. $this->post['postsperday'] = $this->post['posts']; } else { $this->post['postsperday'] = vb_number_format($this->post['posts'] / $jointime, 2); } $this->post['joindate'] = vbdate($this->registry->options['registereddateformat'], $this->post['joindate']); // format posts number |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|