vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Privacy Policy Page? (https://vborg.vbsupport.ru/showthread.php?t=135745)

interfx 01-06-2007 11:24 PM

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

rogersnm 01-07-2007 07:25 AM

You just need a simple custom page, there are a few tutorials on here and it's not difficult.

WhaLberg 01-07-2007 07:55 AM

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 01-07-2007 08:24 AM

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

?>

2. Create a template for each of your top/ parent level styles named pages_privacy with the following code:

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 01-07-2007 11:12 AM

That did it, very simple...

Thanks


All times are GMT. The time now is 06:48 PM.

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.01132 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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