vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Latest Post & Time of the Post. (https://vborg.vbsupport.ru/showthread.php?t=138975)

Eagle Eyes 02-09-2007 09:13 PM

Latest Post & Time of the Post.
 
The forum has put down

Quote:

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

HTML Code:

<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 ;)

HTML Code:

<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!! :)


All times are GMT. The time now is 01:54 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01254 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete