Make the 'date' of posting on it's own line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fewski
    Member
    • Apr 2006
    • 77

    Make the 'date' of posting on it's own line

    On the main page of the forum, it looks kind of crowded with the thread, username, and time it was posted. Looks like this:


    TITLE
    by USERNAME TIME

    How can I get the TIME under the 'by USERNAME'?

    Thanks
    Last edited by Fewski; Tue 19 Sep '06, 3:54pm.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    It is already on a new line in the default style from what I can see.

    Comment

    • Fewski
      Member
      • Apr 2006
      • 77

      #3
      In FireFox it is, but in IE it isn't? Thanks

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Try removing the red code from the forumhome_lastpostby template:

        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>
        	<div[color=red]<if condition="is_browser('ie', 6)"> style="float:$stylevar[left]"</if>[/color]>
        		<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]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><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]p=$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
        </div>
        </if>

        Comment

        • Marcos2
          Senior Member
          • Feb 2007
          • 717

          #5
          How do you get it so that it is on the same line as firefox. In IE it is on its own line as well as Opera, but not in firefox.

          Thanks,

          Marcos
          test

          Comment

          • peterska2
            Senior Member
            • Oct 2003
            • 8869
            • 3.7.x

            #6
            It is on a new line in the default style.

            Comment

            • Marcos2
              Senior Member
              • Feb 2007
              • 717

              #7
              Originally posted by Kerry-Anne
              It is on a new line in the default style.
              Thanks for the reply. I actually want it on the same line as the posters name, not a new line. Right now it is on a new line in Firefox (but on the same line on IE and Opera). How do I get it to be on the same line on Firefox?
              test

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎