vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   custom code messy :( (https://vborg.vbsupport.ru/showthread.php?t=164168)

anuanu 12-03-2007 12:59 AM

custom code messy :(
 
1 Attachment(s)
1. Im sorry if this is in the wrong section and mods/admin please move if it is.

2. I created a custom page on my template but it seems my code is wrong somehow... Can you guys/gals that know the code listed below fix the problem in the jpg i attaced?


3. I removed the middle portion of the code because its to long but the middle part is only <a href tags



Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle]</title>
</head>
<body>
$header
$navbar
<!-- Custom Code Start Here -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="left">
<tr>
        <td class="tcat" colspan="3">
                Downloadable Maps
        </td>
</tr>
<tr>
        <td class="panelsurround" align="center" colspan="3">
        <table class="panel" cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
        <tr>
                <td align="$stylevar[left]">
                        <fieldset class="fieldset" style="margin:0px">
                                <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                                <tr>
                                        <td>
</table>
<pre>
 ( I removed this code here)
 </pre>
<hr width="100%">
                                        </td>
                                </tr>
        </table>
        </fieldset>
</td>
</tr>
</table>
</td>
</tr>

<!-- / Custom Code Ends here -->
$footer
</body>
</html>


Awjvail 12-03-2007 04:30 AM

Have you read this?

https://vborg.vbsupport.ru/showthread.php?t=62164

anuanu 12-03-2007 07:17 AM

1 Attachment(s)
Just did that and I have it set to downloads.php

However the page still looks the same.

Awjvail 12-03-2007 07:53 AM

see if there is any blank space in there or if any tags are left open

anuanu 12-03-2007 07:59 AM

yea ive checked all of that already all opened tags are closed and no extra spaces.

Awjvail 12-03-2007 08:25 AM

Try removing the "<pre>
( I removed this code here)
</pre>" part. Just comment it out instead of removing it incase it doesn't work.

Otherwise, I'm at a loss.

What was the part you removed, anyway?

anuanu 12-03-2007 04:01 PM

1 Attachment(s)
If i remove the <pre> tages on attachment 1 its worse but with a different style it looks like attachment 2


And the stuff i removed was this:
I removed it because all of it exceeded the 20000 character limit lol, Below is only a small portion of it but its basically all the same just different file names/locations

Code:

<a href="downloads/maps/Aim_train_Neo_Beta.bsp">Aim_train_Neo_Beta.bsp</a>            04-Nov-2007 09:36  691K 
 <a href="downloads/maps/BattleRoyale.bsp">BattleRoyale.bsp</a>                  04-Nov-2007 09:31  3.1M 
 <a href="downloads/maps/Fy_SouthPark.bsp">Fy_SouthPark.bsp</a>                  05-Nov-2007 01:09  18M 
 <a href="downloads/maps/ScoutzKnivez_Source.bsp">ScoutzKnivez_Source.bsp</a>          05-Nov-2007 02:36  7.5M 
 <a href="downloads/maps/TheWall_Shotty_Neo.bsp">TheWall_Shotty_Neo.bsp</a>            05-Nov-2007 06:25  183K 
 <a href="downloads/maps/Z-T_cool_down.bsp">Z-T_cool_down.bsp</a>                05-Nov-2007 00:29  531K 
 <a href="downloads/maps/aim_aztec2_css.bsp">aim_aztec2_css.bsp</a>                04-Nov-2007 09:32  2.2M 
 <a href="downloads/maps/aim_icemap.bsp">aim_icemap.bsp</a>                    04-Nov-2007 09:32  1.6M 
 <a href="downloads/maps/aim_iceworld_source_b1.bsp">aim_iceworld_source_b1.bsp</a>        04-Nov-2007 09:33  2.9M 
 <a href="downloads/maps/aim_map_source.bsp">aim_map_source.bsp</a>                04-Nov-2007 09:34  1.9M 
 <a href="downloads/maps/aim_paintball.bsp">aim_paintball.bsp</a>                04-Nov-2007 09:34  950K


anuanu 12-05-2007 03:41 AM

Anyone have any idea's?


All times are GMT. The time now is 01:50 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.01798 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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