vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   WANTED: How to guide for custom vB pages (https://vborg.vbsupport.ru/showthread.php?t=42607)

stuuu 08-22-2002 11:21 AM

WANTED: How to guide for custom vB pages
 
I am surprised this has not been done already :(

I would like a how to guide for creating custom pages with vB, this would include:
  • Includes (header, footer, styles)
  • How to include a custom PHP page inside of a vB created page
  • Ability to force the user to login to view the custom page
  • A custom page that works inline with vB's Who's online

Thanks.

Logician 08-22-2002 02:59 PM

Quote:

Originally posted by stuuu
I am surprised this has not been done already :(

ehem.. who said it has not been done? ;)

See WebTemplates.. It has most of the features you want and some will be added in the new version..

stuuu 08-22-2002 03:24 PM

So without installing this hack, there is not a guide to creating your own custom vB pages?

NTLDR 08-22-2002 03:25 PM

Quote:

Originally posted by stuuu
So without installing this hack, there is not a guide to creating your own custom vB pages?
In order to create custom vB pages you need to install a hack, there are quite a few avalible.

stuuu 08-22-2002 04:23 PM

Quote:

Originally posted by NTLDR


In order to create custom vB pages you need to install a hack, there are quite a few avalible.

Could you shed some light please? It would be much appreciated.

NTLDR 08-22-2002 04:28 PM

It depends what you are trying to do, but take a look at these hacks, some of the will have demos/screenshots so you can see what they do:

vBindex v2: https://vborg.vbsupport.ru/showthrea...hlight=vbindex

Extra Page Driven By Templates: https://vborg.vbsupport.ru/showthrea...page+templates

Webtemplates & Queries: https://vborg.vbsupport.ru/showthrea...t=webtemplates

stuuu 08-23-2002 08:34 AM

Thanks for all your help so far, but I am still not having any luck :(

I have put the page online so you can see the problem I am having:

http://dnbforum.com/audio.php

Bascially, the audio tables need to be between the vB header and footer, how can I achieve this?

The code for the audio tables is a bunch of MySQL queries and PHP code.

Thanks for any help :)

stuuu 08-23-2002 05:58 PM

Anyone? :(

NTLDR 08-23-2002 08:51 PM

You would need to eval after each section of code a template with the HTML in and then add the variables to the main template used.

Take a look at the other vB files to see how this can be done ;)

stuuu 08-23-2002 09:05 PM

Quote:

Originally posted by NTLDR
You would need to eval after each section of code a template with the HTML in and then add the variables to the main template used.

Take a look at the other vB files to see how this can be done ;)

I have had a look, but I am not getting it :/

Care to shed some light? Pleeeease.


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