The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Privacy Policy Page?
I'm looking for a page to create a privacy.php policy page...
Anyone seen somehting that will work for 3.6.4? Thanks in advance. InterFX |
#2
|
|||
|
|||
You just need a simple custom page, there are a few tutorials on here and it's not difficult.
|
#3
|
||||
|
||||
What you need exactly? Is your policies ready? If so, pm me the policies and I'll make a nice page for you.
|
#4
|
|||
|
|||
If I understand you correctly, all you're really doing is trying to create another page within your forum that contains your privacy policy content. This being the case you just need to follow these simple steps:
1. Copy the following code into a text editor and save it as privacy.php Code:
<?php error_reporting(E_ALL & ~E_NOTICE); define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT','pages_privacy'); // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups // get special data templates from the datastore // pre-cache templates used by all actions $globaltemplates = array('pages_privacy'); // pre-cache templates used by specific actions // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); $navbits = construct_navbits(array('' => 'Privacy Policy')); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('pages_privacy') . '");'); ?> Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> $headinclude <title>$vboptions[bbtitle] - Privacy Policy</title> </head> <body> $header $navbar <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="alt1"> PRIVACY TEXT GOES HERE </td> </tr> </table> $footer </body> </html> |
#5
|
|||
|
|||
That did it, very simple...
Thanks |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|