The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|