Status
Not open for further replies.

Chris2k

Banned
Banned
901
2009
17
0
look :

shoy.jpg


Can any1 help me make the forums go aside the sidebar an not below it...

Here is my sidebar code:

Code:
    <!-- BEGIN CONTENT AREA -->
 
<table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td valign="top" class="contentPadding" width="214">
    <! BEGIN LEFT CONTENT AREA -->
 
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr><td class="navigationTop">Account Info</td></tr>
    <tr><td class="navigationContent smallfont">
<if condition="$show['member']">
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Username:</b> $bbuserinfo[musername]</div>
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Member ID:</b> $bbuserinfo[userid]</div>
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Posts:</b> $bbuserinfo[posts]</div>
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Reputation:</b> $bbuserinfo[reputation]</div>
<div style="padding-bottom: 4px; padding-top: 4px;"><b>Inbox:</b> $bbuserinfo[pmunread]</div>
<if condition="$show['notifications'] AND $show['popups']">
<div style="border-top: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;">
   <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]"><font color="darkgreen"><strong>Notifications:</strong></a> <strong>$notifications_total</strong></font></span></div>
   <script type="text/javascript"> vBmenu.register("notifications"); </script></if>
<else />

<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
  <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
            <div style="margin-bottom: 5px;" align="center"><input type='text' class='username_bg' name='vb_login_username' id='navbar_username' maxlength="80" accesskey='u'
tabindex='1' value='' /></div>
<div align="center" style="margin-bottom: 2px;">
            <input type='password' class='password_bg' name='vb_login_password' accesskey='p' maxlength="80" tabindex='2' /></div>
<div style="margin-bottom: 3px;">
          <input type='checkbox' name='cookieuser' value='1' tabindex='3' id='cb_cookieuser_navbar' accesskey='c' checked='checked' />Remember Me</div>  <div align="center"><input type='submit' class="smallfont inlineimg" style="width: 61px; font-weight: bold; height: 23px; margin: 0; border: 0; color: white; background: transparent url($stylevar[imgdir_misc]/loginbg.gif) no-repeat;" accesskey='s' tabindex='8' value='LOGIN' /> <a href="register.php"><img class="inlineimg" src="$stylevar[imgdir_misc]/join_us.gif" alt="" /></a></div>
  <input type="hidden" name="s" value="$session[sessionhash]" />
  <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
  <input type="hidden" name="do" value="login" />
  <input type="hidden" name="vb_login_md5password" />
  <input type="hidden" name="vb_login_md5password_utf" />
        </form>
<div align="right" style="margin-top: 5px;"><a href="login.php?do=lostpw"><u>Lost password?</u></a></div>
</if>
</td></tr>
    <tr><td><img src="$stylevar[imgdir_misc]/navigation_bottom.gif" alt="" /></td></tr>
    </table>
    <br />
    <!-- BEGIN LATEST POSTS BLOCK -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr><td class="latestTop">Latest Posts</td></tr>
    <tr><td class="latestContent">$latest_posts</td></tr>
    <tr><td><img src="$stylevar[imgdir_misc]/latest_b.gif" alt="" /></td></tr>
    </table>
    <br />
    <!-- END LATEST POSTS BLOCK -->
    <!-- BEGIN RANDOM BLOCK 1 -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr><td class="statsTop">Random Box 1</td></tr>
    <tr><td class="statsContent"></td></tr>
    <tr><td><img src="$stylevar[imgdir_misc]/stats_bottom.gif" alt="" /></td></tr>
    </table>
    <br />
    <!-- END RANDOM BLOCK 1 -->
    <!-- BEGIN RANDOM BLOCK 2 -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr><td class="adsTop">Random Box 2</td></tr>
    <tr><td class="adsContent"></td></tr>
    <tr><td><img src="$stylevar[imgdir_misc]/ads_bottom.gif" alt="" /></td></tr>
    </table>
    <br />
    <!-- END RANDOM BLOCK 2 -->

</td>
    <!-- BEGIN SIDE BAR -->
    <td valign="top" class="sideBar"><img src="$stylevar[imgdir_misc]/side_bar.gif" alt="" /></td>
    <!-- BEGIN RIGHT CONTENT AREA -->
 
    <td class="contentPadding" valign="top">
 
4 comments
here is all of my template :

Code:
$stylevar[htmldoctype]
<html xmlns="[URL]http://www.w3.org/1999/xhtml[/URL]" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
 <!-- no cache headers -->
 <meta http-equiv="Pragma" content="no-cache" />
 <meta http-equiv="Expires" content="-1" />
 <meta http-equiv="Cache-Control" content="no-cache" />
 <!-- end no cache headers -->
 $headinclude
 <title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<!--{%SHOUTBOX%}-->
    <!-- BEGIN CONTENT AREA -->
 
<table width="210" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td valign="top" class="contentPadding" width="214">
    <! BEGIN LEFT CONTENT AREA -->
 
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr><td width="210" valign="top">
    <tr><td class="navigationTop">Account Info</td></tr>
    <tr><td class="navigationContent smallfont">
<if condition="$show['member']">
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Username:</b> $bbuserinfo[musername]</div>
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Member ID:</b> $bbuserinfo[userid]</div>
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Posts:</b> $bbuserinfo[posts]</div>
<div style="border-bottom: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;"><b>Reputation:</b> $bbuserinfo[reputation]</div>
<div style="padding-bottom: 4px; padding-top: 4px;"><b>Inbox:</b> $bbuserinfo[pmunread]</div>
<if condition="$show['notifications'] AND $show['popups']">
<div style="border-top: 1px solid #5F5F5F; padding-bottom: 4px; padding-top: 4px;">
   <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]"><font color="darkgreen"><strong>Notifications:</strong></a> <strong>$notifications_total</strong></font></span></div>
   <script type="text/javascript"> vBmenu.register("notifications"); </script></if>
<else />

<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
  <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
            <div style="margin-bottom: 5px;" align="center"><input type='text' class='username_bg' name='vb_login_username' id='navbar_username' maxlength="80" accesskey='u'
tabindex='1' value='' /></div>
<div align="center" style="margin-bottom: 2px;">
            <input type='password' class='password_bg' name='vb_login_password' accesskey='p' maxlength="80" tabindex='2' /></div>
<div style="margin-bottom: 3px;">
          <input type='checkbox' name='cookieuser' value='1' tabindex='3' id='cb_cookieuser_navbar' accesskey='c' checked='checked' />Remember Me</div>  <div align="center"><input type='submit' class="smallfont inlineimg" style="width: 61px; font-weight: bold; height: 23px; margin: 0; border: 0; color: white; background: transparent url($stylevar[imgdir_misc]/loginbg.gif) no-repeat;" accesskey='s' tabindex='8' value='LOGIN' /> <a href="register.php"><img class="inlineimg" src="$stylevar[imgdir_misc]/join_us.gif" alt="" /></a></div>
  <input type="hidden" name="s" value="$session[sessionhash]" />
  <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
  <input type="hidden" name="do" value="login" />
  <input type="hidden" name="vb_login_md5password" />
  <input type="hidden" name="vb_login_md5password_utf" />
        </form>
<div align="right" style="margin-top: 5px;"><a href="login.php?do=lostpw"><u>Lost password?</u></a></div>
</if>
</td></tr>
    </table>
    <br />
    <!-- BEGIN LATEST POSTS BLOCK -->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr><td class="latestTop">Latest Posts</td></tr>
    <tr><td class="latestContent">$latest_posts</td></tr>
    <tr><td><img src="$stylevar[imgdir_misc]/latest_b.gif" alt="" /></td></tr>
    </table>
    <br />
    <!-- END LATEST POSTS BLOCK -->
    <!-- BEGIN RANDOM BLOCK 1 -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr><td width="210" valign="top">
    <tr><td class="statsTop">Random Box 1</td></tr>
    <tr><td class="statsContent"></td></tr>
    <tr><td><img src="$stylevar[imgdir_misc]/stats_bottom.gif" alt="" /></td></tr>
    </table>
    <br />
    <!-- END RANDOM BLOCK 1 -->
    <!-- BEGIN RANDOM BLOCK 2 -->
    <table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
    <tr><td width="210" valign="top">
    <tr><td class="adsTop">Random Box 2</td></tr>
    <tr><td class="adsContent"></td></tr>
    <tr><td><img src="$stylevar[imgdir_misc]/ads_bottom.gif" alt="" /></td></tr>
    </table>
    <br />
    <!-- END RANDOM BLOCK 2 -->

</td>
    <!-- BEGIN SIDE BAR -->
    <td valign="top" class="sideBar"><img src="$stylevar[imgdir_misc]/side_bar.gif" alt="" /></td>
<!-- main -->
$forumbits
<div align="right" class="smallfont" style="padding-bottom: 6px;"><strong>
   <a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
   <if condition="$vboptions['forumleaders']">&nbsp; &nbsp;
   <a href="showgroups.php$session[sessionurl_q]">$vbphrase[view_forum_leaders]</a></if>
</strong></div>
$forumhome_markread_script
<!-- /main -->
$ad_location[ad_forumhome_afterforums]
<!-- Top category table setup --> 
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tcat">
  <tr>
    <td width="255" class="smallfont" style="background: url($stylevar[imgdir_misc]/forum_cat_l.gif) no-repeat; width: 255px; height: 37px;" align="left" valign="top"><div style="padding-left: 25px; padding-top: 14px;"><strong>What's going on?</strong>
</div></td><td align="right"><img src="$stylevar[imgdir_misc]/forum_cat_r.gif" alt="" border="0" /></td></tr></table>
        <!-- End top category table setup -->
<table cellpadding="0" cellspacing="0" width="100%" align="center">
<tr><td>
<table cellpadding="8" cellspacing="1" class="tborder" width="100%">
$template_hook[forumhome_wgo_pos1]
<if condition="$show['loggedinusers']">
<!-- logged-in users -->
<tbody>
 <tr>
  <td class="thead" colspan="2">
   <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_activeusers')"><img id="collapseimg_forumhome_activeusers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_activeusers].gif" alt="" border="0" /></a>
   <a href="online.php$session[sessionurl_q]">$vbphrase[currently_active_users]</a>: $totalonline (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
  </td>
 </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
 <tr>
  <td class="alt2"><a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
  <td class="alt1" width="100%">
   <div class="smallfont">
    <div style="white-space: nowrap"><phrase 1="$recordusers" 2="$recorddate" 3="$recordtime">$vbphrase[most_users_ever_online_was_x_y_at_z]</phrase></div>
    <div>$activeusers</div>
   </div>
  </td>
 </tr>
</tbody>
<!-- end logged-in users -->
</if>
$template_hook[forumhome_wgo_pos2]
<tbody>
 <tr>
  <td class="thead" colspan="2">
   <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a>
   <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
  </td>
 </tr>
</tbody>
<tbody id="collapseobj_forumhome_stats" style="$vbcollapse[collapseobj_forumhome_stats]">
 <tr>
  <td class="alt2"><img src="$stylevar[imgdir_misc]/stats.gif" alt="<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>" border="0" /></td>
  <td class="alt1" width="100%">
  <div class="smallfont">
   <div>
    $vbphrase[threads]: $totalthreads,
    $vbphrase[posts]: $totalposts,
    $vbphrase[members]: $numbermembers<if condition="$show['activemembers']">,
     <span title="<phrase 1="$vboptions[activememberdays]">$vbphrase[within_the_last_x_days]</phrase>">$vbphrase[active_members]: $activemembers</span>
    </if>
   </div>
   <div><phrase 1="member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase></div>
   $template_hook[forumhome_wgo_stats]
  </div>
  </td>
 </tr>
</tbody>
$template_hook[forumhome_wgo_pos3]
<if condition="$show['birthdays']">
<!-- today's birthdays -->
<tbody>
 <tr>
  <td class="thead" colspan="2">
   <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_birthdays')"><img id="collapseimg_forumhome_birthdays" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_birthdays].gif" alt="" border="0" /></a>
   $vbphrase[todays_birthdays]
  </td>
 </tr>
</tbody>
<tbody id="collapseobj_forumhome_birthdays" style="$vbcollapse[collapseobj_forumhome_birthdays]">
 <tr>
  <td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&amp;day=$today&amp;sb=1"><img src="$stylevar[imgdir_misc]/birthday.gif" alt="$vbphrase[view_birthdays]" border="0" /></a></td>
  <td class="alt1" width="100%"><div class="smallfont">$birthdays</div></td>
 </tr>
</tbody>
<!-- end today's birthdays -->
</if>
$template_hook[forumhome_wgo_pos4]
<if condition="$show['upcomingevents']">
<tbody>
 <tr>
  <td class="thead" colspan="2">
   <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_events')"><img id="collapseimg_forumhome_events" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_events].gif" alt="" border="0" /></a>
   <if condition="$show['todaysevents']">$vbphrase[todays_events]<else /><phrase 1="$vboptions[showevents]">$vbphrase[upcoming_events_for_the_next_x_days]</phrase></if>
  </td>
 </tr>
</tbody>
<tbody id="collapseobj_forumhome_events" style="$vbcollapse[collapseobj_forumhome_events]">
 <tr>
  <td class="alt2"><a href="calendar.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/calendar.gif" alt="$vbphrase[calendar]" border="0" /></a></td>
  <td class="alt1" width="100%"><div class="smallfont">$upcomingevents</div></td>
 </tr>
</tbody>
</if>
$template_hook[forumhome_wgo_pos5]
<tr><td class="alt1" colspan="2"><img src="$stylevar[imgdir_misc]/spacer.gif" alt="" /></td></tr>
</table>
</td></tr>
</table>
</td></tr></table>
<br />

<!-- icons and login code -->
<table width="100%" align="center" cellpadding="4" cellspacing="1" style="border: 0px solid #272626; background-color: #272626;">
  <tr>   
   <td align="center" valign="middle" class="smallfont alt2"><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" align="middle" border="0" /></td>
   <td align="center" valign="middle" class="smallfont alt2"> $vbphrase[contains_new_posts]</td>
   <td align="center" valign="middle" class="smallfont alt2"><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" align="middle" border="0" /></td>
   <td align="center" valign="middle" class="smallfont alt2">$vbphrase[contains_no_new_posts]</td>
   <td align="center" valign="middle" class="smallfont alt2"><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" align="middle" border="0" /></td>
       <td align="center" valign="middle" class="alt2 smallfont"> $vbphrase[a_closed_forum]</td>
  </tr>
   </table>
<!-- / icons and login code -->
 
 <if condition="!$show['guest']">
  <!-- member logout -->
  <div style="padding-top: 6px;" class="smallfont" align="$stylevar[right]"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]"  onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><phrase 1="$bbuserinfo[username]">$vbphrase[log_out_x]</phrase></a></div>
  <!-- end member logout -->
 </if>
$footer
</body>
</html>
 
Status
Not open for further replies.
Back
Top