Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-22-2002, 11:21 AM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 08-22-2002, 02:59 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #3  
Old 08-22-2002, 03:24 PM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So without installing this hack, there is not a guide to creating your own custom vB pages?
Reply With Quote
  #4  
Old 08-22-2002, 03:25 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 08-22-2002, 04:23 PM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 08-22-2002, 04:28 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 08-23-2002, 08:34 AM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 08-23-2002, 05:58 PM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #9  
Old 08-23-2002, 08:51 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 08-23-2002, 09:05 PM
stuuu stuuu is offline
 
Join Date: Jan 2002
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04191 seconds
  • Memory Usage 2,255KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete