The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
||||
|
||||
Didn't test this, may not work the first time
find in showthread: PHP Code:
PHP Code:
|
#3
|
||||
|
||||
cool.... thanks man.
|
#4
|
||||
|
||||
actually.... i cant find that in showthread.... are you sure it's there?
|
#5
|
||||
|
||||
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:
|
#6
|
||||
|
||||
i'm using rc3 and i still cant find it.
|
#7
|
||||
|
||||
try $post[joindate] instead
|
#8
|
||||
|
||||
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 |
#9
|
||||
|
||||
thanks for the help..... but how would i use $post[joindate]
|
#10
|
||||
|
||||
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); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|