vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How can I create a rules page? (https://vborg.vbsupport.ru/showthread.php?t=70562)

Justice 10-14-2004 05:31 AM

How can I create a rules page?
 
I'm trying to make a rules.php page that uses the "forum_rules_description" phrase, so I can keep the registration page and my current users on the same page.



I've tried to point to a rules template which uses this:

Code:

<phrase 1="$vboptions[forumhome].php?$session[sessionurl]" 2="$vboptions[bbtitle]">$vbphrase[forum_rules_description]</phrase>


but it doesn't show up. How do I get a seperate rules page? I've looked at the two rules.php hacks on this site, but they both call for making a seperate template for rules. I want to call from the same rules as the registration page.


Also, how can I get the rules to show up outside of the text box on the registration page?

assassingod 10-14-2004 06:21 AM

Quote:

Originally Posted by Justice
I'm trying to make a rules.php page that uses the "forum_rules_description" phrase, so I can keep the registration page and my current users on the same page.



I've tried to point to a rules template which uses this:

Code:

<phrase 1="$vboptions[forumhome].php?$session[sessionurl]" 2="$vboptions[bbtitle]">$vbphrase[forum_rules_description]</phrase>


but it doesn't show up. How do I get a seperate rules page? I've looked at the two rules.php hacks on this site, but they both call for making a seperate template for rules. I want to call from the same rules as the registration page.


Also, how can I get the rules to show up outside of the text box on the registration page?

Is the phrase global?

Justice 10-14-2004 07:00 AM

I don't think so... I'm referring to the default phrase vbulletin uses for the registration rules.

Dean C 10-14-2004 08:36 AM

Moved to General vBulletin Questions :)

Justice 10-14-2004 09:23 AM

How is this not a modification question? I'm asking how to create an add-on page

*shrug* hopefully I can get a response in either case. thx

Justice 10-25-2004 07:24 AM

nothing?

Polo 10-25-2004 02:58 PM

Why not try this mod?

https://vborg.vbsupport.ru/showthread.php?t=68291

Just a suggestion :)

Justice 10-25-2004 08:22 PM

Quote:

Originally Posted by Justice
I've looked at the two rules.php hacks on this site, but they both call for making a seperate template for rules. I want to call from the same rules as the registration page.

When I update the rules, I'll have to do it two places each time. I'd like for the registration and site rules to have the same phrase, if that makes sense.

AN-net 10-25-2004 09:22 PM

Quote:

Originally Posted by Justice
When I update the rules, I'll have to do it two places each time. I'd like for the registration and site rules to have the same phrase, if that makes sense.

oh just edit the phrase for TOS/rules for registration, i have modified this on my own site;)

Justice 10-25-2004 10:02 PM

Right, but your rules page and registration rules are two different templates and phrases though.

I must not be explaining myself well at all. I'm trying to have register.php and rules.php read from the same phrase, so that new users and current users are reading from the same list of rules.


All times are GMT. The time now is 12:21 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.01144 seconds
  • Memory Usage 1,731KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete