![]() |
How can i add under the post count of each user the number of days they have been registered on my forum ?
i.e. [b]Username]/b] User title: Registered: Location: Post count: Days since registration: XXX where XXX is the number of days they have been registered.. i'd like to have this available in beta 4 where it can be added with some varibale like $daysregistered so that it can be used as an alternative or additional to the post count. easy to do ? |
$jointime
But it displays a little bit long number. :) |
i see it displays something like
113.63356481481 hmmm so is it possible ? |
Find in showthread.php:
PHP Code:
PHP Code:
|
thanks but it came out the same length ?
how would you round it to 2 decimal places i.e. 113.65 |
ah there are two instances of
Code:
$jointime = (time() - $post[joindate]) / 86400; // Days Joined i put the extra line after each of the 2 instances and it works |
Find in showthread.php:
PHP Code:
PHP Code:
|
thanks that worked :)
|
I needed this too, so I used:
PHP Code:
|
how would you do this for version 2.2.0 ?
|
add the code within the getpostbit function in /admin/function.php
|
All times are GMT. The time now is 03:51 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|