The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Join Date on Custom Template
I've read through a countless number of threads concerning this, but I am just not understanding how to do it. How would I get the correct join date to show up? It says 1139173588, and I can't get it to convert over.
Plugins / products only if possible. Please help. >_<; |
#2
|
||||
|
||||
Help meeeee.
|
#3
|
|||
|
|||
I'm not an expert...but That is a unix timestamp.
Google "UNIX timestamp to System.DateTime" and you should find what you are looking for. |
#4
|
||||
|
||||
That's not going to help with with vBulletin though. Everything's done different within vBulletin. There's got to be an easy way to do this.
|
#5
|
|||
|
|||
Use this:
PHP Code:
|
#6
|
||||
|
||||
Hmmm... I still can't get it to work...
I'm using this to call for it: $bbuserinfo[joindate] This is what I have in my plugin... Code:
// JOIN DATE & POSTS PER DAY $vbulletin->userinfo['datejoined'] = vbdate($vbulletin->options['registereddateformat'], $unixtimestamp); $jointime = (TIMENOW - $vbulletin->userinfo['joindate']) / 86400; |
#7
|
|||
|
|||
I'm in desperate need of the previously requested information as well!
|
#8
|
|||
|
|||
Quote:
The code below will work on any vbulletin .php file or hook location: PHP Code:
|
#9
|
||||
|
||||
I have no idea what I did... but I'm not going to touch it ever again. I got it working, but it was slightly different than what you gave me. In any case, I appreciate you pushing me in the right direction, Brad.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|