PDA

View Full Version : Privacy Policy Page?


interfx
07 Jan 2007, 00:24
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

rogersnm
07 Jan 2007, 08:25
You just need a simple custom page, there are a few tutorials on here and it's not difficult.

WhaLberg
07 Jan 2007, 08:55
What you need exactly? Is your policies ready? If so, pm me the policies and I'll make a nice page for you.

Ted S
07 Jan 2007, 09:24
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

<?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') . '");');

?>

2. Create a template for each of your top/ parent level styles named pages_privacy with the following 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>


3. Modify the template to contain whatever privacy policy text you have. You can also customize the page look and feel as you see fit.

interfx
07 Jan 2007, 12:12
That did it, very simple...

Thanks