The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Is a member's join date in $vbulletin->userinfo
I'm a little rusty, but I'm going to work on an a mod for attachment.php
I want to compare today's date to the date that each member registered on the forum and do something different if they have been a member for more than 30 days. In attachment.php, does the $vbulletin->userinfo array contain the member's join/registration date? If so, how can I access this variable to compare it to today's date? Thanks for your help, James |
#2
|
|||
|
|||
I haven't checked to make certain that it's there, but I believe $vbulletin->userinfo['joindate'] should be the user's registration date (as a unix timestamp).
|
#3
|
||||
|
||||
For today's date/time you can use the TIMENOW :up:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|