PDA

View Full Version : Latest Post & Time of the Post.


Eagle Eyes
02-09-2007, 09:13 PM
The forum has put down

Forum Name
description...........................

Last post: ♥ Narez LuV Hall ♥
Posted by cheeda Today 01:51 AM
Forum Info: 18 Viewing - Threads: 2944 - Posts: 334871

How do i do that? What is variable of latest post and time of the post? You see how he has done it? I would like to get that done too.

Please help.

Thank you.

Digitalus
02-09-2007, 10:00 PM
If you run the same hack, the you could do something like this

<td class="hack_colone" align="left" id="f10" width="50%">
<center>
<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img src="<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" title="$lastpostinfo[lastthread]" border="0" alt="$lastpostinfo[lastthread]" /></a>
<br />
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<br/>
<div class="smallfont" align="$stylevar[center]">
<div style="clear:both">
&nbsp;&nbsp;&nbsp;&nbsp;Last Post: <a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</div>
<div<if condition="is_browser('ie', 6)"> style="float:$stylevar[center]"</if>>
&nbsp;&nbsp;&nbsp;&nbsp;Posted <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
-$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']">-<span class="time">$lastpostinfo[lastposttime]</span></if></div>
&nbsp;&nbsp;&nbsp;&nbsp;Forum Info: Topic: $forum[threadcount]
Post: $forum[replycount]
</if>
</td>

I have done a small edit..
Now its almost the same as the demo ;)

<td class="hack_colone" align="left" id="f10" width="50%">
<center>
<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img src="<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" title="$lastpostinfo[lastthread]" border="0" alt="$lastpostinfo[lastthread]" /></a>
<br />
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<br/>
<div class="smallfont" align="$stylevar[center]">
<div style="clear:both">
&nbsp;&nbsp;&nbsp;&nbsp;Last Post: <a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostinfo[trimthread]</strong></a>
</div>
<div<if condition="is_browser('ie', 6)"> style="float:$stylevar[center]"</if>>
&nbsp;&nbsp;&nbsp;&nbsp;Posted <phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
-$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']">-<span class="time">$lastpostinfo[lastposttime]</span></if></div>
&nbsp;&nbsp;&nbsp;&nbsp;Forum Info: <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
&nbsp;Topic: $forum[threadcount]
Post: $forum[replycount]
</if>
</td>

Eagle Eyes
02-09-2007, 10:08 PM
Rock on.. Where do you want me to edit/paste this?

Digitalus
02-09-2007, 10:15 PM
In your forumhome_forumbit_columncell template..
If you have installed the same hack ( Forums arranged in columns on forumhome )

Eagle Eyes
02-09-2007, 10:28 PM
Solved. Nevermind.

Two thumbs up for you!! :)