Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-24-2003, 07:07 PM
Raph Raph is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum home problems.. and a question

For some reason, my forum home is a little screwy - most noticeably is the footer on forumhome, for some reason it's displaying the background as grey:
http://www.brainphreeze.com/dev/index.php?

However, if you go into a forum, the footer is displayed as it should
ie: http://www.brainphreeze.com/dev/forumdisplay.php?f=2

Lastly, for some reason on the forum home, the border around the forum list is clear, and it's supposed to be back like the welcome panel:
http://www.brainphreeze.com/uploads/catbad.jpg

And for the question.. on the forum home, on each catergory the tables change depending to what the "last post"'s length, so it looks messed (well, it looks un-uniformed).. is there a way to lock those tables at a certain size so they're all always the same?

Thanks in advanced, you guys have been a great help thus far and I really appreciate it
Reply With Quote
  #2  
Old 08-24-2003, 09:27 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The background image doesn't seem to want to go over the footer. I'm guessing the 'clear' line might be stopping it from going any further at the bottom.

I'm not too sure, some code might help.
Reply With Quote
  #3  
Old 08-24-2003, 10:13 PM
Raph Raph is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure which code you wanted, but, here are some that could pertain to the problem(s)

Header
Code:
<body bgcolor="#F3F3F3" background-image: url(http://www.brainphreeze.com/dev/Mac/innerbg.gif);
 text="#000000" id="all" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000020" vlink="#000020" alink="#000020">

<!-- logo and buttons -->
<a name="top"></a>
<table align="center" width=800 border="0" cellpadding="1" cellspacing="0" ><tr><td bgcolor="#919191"><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#919191">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" background="$stylevar[imagesfolder]/header_bg.gif">
  <tr>
    <td width="33%">&nbsp;</td>
    <td width="33%"><center><a href=$vboptions[forumhome].php?$session[sessionurl]">
    <img border="0" src="$stylevar[imagesfolder]/head_main.gif" width="474" height="101"></a></center></td>
<td width="34%">&nbsp;</td>
  </tr>
</table>



<!-- content table -->
<table bgcolor="$stylevar[pagebgcolor]" width="$stylevar[tablewidth]" cellpadding="10" cellspacing="0" border="0" background="$stylevar[imagesfolder]/innerbg.gif">
<tr>
  <td>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
  <tr>
    <td width="14">
    <img border="0" src="$stylevar[imagesfolder]/left2.gif" width="200" height="17"></td>
    <td width="100%" background="$stylevar[imagesfolder]/catbg2.gif">&nbsp;</td>
    <td width="34%">
    <img border="0" src="$stylevar[imagesfolder]/right2.gif" width="200" height="17"></td>
  </tr>
</table>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#7F7F7F" width="100%" background="$stylevar[imagesfolder]/postbit_lightbg.gif">
  <tr>
    <td width="14%">
    <p align="center"><font face="Verdana" size="2">
    <a href="usercp.php?$session[sessionurl]">user cp</a></font></td>
    <td width="14%">
    <p align="center"><font face="Verdana" size="2">
    <a href="flash.php?$session[sessionurl]">Games</a></font></td>
    <td width="14%">
    <p align="center"><font face="Verdana" size="2">
    <a href="calendar.php?$session[sessionurl]">calendar</a></font></td>
    <td width="14%">
    <p align="center"><font face="Verdana" size="2">
    <a href="memberlist.php?$session[sessionurl]">members</a></font></td>
    <td width="14%">
    <p align="center"><font face="Verdana" size="2">
    <a href="search.php?$session[sessionurl]">search</a></font></td>
    <td width="15%">
    <p align="center"><font face="Verdana" size="2">
    <a href="misc.php?$session[sessionurl]&action=faq">f.a.q.</a></font></td>
    <td width="15%">
    <p align="center"><font face="Verdana" size="2">
    <a href="index.php?$session[sessionurl]">home</a></font></td>
  </tr></table>



<!-- content table -->
<table width="$stylevar[outertablewidth]" cellpadding="$stylevar[spacersize]" cellspacing="0" border="0" align="center" class="page">
<tr>
  <td>
Footer
Code:
</td>
</tr>
</table>

<!-- /content area table -->



<p align="center">

  <b>&lt; <a href="$vboptions[contactuslink]">Contact Us</a> - <a href="$vboptions[homeurl]">$vboptions[hometitle]</a> - <if condition="($permissions['adminpermissions'] & CANCONTROLPANEL)"><a href="admincp/">Admin</a> -</if> <a href="archive/index.php/">Archive</a>
<!-- - <a href="$vboptions[privacyurl]">Privacy Statement</a> --> &gt;</b><br />

<span class="smallfont"><a href="#top">Return to Top</a></span></p>



<p align="center"><span class="smallfont">

<!-- Do not remove this copyright notice -->

  $vbphrase[powered_by_vbulletin]<br />$cronimage

<!-- Do not remove this copyright notice -->
Reply With Quote
  #4  
Old 08-24-2003, 10:17 PM
Raph Raph is offline
 
Join Date: Apr 2002
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Forumhome
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>
$header

<!-- welcome panel -->
<table width="$stylevar[tablewidth]" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="23"><img src="$stylevar[imagesfolder]/left.gif" border="0"></td>

<td align="center" class="tcat" width="100%"><b> Welcome Panel</b></span></a></td>

<td width="23"><img src="$stylevar[imagesfolder]/right.gif" border="0"></td>
</tr>
</table>

<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="middle">
      <if condition="$bbuserinfo[userid] != 0">
      <!-- Registered user Welcome Panel -->
		<td class="alt2" valign="middle" width="110"><center><a href="profile.php?do=editavatar">$welcomeavatar</a></center></td>
		<td class="alt1" valign="middle" nowrap="nowrap">

		   <span class="smallfont"><b>Welcome back, $bbuserinfo[username]</b>.</span><br />

		                     <span class="smallfont">You last visited $pmbox[lastvisitdate] at <span class="time">$pmbox[lastvisittime].</span><br />

Members: <b>$numbermembers</b>, Threads: <b>$totalthreads</b>, Posts: <b>$totalposts</b><br />
	Welcome to our newest *****, <a href="member.php?$session[sessionurl]u=$newuserid" target="_blank">$newusername!</a><br>

		   <br />
		   <span class="smallfont"><a href="search.php?$session[sessionurl]do=getnew">View New Posts Since Last Visit</a></span>
		</td>
		<td class="alt2" valign="middle" nowrap="nowrap">
		   <span class="smallfont"><center>
		   <b>$bbuserinfo[username]</b> - You have <b>$bbuserinfo[pmunread]</b> new private message(s).<br />
		   There are <b>$bbuserinfo[pmtotal]</b> messages total in your mailbox.<br />
		   <br />
		   <a href="private.php?$session[sessionurl]">Click Here To Access Your Mailbox</a>
		   </center></span>
		</td>
      <!-- end Registered user Welcome Panel -->
      <else />
      <!-- Guest Welcome Panel -->
      		<td class="alt2" valign="middle" width="110"><center><img src="$stylevar[imagesfolder]/guestavatar.gif" title="" alt="" border="0"></center></td>
		<td class="alt1" valign="middle" nowrap="nowrap">
		   <center><span class="smallfont"><b>
		   It appears that you are not a registered user<br />
		   or that you have not yet logged in.</b><br /><br />
                   Please either log in now with your account or<br />
                   <a href="register.php?$session[sessionurl]">click here to register</a> as a new user.  It's free!<br />
		   </span></center>
		</td>
		<td class="alt2" valign="middle" nowrap="nowrap">
		   <center>
		   <form action="login.php" method="post" onsubmit="md5hash(vb_login_password,vb_login_md5password)">
		   <span class="smallfont">Login with username and password:</span><br />
		   <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>
		   </form>
		   </center>
		</td>
      <!-- end Guest Welcome Panel -->
      </if>
   </tr>
</table>
</td></tr>
</table>
</form>

<!-- end welcome panel -->
<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%">
<if condition="$showloggedinusers">
<!-- logged-in users -->
<tr>
	<td class="alt1" 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" valign="middle"><a href="calendar.php?$session[sessionurl]"><img src="$stylevar[imagesfolder]/calendar_small.gif" alt="" title="Calendar" border="0" /></a></td>
	<td class="alt1"><span class="smallfont">$upcomingevents</span></td>
</tr>
</if>
</table>
</td></tr></table>
<!-- end what's going on box -->
</if>

<!-- main -->
<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" width="$stylevar[tablewidth]" align="center"><tr><td>
<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

$forumbits
<table width="$stylevar[tablewidth]" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="23" class="tcat"><img src="$stylevar[imagesfolder]/left31.gif" border="0"></td>

<td align="center" background="$stylevar[imagesfolder]/catbg2.gif" width="1000" border="0"></td>

<td width="23" class="tcat"><img src="$stylevar[imagesfolder]/right31.gif" border="0"></td>
</tr>
</table>

<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 -->

<br />


<!-- 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>
	
		<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>
	
		<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="hidden" name="forceredirect" value="1" />
			<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
</body>
</html>
forumhome_forumbit_level1_nopost
Code:
</table>
</td>
</tr>
</table>

<table width="$stylevar[tablewidth]" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="23" class="tcat"><img src="$stylevar[imagesfolder]/left31.gif" border="0"></td>

<td align="center" background="$stylevar[imagesfolder]/catbg2.gif" width="1000" border="0"></td>

<td width="23" class="tcat"><img src="$stylevar[imagesfolder]/right31.gif" border="0"></td>
</tr>
</table>

<br>

<table width="$stylevar[tablewidth]" align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="23"><img src="$stylevar[imagesfolder]/left.gif" border="0"></td>

<td align="center" class="tcat" width="100%"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><span class="normalfont"><b>$forum[title]</b></span></a></td>

<td width="23"><img src="$stylevar[imagesfolder]/right.gif" border="0"></td>
</tr>
</table>

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" 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>\
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:00 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05733 seconds
  • Memory Usage 2,227KB
  • Queries Executed 11 (?)
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
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete