vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Blank page with vBulletin design but no content (https://vborg.vbsupport.ru/showthread.php?t=260166)

dered 03-10-2011 01:32 PM

Blank page with vBulletin design but no content
 
Hi there,
I have a vBulletin 4.1.1 forum. I need a custom page, something like www.forum.com/page.php to show me design, header and footer of the forum but no posts. Instead of posts/forums i want to add my own content (pics, text etc). How is that possible to make such a page?

your24hourstore 03-10-2011 02:06 PM

what that links to is a custom 404 -page is that what you are trying to do ?

--------------- Added 10 Mar 2011 at 10:12 ---------------

what you want is to make a custom template its so easy, just goto styles and templates/stylemanager/add new template

when you create the template you just name it custom_whatever the whatever is what will be used to call the page with a link like this
HTML Code:

http://yourwebsite.com/misc.php?do=page&template=whatever
you will add this code for header and footer
HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
{vb:raw headinclude}
<title>Four States Photo Studio</title>
<link rel="stylesheet" type="text/css" href="{vb:var vbcsspath}vbulletin-formcontrols.css" />
</head>
<body>
{vb:raw header}
{vb:raw navbar}
<div class="blockbody">
<div class="blockrow">
<center>
<table width="800" border="0">
  <tr>
    Your content html or whatever will go into this area of the template
  </tr>
</table>
</center>
</body>
</div>
</div>
{vb:raw footer}
</body>
</html>


Lynne 03-10-2011 03:47 PM

Or follow this - [HOW TO - vB4] Create your own vBulletin page

dered 03-15-2011 01:59 PM

I already have a theme installed in my forum called THEME. I need to create a custom page that uses my vBulletin template, and include my vBulletin header, navbar, and footer.


All times are GMT. The time now is 05:54 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.00946 seconds
  • Memory Usage 1,719KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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