No announcement yet.

remove profile link in "Last Post by" column

  • Filter
  • Time
  • Show
Clear All
new posts

  • remove profile link in "Last Post by" column

    hi, I've extensively searched through the forums trying to find an answer to this, so if i has already been asked a lot then I apologize for the redundancy.

    Anyway, I would like to disable the link to a user's profile field that is contained within their name on the "Last Post by" column. I'd like to do this for both the forum display and the thread display, but I assume one change will do both. I disabled the link for the thread starter in the threadbit template, so I know it's doable, but any direction would be most welcome!


  • #2
    Just the link, not the name, right?

    For the forum listings go to your:

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

    Remove the red 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>
    		<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<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>>
    		[color=red]<phrase 1="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]" 2="[/color]$lastpostinfo[lastposter][color=red]">$vbphrase[by_x]</phrase>[/color]
    	<div align="$stylevar[right]">
    		$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
    For the thread listing go to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Threadbit Templates -> threadbit

    Remove the red code:

    	<td class="alt2" title="<phrase 1="$thread[replycount]" 2="$thread[views]">$vbphrase[replies_x_views_y]</phrase>">
    		<div class="smallfont" style="text-align:$stylevar[right]; white-space:nowrap">
    			$thread[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$thread[lastposttime]</span></if><br />
    			[color=red]<phrase 1="member.php?find=lastposter&amp;t=$thread[threadid]" 2="[/color]$thread[lastposter][color=red]">$vbphrase[by_x]</phrase>[/color]  <a href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>


    • #3
      that did it. Thanks!


      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.