The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm publishing threads from the vB3 database directly to the front-page of my site, and I'd like to have it display the time of posting. I am aware that I need to use the vbdate() function to format it, but how do I access this function from a non-vb page?
Thanks in advance, - Pin, beginner VB modder |
#2
|
||||
|
||||
![]()
just include the global.php into that file, remember to set the path correctly
|
#3
|
|||
|
|||
![]()
Hi deathemperor, thanks for the help. How do I set the path correctly? ><
I am including global.php from the base public_Html directory, and my vB is setup in /forums/ |
#4
|
|||
|
|||
![]()
Hey guys, I found out that PHP's date() function parses UNIX timestamps fine...
|
#5
|
||||
|
||||
![]()
include('./forums/global.php');
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|