vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Add Custom pages in Fourm (https://vborg.vbsupport.ru/showthread.php?t=108516)

naseermughal 02-21-2006 08:14 AM

Add Custom pages in Fourm
 
i want to develop one webpage in which i want to show forum header (include username/password section, top menu etc.) and footer information, in between these two i want to show my custom data.

Lets say, my company information..., we add one link on the footer of the forum, now when user click on this, it will display the page... with all sessions and cookies data... this is becoz when i tried to make this, i can jump to the custom page without header and footer information, without userinformation...

Can anyone helpout in this regard.

Marco van Herwaarden 02-21-2006 11:33 AM

Create a Template for your custom page. Include $header, $navbar and $footer, see existing vB templates on how to do this.

Now create a new php-file, include global.php, etc.. and fetch the templates.

You will find some examples in our Tutorial section, or have a look at some hacks here at vb.org.

ChuckH 02-21-2006 03:30 PM

<a href="https://vborg.vbsupport.ru/showthread.php?p=482210#postid=482210" target="_blank">https://vborg.vbsupport.ru/showt...#postid=482210</a>

naseermughal 03-11-2006 03:40 AM

Thanx

now i want to show records from database,

Lets say, i have a table, which contain the following information....
username, filename, views, dowloads,

and i want to show them like the list (show all records on the page)


All times are GMT. The time now is 03:29 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.01291 seconds
  • Memory Usage 1,707KB
  • 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)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