The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I have a hack on my forum home page which displays the 10 most recent posts. But next to the "Go To Last Post Button" I want to display the date (like in the forum view which is below this list).
The code I am using to show the date and time of the last post in that thread is Code:
$lastpostinfo[lastpostdate] Any thoughts as to what I am doing wrong would be appreciated. |
#2
|
|||
|
|||
![]()
Maybe you should ask this in the thread of the hack you have installed. Maybe this info don't get queried from teh database. Difficult to give an answer without seeing the hack.
|
#3
|
||||
|
||||
![]() Quote:
KirbyDE kindly ported it into 3.5.0 for me but I don't think he has the time to assist or I would not need to ask here. |
#4
|
|||
|
|||
![]()
Well then you should at least post the hack here, and maybe someone will be so kind to look at it. But without seeing it, there is no chance someone can guess why it doesn't work, or what to changes to make it work.
|
#5
|
||||
|
||||
![]() Quote:
Code:
<tr> <td class="alt1Active" id="t$last[threadid]"> <div> <a href="showthread.php?$session[sessionurl]t=$last[threadid]"><if condition="$shownewpost"><strong><font color="#ca0000"></if>$last[title]<if condition="$shownewpost"></font></strong></if></a> </div> <div class="smallfont"><span style="float:$stylevar[right]">Forum: <a href="forumdisplay.php?$session[sessionurl]f=$last[forumid]" alt="$last[forumtitle]">$last[forumtitle]</a></span><span style="cursor:pointer" onclick="window.open('member.php?$session[sessionurl]u=$last[postuserid]')">$last[postusername]</span> </div> </td> <td class="alt2" title="<phrase 1="$last[replycount]" 2="$last[views]">$vbphrase[replies_x_views_y]</phrase>"> <div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap"> <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> </div> </td> <td class="alt1" align="center"> $last[replycount] </td> <td class="alt2" align="center">$last[views]</td> </tr> Do you need any other info? |
#6
|
|||
|
|||
![]() ![]() You should have posted the plugin, not the template. Not much we can see from that. |
#7
|
|||
|
|||
![]() Quote:
![]() |
#8
|
||||
|
||||
![]() Quote:
|
#9
|
|||
|
|||
![]()
So you just want the date and time of the lastpost?
|
#10
|
||||
|
||||
![]() Quote:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|