How do I edit....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SunnieDelite
    New Member
    • Mar 2004
    • 7

    How do I edit....

    Pardon the newbie question (especially if it's blatantly obvious), but can anyone tell me how to change the order of the columns in the forum header (i.e. changing order of forums, last post, threads, and posts to forums, threads, posts, and last post). Also, is there a way to change the width of the columns for those specific areas? Thanks in advance!

    edit: In true newbie fashion I've posted this question in the wrong place. I'm using vBulletin 3 not 2. Sorry!
    Last edited by SunnieDelite; Tue 23 Mar '04, 8:27pm.
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    This requires editing forumhome templates. You might want to check over at vbulletintemplates.com to see if someone has already posted instructions for doing this.
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

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

      #3
      Go to your:

      Admin CP -> Templates -> Modify -> [expand list] -> Forum Home Page Templates -> forumhome

      Find this code and swap the red and green code:

      Code:
      <tr align="center">
        <td bgcolor="{tableheadbgcolor}"><smallfont>&nbsp;</smallfont></td>
        <td bgcolor="{tableheadbgcolor}" width="80%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
        [color=red]<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>[/color]
        [color=green]<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>[/color]
        <td bgcolor="{tableheadbgcolor}" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
        <td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
      </tr>
      In the above code you can manage the widths of the columns by adding width properties to them. For example, from the above code:

      Code:
        <td bgcolor="{tableheadbgcolor}" [color=red]width="X%"[/color]><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
      Then edit your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates in the same section of your Admin CP. Find this code and swap the red and green code:

      Code:
      	[color=red]<td bgcolor="{secondaltcolor}"><normalfont>$forum[replycount]</normalfont></td>[/color]
      	[color=green]<td bgcolor="{firstaltcolor}"><normalfont>$forum[threadcount]</normalfont></td>[/color]
      	<td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
      	<td bgcolor="{firstaltcolor}"><smallfont>$forum[moderators]</smallfont></td>

      Comment

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

        #4
        Originally posted by SunnieDelite
        edit: In true newbie fashion I've posted this question in the wrong place. I'm using vBulletin 3 not 2. Sorry!
        My instructions are for vB2. The vB3 instructions are very similar. The templates are located in your:

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

        Comment

        • SunnieDelite
          New Member
          • Mar 2004
          • 7

          #5
          Originally posted by Jake Bunce
          My instructions are for vB2. The vB3 instructions are very similar. The templates are located in your:

          Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates »
          No luck so far in getting the changes made. Even looking at vBulletinTemplates.com has yielded nothing that works.

          Comment

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

            #6
            Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates » -> FORUMHOME

            Find this code and swap the different colored lines of code so they are in the order you want:

            Code:
            	<tr align="center">
            	  <td class="thead">&nbsp;</td>
            	  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
            	  [color=red]<td class="thead" width="175">$vbphrase[last_post]</td>[/color]
            	  [color=green]<td class="thead">$vbphrase[threads]</td>[/color]
            	  [color=blue]<td class="thead">$vbphrase[posts]</td>[/color]
            	  <if condition="$vboptions['showmoderatorcolumn']">
            	  <td class="thead">$vbphrase[moderator]</td>
            	  </if>
            	</tr>
            Make a similar change to the FORUMDISPLAY template.

            Then edit your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post templates in the same section of your Admin CP. Do the same swap in the same order on this code:

            Code:
            		[color=red]<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>[/color]
            		[color=green]<td class="alt1">$forum[threadcount]</td>[/color]
            		[color=blue]<td class="alt2">$forum[replycount]</td>[/color]
            		<if condition="$vboptions['showmoderatorcolumn']">
            		<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
            		</if>
            Last edited by Jake Bunce; Wed 20 Oct '04, 8:32am.

            Comment

            • SunnieDelite
              New Member
              • Mar 2004
              • 7

              #7
              That did it...thank you so much!

              Comment

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