Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-27-2003, 11:59 PM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vB2 - vB3 Sidepanel Problems

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

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?
Reply With Quote
  #2  
Old 07-28-2003, 12:00 AM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I should mention the Modification is available at the following URL::

http://www.vbulletintemplates.com/mo...3&page=1&pp=14
Reply With Quote
  #3  
Old 07-28-2003, 04:34 AM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by UND3Rburn
I should mention the Modification is available at the following URL::

http://www.vbulletintemplates.com/mo...3&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?
Reply With Quote
  #4  
Old 07-28-2003, 04:42 AM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
$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">&nbsp;</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">&nbsp;</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&amp;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">&nbsp;</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">&nbsp; 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">&nbsp; 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">&nbsp; 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>
Reply With Quote
  #5  
Old 07-28-2003, 05:07 AM
BillaBongUSA BillaBongUSA is offline
 
Join Date: Mar 2002
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 07-28-2003, 07:15 AM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I never thought about the Spacer, ill try it out, but Idealy i would like to make it as it should be.
Reply With Quote
  #7  
Old 07-28-2003, 01:32 PM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #8  
Old 07-28-2003, 04:53 PM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 07-28-2003, 06:22 PM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.....
Attached Images
File Type: gif testsite.gif (16.9 KB, 0 views)
Reply With Quote
  #10  
Old 07-28-2003, 06:56 PM
UND3Rburn UND3Rburn is offline
 
Join Date: Apr 2003
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:41 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02509 seconds
  • Memory Usage 2,290KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete