PDA

View Full Version : WANTED: How to guide for custom vB pages


stuuu
08-22-2002, 11:21 AM
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
Originally posted by stuuu
I am surprised this has not been done already :(

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

See WebTemplates (https://vborg.vbsupport.ru/showthread.php?s=&threadid=36419).. 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
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
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/showthread.php?s=&threadid=41916&highlight=vbindex

Extra Page Driven By Templates: https://vborg.vbsupport.ru/showthread.php?s=&threadid=36600&highlight=extra+page+templates

Webtemplates & Queries: https://vborg.vbsupport.ru/showthread.php?s=&threadid=36419&highlight=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
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.

NTLDR
08-23-2002, 09:18 PM
Its kinda difficult without actually seeing the code and what it is doing.