The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#2
|
|||
|
|||
![]()
You could add it to the join date, like the age is done with the birthday. Create a plugin using hook userprofile_prepare and code like this:
Code:
if ($field == 'joindate') { $this->prepare_joindate(); $jd = vbdate('Y', $this->userinfo['joindate']); $td = vbdate('Y', TIMENOW); $years = $jd - $td; $this->prepared['joindate'] .= " (Member for $years years)"; $handled = true; } Obvious you could expand that to go to months if they joined less than a year ago, etc. (BTW, look in includes/class_userprofile.php to see what's going on). |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|