vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Site Rules similar to this forum (https://vborg.vbsupport.ru/showthread.php?t=91801)

TimBrown 07-07-2005 07:53 PM

Site Rules similar to this forum
 
I like how there is the 'Site Rules' link on this forum above which links to an actual page with the rules, I don't know if this is really a mod, but how can I do this on my forum?

m0nde 07-07-2005 08:10 PM

You can do that using vBadvanced CMPS by adding a template and setting it to be the custom template for the whole page.

Just put your rules in that template and it'll show up as a static page with your forum's formatting and navbar, etc.

Another way is simply to create a php file with the css and header information added to the top and add your static html in that which will contain your rules.

Either way, you'll have to add a link to that page to the navbar like they did here.

- Sid

Marco van Herwaarden 07-07-2005 08:33 PM

No need to use anything else then standard vB to show a custom template with static text. You only need to create a template with a special name, and link to it.

Lol, wish i could remember now what that name was, i am sure that Brad will come to aid in this thread.

TimBrown 07-08-2005 03:56 PM

I have no trouble adding the link to the navbar, the only problem is that I don't know how to create a custom template/page with static text. Any help?

Princeton 07-08-2005 04:01 PM

call the page via 'misc.php?do=page&template=test'
and add a new template by the name of 'custom_test'

NOTE: you must prepend 'custom_' to the new template

Marco van Herwaarden 07-08-2005 04:10 PM

Quote:

Originally Posted by princeton
call the page via 'misc.php?do=page&template=test'
and add a new template by the name of 'custom_test'

NOTE: you must prepend 'custom_' to the new template

Thanks Princeton. That was the one i could remember. :D

PS Brad you really disappointed me on this one. :D

axi 07-17-2005 04:48 PM

can someone please show it more clearly or attach the script/templates?.. im keen on this add on for my forums too and would love to add a set of guidelines.

thanks

bigcurt 07-17-2005 05:22 PM

https://vborg.vbsupport.ru/showthread.php?t=62164 ---*whistles* :)

axi 07-18-2005 03:19 AM

thanks thats a good explanation on that page
cheers


All times are GMT. The time now is 12:11 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.01004 seconds
  • Memory Usage 1,725KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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