![]() |
this should be simple for you guys.... but i'm not a php expert.
you see (right under the avatars) where it says Registered: (registration date). how would i change it from when a person registered to the number of days since he/she registered? |
Didn't test this, may not work the first time :D
find in showthread: PHP Code:
PHP Code:
|
cool.... thanks man. :)
|
actually.... i cant find that in showthread.... are you sure it's there?
|
It may be slightly different depending on what version you are running. Just search for $userjoindate and that should be the only place you find it.
There was a mistake in that first code, instead replace it with: PHP Code:
|
i'm using rc3 and i still cant find it.
|
try $post[joindate] instead ;)
|
Oops forgot my standard disclaimer:
I don't run 2.x, I doubt I will ever run 2.x, I just own the code for reference. Sorry, seems that variable changed in RC3 which I haven't downloaded yet. thanks td |
thanks for the help..... but how would i use $post[joindate]
|
never mind... i've found an alternative. i'v change in post bits
registered: $joindate......... to registered: $jointime i then edited showthread from $jointime = (time() - $post[joindate]) / 86400; to $jointime = round ((time() - $post[joindate]) / 86400, 0); |
All times are GMT. The time now is 01:02 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:
|