![]() |
What date is $last['lastpost'] ?
(This is the code from the plugin) Code:
$last['lastpost'] = vbdate($vboptions['dateformat'], $last['lastpost'], true); |
Quote:
|
Okay, let me rephrase - have you tried using $last[lastpost] as it would seem to suggest it is what you want.
|
Quote:
If you check the template code I quoted above I am currently using this, but nothing is displaying. Code:
<div><phrase 1="member.php?find=lastposter&t=$last[threadid]" 2="$last[lastposter]">$vbphrase[by_x]</phrase></div> $last[lastpost] <a href="showthread.php?$session[sessionurl]goto=newpost&t=$last[threadid]" title="<phrase 1="$last[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="<phrase 1="$last[title]">$vbphrase[go_first_unread_in_thread_x]</phrase>" border="0" /></a> |
In the plug-in, try changing this line:
PHP Code:
PHP Code:
|
good eye booboo, I didn't even notice that... I guess 3.0 is still stuck in my physie
|
Lucky guess is all, as with most of my coding. ;)
|
1 Attachment(s)
Many thanks kind Sir. That has got the date displaying.
However, the time is not next to the date, as in the forum view. Any chance of stretching a favour and asking how I correct this? You will see from the screen shots what I mean. The first is the view in the Top 10 list, but the second is taken from the forum view and is how I would like it to look. |
Quote:
|
Change that new code BooBoo gave you which was:
PHP Code:
PHP Code:
|
All times are GMT. The time now is 10:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|