Announcement

Collapse
No announcement yet.

Last Post preview

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jake Bunce
    replied
    That is a small template modification:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_lastpostby

    Remove the red code:

    Code:
    <if condition="$show['lastpostinfo']">
    <div class="smallfont" align="$stylevar[left]">
    	<div style="clear:both">
    		<if condition="$show['icon']"><img class="inlineimg" src="$icon[iconpath]" alt="$icon[title]" border="0" /></if>
    		[color=red]<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>[/color]
    	</div>
    	<div<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>>
    		<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase>
    	</div>
    	<div align="$stylevar[right]">
    		$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
    		<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
    	</div>
    </div>
    <else />
    <div class="smallfont" align="$stylevar[right]">
    	$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
    	<a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
    </div>
    </if>
    That should do it.

    Leave a comment:


  • Don Maddox
    started a topic Last Post preview

    Last Post preview

    On each forum there is a column called "Last Post" which displays a preview of the title of the latest post. I see an option in the admin panel for trimming down the number of characters that will be shown, but is there a way to turn this off?

    This forum http://forum.belgiumdigital.com/index.php? has done what I am talking about. I hope this does not involve hacking one of the templates.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X