Thanks, that is what I initially thought to, however, that does not work. I think what is happening is I need a different re-write as it is rewriting as if it is being clicked on from within the forums.
Thanks for the response.
This is a discussion on Create your own Privacy Policy (using vb templates) within the Member Articles forums, part of the Focus on Members category; Thanks, that is what I initially thought to, however, that does not work. I think what is happening is I ...
Thanks, that is what I initially thought to, however, that does not work. I think what is happening is I need a different re-write as it is rewriting as if it is being clicked on from within the forums.
Thanks for the response.
I'm not Jenjust a link...
thanks
If you have a custom theme that uses different classes, the class names from the stylesheet simply aren't the same.
If you are using a default template (or built from a default template), it should inherit, and you likely missed a step somewhere.
Brian Cummiskey / Crawlability Inc.
Security bulletin - Patch Level for all supported versions released
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thanks brian, Was an understandable narrative.
http://www.mesken.gen.tr/mesken-gizl...anim-sartlari/ --- My Privacy Page![]()
Privacy statement time! Thanks Brian for your time and work.
Can anyone update this code for vB4?.
Thanks![]()
With Google Adsense's new terms requiring all sites to have a privacy policy about 3rd party cookies (reference: Tell your visitors they are being tracked with web beacons & cookies as AdSense terms updated - JenSense.com ), I figured i'd help you all get started with your own easy to make template.
DISCLAIMER:
It's best to consult a lawyer if you can, and I take no legal bearing on this privacy policy being legit in any way shape or form. It is what I came up with for my site. Your's may differ.
---------------------------------------
- Step1:
- Go into the vB ACP, vB Options -> Site Name / URL / Contact Details option.
- Find the privacy block, and enter 'privacy.php' in the blank. (note, if you already have a file called this, back it up before doing anything futer, as what lies ahead will over-write it)
- Step2:
- create a new php file in your editor of choice, or notepad.
- place the following code into it:
Code:<?php // ####################### SET PHP ENVIRONMENT ########################### error_reporting(E_ALL & ~E_NOTICE); // #################### DEFINE IMPORTANT CONSTANTS ####################### define('THIS_SCRIPT', 'privacy'); define('CSRF_PROTECTION', true); // change this depending on your filename // ################### PRE-CACHE TEMPLATES AND DATA ###################### // get special phrase groups $phrasegroups = array(); // get special data templates from the datastore $specialtemplates = array(); // pre-cache templates used by all actions $globaltemplates = array('privacy'); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); // ####################################################################### // ######################## START MAIN SCRIPT ############################ // ####################################################################### $navbits = construct_navbits(array('/' => 'Home', '' => 'Privacy Policy')); $navbar = render_navbar_template($navbits); // ###### YOUR CUSTOM CODE GOES HERE ##### $pagetitle = 'Privacy Policy'; // ###### NOW YOUR TEMPLATE IS BEING RENDERED ###### $templater = vB_Template::create('privacy'); $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('pagetitle', $pagetitle); print_output($templater->render()); ?>- save and upload to your root forum directory (same location as showthread.php, etc) calling it 'privacy.php'
- Step3:
- Go to the style Manager in the ACP. From your skin (and you will have to do this for each skin if they aren't inherited) Select 'Add New Template' from the drop down.
- Name the template 'privacy' THIS MUST MATCH what is in the php file, so if you change it here, you must change it there as well.
- place the following code into the template. Note again, this contains the code that I used for my policy. I Highly suggest you edit some of it at the very least
Also, change YOURSITENAME to your site name, duh
Code:{vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head> <title>{vb:raw pagetitle} - {vb:raw vboptions.bbtitle}</title> {vb:raw headinclude} </head> <body> {vb:raw header} {vb:raw navbar} <H1>Privacy Policy</H1> <ul> <li>YOURSITENAME recognizes that you care about the personal information that is held about you and how that is used.</li> <li>This privacy policy applies to all personal data, submitted by you, to the YOURSITENAME web site.</li> <li>By registering to YOURSITENAME you need to submit a chosen name and contact information, more specifically an e-mail address. No extremely personal information, such as Social Security or Credit Card numbers are stored by us.</li> <li>YOURSITENAME also stores and reads cookies to and from your computer. Cookies are alphanumeric identifiers that we transfer to your computer's hard drive through your Web browser to enable our forums and general website features to recognize your browser for when you return to this web site. By using this website, you agree that both the webserver, and any trusted 3rd party we chose, such as advertising networks, may place a tracking cookie on your machine and access it at any time during your session. In general, cookies are safe and are not a security issue when being used from 'trusted' internet sites, such as YOURSITENAME. For information on how to manage cookies in your browser, please visit <a href="http://www.aboutcookies.org/Default.aspx?page=2" rel="nofollow">AboutCookies.org</a></li> <li>YOURSITENAME will not sell, transmit or distribute any data held without your prior permission or consent, unless required to do so under relevant United States legislation.</li> <li>All other information provided by you goes into a "public profile" and is entirely optional, all information held in that profile is held there at your own risk. This info is edited via your Control Panel in the forums.</li> <li>You have a legal right for the personal information held at YOURSITENAME to be updated if it is incorrect or deleted if you choose. Most of this can be done through your Control Panel in the forums. If you are having issues with this, please contact us if you need help.</li> <li>YOURSITENAME will take all reasonable effort to ensure that all personal information about you submitted is maintained secure on our server. However, we make no warranty to this.</li> <li>This site is intended for individuals over the age of 13. Any information collected is intended to be of individuals over the age of 13. According to <a href="http://www.ftc.gov/coppa/index.html">COPPA</a>, our site does NOT cater to children. "Operators of commercial websites or online services directed to children under 13 that collect personal information from children" require a COPPA agreement and privacy policy. Since we do not cater to this age group, no COPPA exists on YOURSITENAME</li> <li>This Privacy Policy may be modified at any time without notice. It is your responsibility to check this page for updates or changes. If you have any questions regarding your privacy, then <a href="/sendmessage.php">Contact Us</a></li> </ul> {vb:raw footer} </body> </html>- Step4:
- I know you didn't edit it yet... go back and edit your template with YOUR policy
- Step5:
- Optional: Create a CRR to make privacy.php look nice, like yourdomain.com/privacy/ or any other variety you chose.
- Head into the VBSEO CP, and scroll down to the Custom Rewrite Rules block.
- Enter:
or any other variety in the right-hand side that you wish to re-write it too.Code:'privacy\.php' => 'privacy/'- Step6:
- That's it
Assuming your footer template is stock (or at least has all the stock conditionals in it) you will now see a "Privacy Statement" link in the bottom right (near where the modcp and admincp links are) Click it and make sure it works. Enjoy
Last edited by Ceri May; 12-16-2009 at 09:01 PM.
Works fine, thanks!
Thank you very much Ceri!, now i'm ready to upgrade to vB4 when they release the gold version![]()
I created privacy policy using FAQ included in vBulletin, looks ok.
Good work thank you. I also used privacy policy as plugin here you can check: MARCO1 Privacy Policy - vBulletin.org Forum