The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New to PHP
I'm trying out this code to output all users last post dates. But when I exectue it it doesnt ouput a thing. What am I doing wrong?
PHP Code:
|
#2
|
||||
|
||||
try echo $lastpost . "<br />";
|
#3
|
||||
|
||||
I think it is becasue $dateformat isn't defined yet (unless it is in vb, but I don't think it is). Try using $vboptions['dateformat'] instead of $dateformat. If you want to display the date and the time the way vB does replace everything inside your while loop with:
PHP Code:
|
#4
|
|||
|
|||
Quote:
Thanks alot. Works great now |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|