The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I'm currently writing a script that will display updates I post in my site updates forum inline with my news page (remote from vbulletin). I have been able to successfully list all posts in that forum, but haven't been able to locate the SQL row name for the date that the threads were created. I thought maybe it was simply $row["date"] but no dice. Can anyone help me out? Thanks a lot |
#2
|
||||
|
||||
![]()
Have you tried using $row['dateline'] ?
|
#3
|
|||
|
|||
![]()
Thanks for the reply. I tried dateline and it outputted strings of numbers such as: 1177397899, 1177167454, 1175904202 . Any idea how I could get these to translate into a normal date? Such as day, month, year.. etc.
Thanks for your help. |
#4
|
||||
|
||||
![]()
You could try using the vbdate function. Usage explanation can be found on the includes/functions.php file.
Alternatively you can use the www.php.net/date function. |
#5
|
|||
|
|||
![]()
Man, I'm in a total bind. I looked at functions.php and I don't think that's going to work for me. How would I use the date() function to translate that date? Can you tell me what format a date like "1177397899" is in? I've never seen anything like it before. If I know the format, maybe I can find a solution for translating it into another format.
Thanks |
#6
|
||||
|
||||
![]() PHP Code:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|