Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB Importance Details »»
vB Importance
Version: 1.00, by Adrian. Adrian. is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.1 Rating:
Released: 09-20-2006 Last Update: 09-21-2006 Installs: 85
Template Edits
Additional Files  
No support by the author.

vB Important
Formely vB Privacy
By Adrian at Development Chat.com

vB Importance is a easy way to add a privacy policy, tos, rules and Disclaimer page to your forum.
It's easy to install, and rather useful.

Installation

Import product-importance.xml
Go to vBulletin Options > vB Importance > and configure.
Upload privacy.php/tos.php/disclaimer.php and rules.php to your forums root directoy.

Template Edits

Open footer...

Find:
HTML Code:
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
Add below:
HTML Code:
<if condition="$vboptions['importance_privacy_footer'] == 1"><a href="$vboptions[bburl]/privacy.php" rel="nofollow">Privacy Policy</a> -</if>

<if condition="$vboptions['importance_tos_footer'] == 1"><a href="$vboptions[bburl]/tos.php" rel="nofollow">TOS</a> -</if>

<if condition="$vboptions['importance_rules_footer'] == 1"><a href="$vboptions[bburl]/rules.php" rel="nofollow">Forum Rules</a> -</if>

<if condition="$vboptions['importance_disclaimer_footer'] == 1"><a href="$vboptions[bburl]/disclaimer.php" rel="nofollow">Disclaimer</a> -</if>
Save.

Upgrading
If you are upgrading from vB Privacy.

Reupload privacy.php, and upload the other 3 .php files.
Import product-importance.xml.

If it asks you to overwrite vB Privacy, do so.

Open Footer.
Find:
HTML Code:
<if condition="$vboptions['privacy_footer'] == 1"><a href="$vboptions[bburl]/privacy.php" rel="nofollow">Privacy Policy</a> -</if>
Replace with:
HTML Code:
<if condition="$vboptions['importance_privacy_footer'] == 1"><a href="$vboptions[bburl]/privacy.php" rel="nofollow">Privacy Policy</a> -</if>

<if condition="$vboptions['importance_tos_footer'] == 1"><a href="$vboptions[bburl]/tos.php" rel="nofollow">TOS</a> -</if>

<if condition="$vboptions['importance_rules_footer'] == 1"><a href="$vboptions[bburl]/rules.php" rel="nofollow">Forum Rules</a> -</if>

<if condition="$vboptions['importance_disclaimer_footer'] == 1"><a href="$vboptions[bburl]/disclaimer.php" rel="nofollow">Disclaimer</a> -</if>
Done.

You can find the privacy page at http://yoururl.com/privacy.php
Disclaimer - /disclaimer.php
Rules - /rules.php
Tos - /tos.php

If you do use this, please click install.

Thanks.

Adrian

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
blind-eddie

Comments
  #2  
Old 09-21-2006, 07:53 PM
Get Shorty's Avatar
Get Shorty Get Shorty is offline
 
Join Date: Jun 2006
Location: Baton Rouge, LA
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack.

installed
Reply With Quote
  #3  
Old 09-21-2006, 07:53 PM
apdcanari apdcanari is offline
 
Join Date: May 2005
Location: Belgique
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good ! 3.5 please ?
Reply With Quote
  #4  
Old 09-21-2006, 08:06 PM
Adyum Adyum is offline
 
Join Date: Jan 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installing as we speak.
Reply With Quote
  #5  
Old 09-21-2006, 08:56 PM
magnus's Avatar
magnus magnus is offline
 
Join Date: Apr 2002
Location: Miami, FL
Posts: 1,107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those who don't know, something similar could be accomplished without the need for a hack. By creating a custom template named CUSTOM_PRIVACY and then calling it using: MISC.PHP?DO=PAGE&TEMPLATE=PRIVACY

The advantage this hack does have, however, is it will list the member's location in the WOL. Either way, a privacy page is definately a good idea. Keep your users informed.
Reply With Quote
  #6  
Old 09-21-2006, 10:36 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah this makes it alot easier then other ways mentioned in other threads.

Thanks.

edit

What files should i edit if I want to upload this again under another name multiple times, eg. I want to have it so I can have a disclaimer, tos, privacy etc.
Reply With Quote
  #7  
Old 09-22-2006, 08:26 AM
Adrian.'s Avatar
Adrian. Adrian. is offline
 
Join Date: Oct 2005
Location: South Yorkshire
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
Yeah this makes it alot easier then other ways mentioned in other threads.

Thanks.


edit


What files should i edit if I want to upload this again under another name multiple times, eg. I want to have it so I can have a disclaimer, tos, privacy etc.
Well,

To do that, and be able to add and enable like the privacy policy, it would mean making a similar page to privacy.php, and making another template and more phrases in the options.

If you like, i could quickly make you one?

Adrian
Reply With Quote
  #8  
Old 09-22-2006, 11:00 AM
Adrian.'s Avatar
Adrian. Adrian. is offline
 
Join Date: Oct 2005
Location: South Yorkshire
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Updated
vB Privacy is now vB Importance.

You can now have a Disclaimer, TOS and rules page aswell.

Remember, to click install if you use it, for updates.

Adrian
Reply With Quote
  #9  
Old 09-22-2006, 11:37 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Adrian.
Updated
vB Privacy is now vB Importance.

You can now have a Disclaimer, TOS and rules page aswell.

Remember, to click install if you use it, for updates.

Adrian
Thankyou for the update, exactly what I was after

edit:
you may want to add in the next update some others like AUP (Acceptal use policy) or a manual on how to add more as well.

Thanks again.
Reply With Quote
  #10  
Old 09-22-2006, 12:05 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks! Works great.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:48 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.07821 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete