vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Bottom Category Images (https://vborg.vbsupport.ru/showthread.php?t=85163)

Burning_Ice 10-31-2002 06:39 PM

Bottom Category Images
 
1 Attachment(s)
=/ I really have this one annoying space after the Welcome Panel hack, and it's just.. annoying. Anybody who thinks they can help please help me hehe.
See below for an attatched image for the example.

forumhome template.
Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
        <!-- no cache headers -->
        <meta http-equiv="Pragma" content="no-cache">
        <meta http-equiv="no-cache">
        <meta http-equiv="Expires" content="-1">
        <meta http-equiv="Cache-Control" content="no-cache">
        <!-- end no cache headers -->
        <meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
        <meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to http://www.vbulletin.com/ .">
        <title>$bbtitle - powered by vBulletin</title>
        $headinclude
</head>
<body>
$header

<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="100%"  align="center">
<tr valign="top">
        <td><a href="javascript:window.location=window.location"><img src="images/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion"></a>
        <normalfont><b>$bbtitle </b></normalfont></td>
        <td align="right"><form name="form">
<select name="site" size=1>
<option value="">Navigate your CP
<option value="usercp.php?s=$session[sessionhash]">>My vB Home
<option value="member.php?s=$session[sessionhash]&action=editprofile">Edit Profile
<option value="member.php?s=$session[sessionhash]&action=editoptions">Edit Options
<option value="member.php?s=$session[sessionhash]&action=editpassword">Edit Password
<option value="member2.php?s=$session[sessionhash]&action=viewlist&userlist=buddy">Edit Buddy List
<option value="member2.php?s=$session[sessionhash]&action=viewlist&userlist=ignore">Edit Ignore List
<option value="private.php?s=$session[sessionhash]">Private Messages
</select>
<input type=button class="bginput" value="Go!" onClick="javascript:formHandler(this)">
</form></td>
</tr>
</table>

<table cellpadding="2" cellspacing="0" border="0" width="100%"  align="center">
<tr valign="bottom">
        <td><smallfont>
        Members: $numbermembers, Threads: $totalthreads, Posts: $totalposts<br>
        Welcome to our newest member, <a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$newuserid">$newusername</a>
        </smallfont></td>
</tr>
</table>
<!-- /text -->


<!-- welcomepanel -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#6597D9"  width="100%" align="center">
<tr>
        <td>
        <table cellpadding="4" cellspacing="1" border="0"  width="100%">
<tr id="cat">
        <td bgcolor=""#90B9F1" background="images/cat_bg.gif"" colspan="6"><normalfont color="#FFFFFF"><b>Welcome</b></normalfont></td>
</tr>
<tr>
        <td bgcolor="#F9F9F9" align="center" valign="top" width="100">$avatarimage</td>
        <td bgcolor="#FFFFFF">
        <smallfont>
          $unregwelcomemessage
          $welcometext<br>
          The time now is $timenow.<br>
          You last visited: $bbuserinfo[lastvisitdate].<br>
          <b>$newposts</b>
        </smallfont>
        </td>
        <td bgcolor="#F9F9F9" align="center" valign="middle" width="300">
        $logincode
        </td>
</tr>
        $pminfo
</table>
</td></tr></table>
<!-- /welcomepanel -->


<!-- main -->
<table cellpadding="0" cellspacing="0" border="0" bgcolor=""#FFFFFF" background="images/mainbg.gif""  width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">


$forumbits


</table>
</td></tr></table>


<table cellspacing="0" cellpadding="0" border="0" height="4" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="1"><img src="images/frontpage/catbottomleft.jpg" border="0"></td>
<td width="100%" background="images/frontpage/catbottommiddle.jpg">
<img border="0" src="images/frontpage/catbottommiddle.jpg"></td>
<td width="1"><img src="images/frontpage/catbottomright.jpg" border="0"></td>
</tr>
</table><br>



<table cellpadding="0" cellspacing="0" border="0" bgcolor="#6597D9"  width="100%" align="center"><tr><td>
<table cellpadding="4" cellspacing="1" border="0"  width="100%">



$loggedinusers
$birthdaybits
</table>
</td></tr></table>

<table cellspacing="0" cellpadding="0" border="0" height="4" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="1"><img src="images/frontpage/catbottomleft.jpg" border="0"></td>
<td width="100%" background="images/frontpage/catbottommiddle.jpg">
<img border="0" src="images/frontpage/catbottommiddle.jpg"></td>
<td width="1"><img src="images/frontpage/catbottomright.jpg" border="0"></td>
</tr>
</table><br>


<!-- /main -->

<br>

<!-- timezone/login-->
<table cellpadding="2" cellspacing="0" border="0" width="100%"  align="center">
<tr valign="top">
  <td><smallfont>$timezone</smallfont></td>
  <td align="right">$logincode</td>
</tr>
</table>
<!-- /timezone/login -->

<br>

<!-- icons -->
<table cellpadding="2" cellspacing="0" border="0" width="100%"  align="center">
<tr>
        <td align="center">
        <img src="images/on.gif" border="0" alt="On" align="absmiddle">
        <b><smallfont>New posts</smallfont></b>
        &nbsp;&nbsp;
        <img src="images/off.gif" border="0" alt="Off" align="absmiddle">
        <b><smallfont>No new posts</smallfont></b>
        &nbsp;&nbsp;
        <img src="images/offlock.gif" border="0" alt="Closed Forum" align="absmiddle">
        <b><smallfont>A closed forum</smallfont></b>
        </td>
</tr>
</table>
<!-- /icons -->

$footer
</body>
</html>


Burning_Ice 10-31-2002 06:43 PM

forumhome_forumbit_level1_nopost template.

Code:

</table>
</td></tr></table>


<table cellspacing="0" cellpadding="0" border="0" height="4" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="1"><img src="{imagesfolder}/frontpage/catbottomleft.jpg" border="0"></td>
<td width="100%" background="{imagesfolder}/frontpage/catbottommiddle.jpg">
<img border="0" src="{imagesfolder}/frontpage/catbottommiddle.jpg"></td>
<td width="1"><img src="{imagesfolder}/frontpage/catbottomright.jpg" border="0"></td>
</tr>
</table><br>


<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">


<tr id="cat">
        <td bgcolor="{categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
        <br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>


<tr align="center">
  <td bgcolor="{tableheadbgcolor}"><smallfont>&nbsp;</smallfont></td>
  <td bgcolor="{tableheadbgcolor}" width="80%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
  <td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
  <td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
  <td bgcolor="{tableheadbgcolor}" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
  <td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>


Tony G 11-01-2002 03:56 AM

Please attach in txt next time, it makes it easier then to scroll to read. :)

I don't see anything wrong with that code, maybe try adding the bottom image code for the PM via forumhome_pmloggedin instead of level1_nopost.

Burning_Ice 11-01-2002 04:38 AM

=/ But then it wont show on any of the forums...
Hmmz, I did fix it before but can't remember what I did LOL.

Tony G 11-01-2002 05:16 AM

Add the cat bottom image code after the forum code. That should exclude the PM table from it. Then do it via forumhome_pmloggedin.

Burning_Ice 11-01-2002 08:02 PM

How would I do that?

Code:

<table cellspacing="0" cellpadding="0" border="0" height="4" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td width="1"><img src="images/frontpage/catbottomleft.jpg" border="0"></td>
<td width="100%" background="images/frontpage/catbottommiddle.jpg">
<img border="0" src="images/frontpage/catbottommiddle.jpg"></td>
<td width="1"><img src="images/frontpage/catbottomright.jpg" border="0"></td>
</tr>
</table>

That's the image code.. like where should I add it?

Heh, it even has that space when loged out...

Burning_Ice 11-05-2002 01:52 PM

*bump


All times are GMT. The time now is 10:05 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.01011 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete