vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   "blank" forum page (https://vborg.vbsupport.ru/showthread.php?t=59933)

VodkaFish 01-09-2004 01:58 AM

"blank" forum page
 
I'm running vb3 and wondering how I should go about making a "blank" forum page. By blank I mean within my template, yet there's nothing in the middle (no forum listing, etc.). The top w/login and bottom templates I have and that's it.

I need to make some non-forum-related forms, except that I need the user id of the person (and would like them to have a normal look/feel of the page).

I'd like to know if I can just strip out the middle of the index.php page, or if there is another page that would be a better template.

Zachery 01-09-2004 02:17 AM

Quote:

Originally Posted by VodkaFish
I'm running vb3 and wondering how I should go about making a "blank" forum page. By blank I mean within my template, yet there's nothing in the middle (no forum listing, etc.). The top w/login and bottom templates I have and that's it.

I need to make some non-forum-related forms, except that I need the user id of the person (and would like them to have a normal look/feel of the page).

I'd like to know if I can just strip out the middle of the index.php page, or if there is another page that would be a better template.

look at the templates named SHELL

VodkaFish 01-09-2004 02:40 AM

Quote:

Originally Posted by Faranth
look at the templates named SHELL

I'd love to use it, but I have no idea how the templates work. I was just looking to take a .php page and stick some forms in it with some sql statements and have a series of them link to each other.

Is there any sort of basic tutorial someone can point me to? (I'll go search around too)

Zachery 01-09-2004 02:43 AM

you know what, im going to write a quick tut ill post the link once im done, granted it already hasnt been done

VodkaFish 01-09-2004 02:50 AM

Very cool. Thanks.

Sorry for the newb-like questions, I'm super-new to vb and php in general.

Zachery 01-09-2004 03:18 AM

https://vborg.vbsupport.ru/showthrea...146#post459146 enjoy :)

VodkaFish 01-12-2004 12:36 AM

If I slap your (longer) example into a blank .php page and use the shell_blank as my template (unchanged); I get an "object expected" error when the page tries to run this script:
Code:

<script type="text/javascript">
<!--
        // Main vBulletin Javascript Initialization
        vBulletin_init();
//-->
</script>

* editing to point out that the page I wrote was in a different directory, so I used this:
PHP Code:

chdir("../forums"); 



All times are GMT. The time now is 11:43 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.01424 seconds
  • Memory Usage 1,724KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (7)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