vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164)

CommanderFluffy 05-19-2008 02:27 AM

this time after resetting the php to what it defaults to in the beginning of the tutorial. and i also did the style change.

RESULTS TIME: still a plain white page. so i decided to see the source of that blank page and i got

Code:

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

well i have no idea whats going on. really need some help on this. i have done the tutorial just as it had stated and the test.php well its in the forum directory.. but its still not doing anything! im really lost but need this for my site.

where do i put the second part of the tut if it doesnt explain really where to put it.. header, footer, includes. where?

Mum 05-20-2008 06:40 AM

Quote:

Originally Posted by Digital Jedi (Post 1521859)
100% wont do it. It will just stretch to 100% of the users browser window. The code for making the iframe adjust to the size of the content is at Dynamic Drive. http://www.dynamicdrive.com/dynamici...iframessi2.htm

Thanks, that only works on IE, so i won't bother with that at this stage - thanks :)

Digital Jedi 05-21-2008 02:36 PM

Actually, it works on FireFox 1+ and IE 5+.

--------------- Added [DATE]1211384723[/DATE] at [TIME]1211384723[/TIME] ---------------

Quote:

Originally Posted by CommanderFluffy (Post 1524313)
this time after resetting the php to what it defaults to in the beginning of the tutorial. and i also did the style change.

RESULTS TIME: still a plain white page. so i decided to see the source of that blank page and i got

Code:

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

well i have no idea whats going on. really need some help on this. i have done the tutorial just as it had stated and the test.php well its in the forum directory.. but its still not doing anything! im really lost but need this for my site.

where do i put the second part of the tut if it doesnt explain really where to put it.. header, footer, includes. where?


Okay, I think I understand what the problem is. It doesn't explain where to put it, because your supposed to create a new template with the template code provided. Your page is coming up blank because it's trying to fetch a template that you havn't created yet.


Quote:

Originally Posted by Gary King (Post 482210)
Be sure to change 'TEST' to the actual template name, and change 'test' to the filename. Also, change 'Test Page' to whatever you want to show in the navbar, such as 'Viewing Member Profile' (just an example).

Now create the template, called TEST with the following content:
HTML Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header
 
$navbar
 
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="tcat">Title</td>
</tr>
<tr>
    <td class="alt1">Text</td>
</tr>
</table>
 
$footer
</body>
</html>
 



CommanderFluffy 05-21-2008 07:06 PM

ok so now that i figured out that you have to have your test style witch i thought was the template. have the default style set to the main style for your setting... i had the wrong style set. and i thought the style was the template how to fix that tell them how to make a template! cause i didnt know how!

Digital Jedi 05-21-2008 07:14 PM

I'm not entirely sure I understand what you just said, but just in case, you create this template for each style the page will be using. You don't have to create a test or new style. Just a new template for each style your using.

cspirit 05-21-2008 08:23 PM

This should work with vB 3.7.0 also, right ?

Jase2 05-21-2008 09:10 PM

Of course.... ;)

kktt 05-23-2008 04:47 AM

Thanks! On my 3.7.0 no problemo worked in 30 seconds :)

Mum 05-25-2008 07:00 AM

I can remove the php i made, but how do i remove a template if i no longer want it?

IR15H 05-25-2008 11:51 AM

Quote:

Originally Posted by Mum (Post 1530701)
I can remove the php i made, but how do i remove a template if i no longer want it?

"Revert" it.
(ADMIN CP > Styles & Templates > Style Manager > Edit Templates > Select Your Template > Revert)


All times are GMT. The time now is 12:12 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.02497 seconds
  • Memory Usage 1,748KB
  • 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)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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