vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=242)
-   -   [HOW TO - vB4] Create your own vBulletin page (https://vborg.vbsupport.ru/showthread.php?t=228112)

skylab 12-22-2009 04:32 PM

Getting a blank page. What are some things I can troubleshoot? The path is correct and the theme is correct and ive created the template in the right place.

ragtek 12-22-2009 04:46 PM

Post your current files

Bouncer222 12-27-2009 01:53 AM

I'm just wondering, is there any way to make pages for vb4 like you're able to make pages for 3.8.4 using vbadvanced? It was a lot more simpler than editing templates and instead using the BB code editor I believe that was how?

Lynne 12-27-2009 02:08 AM

Quote:

Originally Posted by Bouncer222 (Post 1939082)
I'm just wondering, is there any way to make pages for vb4 like you're able to make pages for 3.8.4 using vbadvanced? It was a lot more simpler than editing templates and instead using the BB code editor I believe that was how?

If you want to use vbadvanced, you may do so once they release a version of vbadvanced that works with vB4 (they may have done so already, I have no idea - check on their site).

tomsch 12-27-2009 03:08 PM

...

Lynne 12-27-2009 03:15 PM

Quote:

Originally Posted by tomsch (Post 1939471)
ok when i use the code in post one as-is i get a white page

is that what i should see??

i was expecting to see the vb header and footer etc..

this is the output of my test.php

Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML>


That isn't even from this mod if everything is in capital letters since the example template I gave is all in small letters (and the html tag should be different). Did you put the template in the current style you are using?

tomsch 12-27-2009 03:36 PM

your to fast Lynne i removed to last post cause i finally saw my error.

i used lowercase test in my template and that was the result.

ARadarDetector 12-29-2009 06:09 AM

I did it and got this on a blank white page:, my website is: Radar-Detector.Net and I set my path to /home/matt/public_html/speed.php

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/matt/public_html/speed.php on line 2

Parse error: syntax error, unexpected T_STRING in /home/matt/public_html/speed.php on line 2

cellarius 12-29-2009 06:39 AM

Try reuploading the file, and make sure there are no characters before <?php.

stejoh 12-29-2009 12:12 PM

I have used this GREAT instructions to create a custom page.

I am aiming for a 2 or 3 column page but have not been able to sort out how to increase padding around the table cells.

My code looks like this:
PHP Code:

{vb:stylevar htmldoctype}
<
html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
  <
head>
    <
title>{vb:raw vboptions.bbtitle}</title>
    {
vb:raw headinclude}
  </
head>
  <
body>
    
    {
vb:raw header}
    
    {
vb:raw navbar}
    
    <
div id="pagetitle">
      <
h1>{vb:raw pagetitle}</h1>
    </
div>
    
    <
h2 class="blockhead">About 99nicu</h2>
    <
div class="blockbody">
      <
div class="blockrow">

<
table border="0" width="100%" cellpadding="25">
<
tr>

<
td width="33%" valign="top">
Lorem ipsum dolor sit ametconsectetur adipisicing elitsed do eiusmod tempor incididunt ut labore et dolore magna aliquaUt enim ad minim veniamquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequatDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariaturExcepteur sint occaecat cupidatat non proidentsunt in culpa qui officia deserunt mollit anim id est laborum.
</
td>

<
td width="33%" valign="top">
Lorem ipsum dolor sit ametconsectetur adipisicing elitsed do eiusmod tempor incididunt ut labore et dolore magna aliquaUt enim ad minim veniamquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequatDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariaturExcepteur sint occaecat cupidatat non proidentsunt in culpa qui officia deserunt mollit anim id est laborum.
</
td>


<
td width="33%" valign="top">
Lorem ipsum dolor sit ametconsectetur adipisicing elitsed do eiusmod tempor incididunt ut labore et dolore magna aliquaUt enim ad minim veniamquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequatDuis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariaturExcepteur sint occaecat cupidatat non proidentsunt in culpa qui officia deserunt mollit anim id est laborum.
</
td>

</
tr>
</
table>

      </
div>
    </
div>

     {
vb:raw footer}
 
 </
body>
</
html

Changing the "cellpadding"-value in <table> does not change cell padding.

Anyone here who have a clue which StyleVar to change?


All times are GMT. The time now is 08:31 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.02195 seconds
  • Memory Usage 1,763KB
  • 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)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete