vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Template Screwed-Up (https://vborg.vbsupport.ru/showthread.php?t=55320)

Ryne 07-16-2003 05:06 AM

Template Screwed-Up
 
When I added the Welcome Panel hack I changed around a few things on the vBskinz skin "air" and since the Welcome hack didn't show the instructions for that type of template i did my best to create one, but i had some faults. The link is www.vortex-forums.net As you can see the Users Online isn't together exactly right and at the bottom (all of the index page) there is a major black spot.

Code:

{htmldoctype}
<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
<!-- begin custom front page tables -->
<!-- text -->
<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} align="center">
<tr valign="top">
        <td><a href="javascript:window.location=window.location"><img src="{imagesfolder}/vb_bullet.gif" border="0" align="middle" alt="$bbtitle : Powered by vBulletin version $templateversion"></a>
        <normalfont><b>$bbtitle</b></normalfont></td>
</tr>
</table>

<table cellpadding="2" cellspacing="0" border="0" width="{contenttablewidth}" {tableinvisibleextra} 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 background="{imagesfolder}/cat_back.gif" border="0" cellpadding="0" cellspacing="0"  width="{contenttablewidth}" height="27" align="center">
  <tr id="cat">
    <td width="170" height="27" align="left" valign="top"> <img border="0" src="{imagesfolder}/air_cat_top_ls.gif" width="170" height="27"></td>
    <td width="100%" height="27" valign="middle"> <p align="center"><a class="title" href="online.php?s=$session[sessionhash]">
        <smallfont><b>- |Forum Stats| -</b></smallfont></a></td>
    <td width="170" height="27" align="right" valign="top"> <img border="0" src="{imagesfolder}/air_cat_top_rs.gif" width="170" height="27"></td>
  </tr>
</table>
<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"><normalfont color="{categoryfontcolor}"><b>Welcome</b></normalfont></td>
</tr>
<tr>
        <td bgcolor="{secondaltcolor}" align="center" valign="top" width="100">$avatarimage</td>
        <td bgcolor="{firstaltcolor}">
        <smallfont>
          $unregwelcomemessage
          $welcometext<br>
          The time now is $timenow.<br>
          You last visited: $bbuserinfo[lastvisitdate].<br>
          <b>$newposts</b>
        </smallfont>
        </td>
        <td bgcolor="{secondaltcolor}" align="center" valign="middle" width="300">
        $logincode
        </td>
        <tr>
        <td align="center" background="{imagesfolder}/cat_back.gif" colspan="6" style="border-top: 1px solid #181B16"><smallfont><b>|Total Online| $totalonline</b> </smallfont>
</td>
</tr>
        $pminfo
</table>
</td></tr>
<table height="14" width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        $loggedinusers
$birthdaybits
$forumbits
</table>
<table height="14" width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="60" height="14" align="left" valign="top">
        <img src="{imagesfolder}/ls_main_table_bottom.gif" width="60" height="14"></td>
        <td height="14" width="100%" background="{imagesfolder}/extended_main_table_bottom.gif"><img src="{imagesfolder}/clear.gif" width="100%" height="14"></td>
        <td width="44" height="14" align="right" valign="top">
            <img border="0" src="{imagesfolder}/rs_main_table_bottom.gif" width="60" height="14"></td>
      </tr>
    </table>
  <!-- End bottom table setup -->

<!-- /main -->

$pminfo
<br>

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

<br>

<!-- icons -->
<table cellpadding="10" cellspacing="0" {tableinvisibleextra} align="center" style="border: 1px solid #181B16; background-color: #FDFDFD;">
<tr>
        <td align="center">
        <img src="{imagesfolder}/on.gif" border="0" alt="On" align="absmiddle">
        <b><smallfont>New posts</smallfont></b>
        &nbsp;&nbsp;
        <img src="{imagesfolder}/off.gif" border="0" alt="Off" align="absmiddle">
        <b><smallfont>No new posts</smallfont></b>
        &nbsp;&nbsp;
        <img src="{imagesfolder}/lock.gif" border="0" alt="Closed Forum" align="absmiddle">
        <b><smallfont>A closed forum</smallfont></b>
        </td>
</tr>
</table>
<!-- /icons -->

$footer
</body>
</html>


Ryne 07-16-2003 05:08 AM

BTW: it's version 2.3.0


All times are GMT. The time now is 07:19 PM.

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.01553 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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