View Full Version : vB2 - vB3 Sidepanel Problems
UND3Rburn
07-27-2003, 11:59 PM
For some reason my Side Menu looks very weird, heres whats wrong with it.
1. The Sidemenu is Squished against the corner
2. The Colors (But I Guess I could go back and edit the colors manually)
How would I fix the Sidemenu Issue?
Screenshot :: HERE (http://www.vbulletintemplates.com/mods/attachment.php?attachmentid=2746)
Whats weird is that I installed it on my testboard, and it looked fine, but when I transfered it to my main board (which is closed right now due to relaunch) it looked as pictured above in the screenshot.
Any Ideas what might be wrong?
UND3Rburn
07-28-2003, 12:00 AM
I should mention the Modification is available at the following URL::
http://www.vbulletintemplates.com/mods/showthread.php?t=2083&page=1&pp=14
trilOByte
07-28-2003, 04:34 AM
I should mention the Modification is available at the following URL::
http://www.vbulletintemplates.com/mods/showthread.php?t=2083&page=1&pp=14
Need to view the source code of your page.
If you've applied the mod as instructed, without errors, then it must be something to do with the table widths you have already specified for your $forumbits. Have you applied a 3rd party style or hard coded widths into your tables?
UND3Rburn
07-28-2003, 04:42 AM
$stylevar[htmldoctype]
<html 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 -->
<title>$vboptions[bbtitle] - powered by vBulletin</title>
$headinclude
</head>
<body>
<p align="left">
$header
$navbar
<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<if condition="$bbuserinfo[userid] == 0">
<!-- guest welcome message -->
<tr>
<td colspan="2">
<b>Welcome to the $vboptions[bbtitle].</b>
<div class="smallfont">
If this is your first visit, be sure to check out the <a href="faq.php?$session[sessionurl]"><b>FAQ</b></a> by clicking the link above.
You may have to <a href="register.php?$session[sessionurl]"><b>register</b></a> before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
<hr />
</div>
</td>
</tr>
<!-- end guest welcome message -->
</if>
<tr valign="top">
<td class="page" style="font-size: larger; font-variant: small-caps"><b>$vboptions[bbtitle]</b></td>
<td class="page" align="right"><span class="smallfont">
Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br />
Welcome to our newest member, <a href="member.php?$session[sessionurl]u=$newu" target="_blank">$newusername</a>
</span></td>
</tr>
</table>
<!-- /text -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<td align="center" width="75%">
<!-- main -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr align="center">
<td class="thead"><span class="smallfont"> </span></td>
<td class="thead" width="100%" align="left"><span class="smallfont"><b>Forum</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Posts</b></span></td>
<td class="thead" width="75"><span class="smallfont"><b>Threads</b></span></td>
<td class="thead" width="150"><span class="smallfont"><b>Last Post</b></span></td>
<if condition="$vboptions[showmoderatorcolumn]">
<td class="thead"><span class="smallfont"><b>Moderator</b></span></td>
</if>
</tr>
$forumbits
<tr>
<td class="tfoot" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>" align="center">
<a href="forumdisplay.php?$session[sessionurl]do=markread">Mark All Forums Read</a> | <a href="showgroups.php?$session[sessionurl]">View Forum Leaders</a>
</td>
</tr>
</table>
</td></tr></table>
<!-- /main -->
</td>
<td width="1%"></td>
<td align="left" valign="top" width="24%">
<!-- sidemenu -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#111012" width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%" bgcolor="#000000">
<tr><td bgcolor="{tableheadbgcolor}">
<smallfont><b>Forum Sidemenu</b></smallfont></td></tr>
<tr><td width="100%" bgcolor="{categorybackcolor}"><b /><normalfont>Information</b /></normalfont>
</td /></tr />
<tr><td width="100%" valign"top" bgcolor="{firstaltcolor}">
<smallfont>
$welcometext<b><br>$newposts</b></smallfont><br>
$unregwelcomemessage
<smallfont>
<br>
The time now is $timenow.<br>
You last visited: $bbuserinfo[lastvisitdate].<br><br>
<b>Member Count:</b> $numbermembers<br>
<b>Thread Count:</b> $totalthreads<br>
<b>Post Count:</b> $totalposts<br><br>
Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a><br><br>
<b>Online User Count:</b> $totalonline
</smallfont>
</td></tr>
</table>
</td></tr></table>
</div />
<!-- /sidemenu --></td></table>
<br />
<if condition="$showloggedinusers or $birthdays or $events">
<!-- what's going on box -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat" colspan="2"><b>What's Going On?</b></td>
</tr>
<if condition="$showloggedinusers">
<!-- logged-in users -->
<tr>
<td class="thead" colspan="2"><a href="online.php?$session[sessionurl]">Currently Active Users</a>: $totalonline ($numberregistered members and $numberguest guests)</td>
</tr>
<tr valign="top">
<td class="alt2"> </td>
<td class="alt1" width="100%"><span class="smallfont">
<span style="white-space: nowrap">Most users ever online was $recordusers, $recorddate at $recordtime.</span><br />
$activeusers
</span></td>
</tr>
<!-- end logged-in users -->
</if>
<if condition="$birthdays">
<!-- today's birthdays -->
<tr>
<td class="thead" colspan="2">Today's Birthdays</td>
</tr>
<tr valign="top">
<td class="alt2"><a href="calendar.php?$session[sessionurl]do=getday&day=$today"><img src="$stylevar[imagesfolder]/icons/icon2.gif" alt="" title="(temporary button) View Birthdays" border="0" /></a></td>
<td class="alt1"><span class="smallfont">$birthdays</span></td>
</tr>
<!-- end today's birthdays -->
</if>
<if condition="$events">
<tr>
<td class="thead" colspan="2"><if condition="$vboptions['showevents']==1">Today's Events<else />Upcoming events for the next $vboptions[showevents] days</if></td>
</tr>
<tr valign="top">
<td class="alt2"> </td>
<td class="alt1"><span class="smallfont">$upcomingevents</span></td>
</tr>
</if>
</table>
</td></tr></table>
<br />
<!-- end what's going on box -->
</if>
<!-- icons and login code -->
<!--<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"><tr><td>-->
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr valign="top">
<td class="_alt1">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imagesfolder]/on.gif" alt="on.gif" title="Contains New Posts" border="0" /></td>
<td class="smallfont"> Forum Contains New Posts</td>
</tr>
<tr>
<td><img src="$stylevar[imagesfolder]/off.gif" alt="off.gif" title="Contains No New Posts" border="0" /></td>
<td class="smallfont"> Forum Contains No New Posts</td>
</tr>
<tr>
<td><img src="$stylevar[imagesfolder]/lock.gif" alt="lock.gif" title="A Closed Forum" border="0" /></td>
<td class="smallfont"> Forum is Closed for Posting</td>
</tr>
</table>
</td>
<td class="_alt1" align="right">
<if condition="$bbuserinfo[userid] == 0">
<!-- guest login -->
<form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap="nowrap" class="smallfont"><b>Not cookied?</b> Login with username and password:</td>
</tr>
<tr>
<td nowrap="nowrap">
<script type="text/javascript" src="clientscript/md5.js"></script>
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="text" class="bginput" name="vb_login_username" size="7" />
<input type="password" class="bginput" name="vb_login_password" size="7" />
<input type="submit" class="button" value="Login!" />
<br /><span class="smallfont"><label for="cb_cookieuser"><input type="checkbox" name="cookieuser" value="1" id="cb_cookieuser" checked="checked" />Remember username/password?</label></span></td>
</tr>
</table>
</form>
<!-- end guest welcome and logout -->
<else />
<!-- member logout -->
<a href="login.php?$session[sessionurl]do=logout">Log Out $bbuserinfo[username]</a>
<!-- end member logout -->
</if>
</td>
</tr>
</table>
<!--</td></tr></table>-->
<!-- / icons and login code -->
<br />
<!-- timezone -->
<table cellpadding="2" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center">
<tr valign="bottom">
<td class="smallfont" align="right"><span class="smallfont">All times are GMT$timediff. The time now is <span class="time">$timenow</span>.</span></td>
</tr>
</table>
<!-- /timezone -->
$footer
</p>
</body>
</html>
BillaBongUSA
07-28-2003, 05:07 AM
I think the colours are screwy because the <td>'s are using variables that don't exist as background colours. For example, {tableheadbgcolor} is now class="thead". I think...
As for the width problem: I guess an easy solution would be to put the space.gif image in the side menu and specify a width in pixels.
UND3Rburn
07-28-2003, 07:15 AM
Hmm I never thought about the Spacer, ill try it out, but Idealy i would like to make it as it should be.
trilOByte
07-28-2003, 01:32 PM
That code is properly applied and formats properly. The problem is not in your forumhome template or how you've applied the mod. There is some code somewhere else that is causing the problem, maybe in your header?
UND3Rburn
07-28-2003, 04:53 PM
That cant be it Martyn, because the only templates I have edited are FORUMHOME and postbit_getinfo and furthermore FORUMHOME modified before postbit_getinfo and the sidepanel was giving me the same problem since before then.
trilOByte
07-28-2003, 06:22 PM
well, I overwrote your forumhome template onto my test site and the only time the table looks like yours, is when the browser window is squashed down to about 600 pixels wide.
See attachment.....
UND3Rburn
07-28-2003, 06:56 PM
that cant be it, becausei took the SS while Maximized and my Resolution is big.
I just changed my Width to 100%.... and it looked fine, but when I changed it to90% it looked weird again, and also when I change it into pixels it looks weird, how do I go about making it so that it works either way?
trilOByte
07-28-2003, 07:10 PM
In style manager, I have "Main Table Width = 80%" and it works for me.
http://www.britishblades.com/forums/
UND3Rburn
08-23-2003, 02:45 PM
Ive been on vacation for a month, so that explains why I have not responded, it seems as if tho the only problem now is that the 2 panels which should be below the main one are at the bottom, how would I move it?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.