Go Back   vBulletin Modification Discussions > vBulletin Discusions > vBulletin Modifications
Home Register FAQ Members List Calendar Mark Forums Read
vBSEO Info Tags

About This Page: This is a discussion on [help] adding a table bar to these Forum sections ? within the vBulletin Modifications forums, part of the vBulletin Discusions category, at vBulletin Modification Discussions. on my site, I have moved or am working on moving the forums in columns, and I see I'm missing the blue bar on some of the sections,, can you look over this code when you get a chance,


Reply
 
LinkBack Thread Tools
Old 09-04-2006, 07:38 PM   #1 (permalink)
Senior Member
 
Loco's Avatar
 
Join Date: Aug 2006
Location: Kansas
Posts: 267
Loco is on a distinguished road
iTrader: (0)
Question [help] adding a table bar to these Forum sections ?

on my site, I have moved or am working on moving the forums in columns, and I see I'm missing the blue bar on some of the sections,, can you look over this code when you get a chance, and let me know what to change for things to even out..

thanks man, your the best

Code:
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<if condition="$forum['subforumcolumns'] > 1">
    <tr>
        <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<table style="border: none; width: 100%;">
            $childforumbits
</table>
        </td>
    </tr>
<else />


<tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar[left]" style="padding: 0;"><img src="$stylevar[imgdir_button]/thead_forum.gif" style="position: relative; left: -3px;" alt="$vbphrase[forum]" border="0" /></td>
      <td class="thead" width="175" align="$stylevar[left]" style="padding: 0;"><img src="$stylevar[imgdir_button]/thead_lastpost.gif" style="position: relative; left: -3px;" alt="$vbphrase[last_post]" border="0" /></td>
      <td class="thead" colspan="2" style="padding: 0;" width="119"><img src="$stylevar[imgdir_button]/thead_threads-posts.gif" style="position: relative; left: -3px;" alt="$vbphrase[threads] &amp; $vbphrase[posts]" border="0" /></td>
      <if condition="$vboptions['showmoderatorcolumn']">
      <td class="thead">$vbphrase[moderator]</td>
      </if>
    </tr>

    $childforumbits
</if>
</tbody>
</if>
I can see how to remove the code, but adding the line to the new section doesnt' jump out..
the parts in blue are what I've added

Last edited by Code Monkey : 09-04-2006 at 08:35 PM.
Loco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links

Old 09-04-2006, 07:49 PM   #2 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
This should get you up and running.
Code:
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<if condition="$forum['subforumcolumns'] > 1">
    <tr>
        <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<table style="border: none; width: 100%;">
            $childforumbits
</table>
        </td>
    </tr>
<else />
    <tr align="center" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
        <td class="thead" width="100%" >&nbsp;</td>
    </tr>
    $childforumbits
</if>
</tbody>
</if>
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-04-2006, 08:24 PM   #3 (permalink)
Senior Member
 
Loco's Avatar
 
Join Date: Aug 2006
Location: Kansas
Posts: 267
Loco is on a distinguished road
iTrader: (0)
nope, that didn't do it

here is the whole forumhome_forumbit_level1_nopost template

Code:
<div class="tcat" style="padding: 0;">
	<img src="$stylevar[imgdir_button]/tcat_left.gif" alt="" border="0" style="float: left;" />
	<a style="float: right" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
	<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>



	<if condition="$show['forumdescription']"><span class="smallfont"> - $forum[description]</span></if>
	<if condition="$show['subforums']"><span class="smallfont"> - <strong>$vbphrase[subforums]</strong>: $forum[subforums]</span></if>
</div>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">


<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<if condition="$forum['subforumcolumns'] > 1">
<tr>
		<td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<table style="border: none; width: 100%;">
			$childforumbits
</table>
		</td>
	</tr>
<else />
<tr align="center">
	  <td class="thead">&nbsp;</td>
	  <td class="thead" width="100%" align="$stylevar[left]" style="padding: 0;"><img src="$stylevar[imgdir_button]/thead_forum.gif" style="position: relative; left: -3px;" alt="$vbphrase[forum]" border="0" /></td>
	  <td class="thead" width="175" align="$stylevar[left]" style="padding: 0;"><img src="$stylevar[imgdir_button]/thead_lastpost.gif" style="position: relative; left: -3px;" alt="$vbphrase[last_post]" border="0" /></td>
	  <td class="thead" colspan="2" style="padding: 0;" width="119"><img src="$stylevar[imgdir_button]/thead_threads-posts.gif" style="position: relative; left: -3px;" alt="$vbphrase[threads] &amp; $vbphrase[posts]" border="0" /></td>
	  <if condition="$vboptions['showmoderatorcolumn']">
	  <td class="thead">$vbphrase[moderator]</td>
	  </if>
	</tr>
$childforumbits
</if>
</tbody>
</if>



</table>
<div class="tfooter" style="margin: 1px 0 $stylevar[cellpadding]px 0;"><img src="$stylevar[imgdir_button]/tfooter_right.gif" style="float: right;" alt="" border="0" /><img src="$stylevar[imgdir_button]/tfooter_left.gif" style="float: left;" alt="" border="0" />&nbsp;</div>
Loco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-04-2006, 08:34 PM   #4 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
Is that what you are using for the new part?
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-04-2006, 08:36 PM   #5 (permalink)
Senior Member
 
Loco's Avatar
 
Join Date: Aug 2006
Location: Kansas
Posts: 267
Loco is on a distinguished road
iTrader: (0)
thats the whole template,,

the part i bolded in the first post is what I added.

it asked


Code:
find:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


replace with:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<if condition="$forum['subforumcolumns'] > 1">
	<tr>
		<td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<table style="border: none; width: 100%;">
			$childforumbits
</table>
		</td>
	</tr>
<else />
	$childforumbits
</if>
</tbody>
</if>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
and my origianal code had the part between the bold, between these lines

<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
Loco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-04-2006, 09:15 PM   #6 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
Code:
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<if condition="$forum['subforumcolumns'] > 1">
    <tr align="center" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
        <td class="thead" width="100%" >&nbsp;</td>
    </tr>
    <tr>
        <td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<table style="border: none; width: 100%;">
            $childforumbits
</table>
        </td>
    </tr>
<else />
    <tr align="center">
      <td class="thead">&nbsp;</td>
      <td class="thead" width="100%" align="$stylevar[left]" style="padding: 0;"><img src="$stylevar[imgdir_button]/thead_forum.gif" style="position: relative; left: -3px;" alt="$vbphrase[forum]" border="0" /></td>
      <td class="thead" width="175" align="$stylevar[left]" style="padding: 0;"><img src="$stylevar[imgdir_button]/thead_lastpost.gif" style="position: relative; left: -3px;" alt="$vbphrase[last_post]" border="0" /></td>
      <td class="thead" colspan="2" style="padding: 0;" width="119"><img src="$stylevar[imgdir_button]/thead_threads-posts.gif" style="position: relative; left: -3px;" alt="$vbphrase[threads] &amp; $vbphrase[posts]" border="0" /></td>
      <if condition="$vboptions['showmoderatorcolumn']">
      <td class="thead">$vbphrase[moderator]</td>
      </if>
    </tr>
    $childforumbits
</if>
</tbody>
</if>
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-04-2006, 09:28 PM   #7 (permalink)
Senior Member
 
Loco's Avatar
 
Join Date: Aug 2006
Location: Kansas
Posts: 267
Loco is on a distinguished road
iTrader: (0)
your the man

looks so much better
now to add unique forum icons..

thanks agian, good work CM
Loco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-04-2006, 10:16 PM   #8 (permalink)
Administrator
 
Code Monkey's Avatar
 
Join Date: May 2006
Posts: 2,204
Code Monkey is on a distinguished road
iTrader: (0)
Sweet. I am glad it worked out for you.
Code Monkey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply
Tags: , , , , ,





Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


A vBSkinworks Design Recoded By vBModder.
All Code Distributed On This Site is © 2006 by it's author.
Search Engine Optimization by vBSEO 3.1.0

All times are GMT -7. The time now is 03:07 PM.
Online Users 39
Registered 1
Guests 38
Members 3364
Active Members 219
Threads 1688
Posts 7144
Top poster: Code Monkey (2204)
Welcome to our newest member, abstrakt
Most users ever online was 235, 04-11-2007 at 08:59 AM.
Speak Out! vBulletin gets the web talking!


vBulletin Setup SEO

vBulletin graphics resource images