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

Reply
 
Thread Tools
Term of Service Details »»
Term of Service
Version: 1.02, by Namaless Namaless is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.7.3 Rating:
Released: 12-30-2007 Last Update: 01-04-2008 Installs: 32
Uses Plugins Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

This script start with "Terms & Conditions" by Hex_legend into https://vborg.vbsupport.ru/showthread.php?t=166489

I have recoded for added more features of vBulletin 3.7, example auto-template, vbphrase, ecc.

Release the first stable version.

This version have complete vBulletin 3.7 features (cache template, Where online set, Multilanguage).

Installation:
  1. Unpack "product-namaless_tos.x.zip" where x is the version number
  2. Upload to root of your vbulletin installation (where found global.php file) the file "tos.php"
  3. Import Production with file "product-namaless_tos.xml"


Change log:
  • 1.00 - Start public release.
  • 1.01 - Fix Minimal Version bug for beta versions.
  • 1.02 - Fix cache template system.

All right now this product is installed


The suggestion are more appreciate.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-03-2008, 07:28 AM
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by magnus View Post
For the record, custom pages such as this are easily manufactuered using vBulletin itself with no need for hacks or external PHP files.
  • Create a template named: custom_terms
  • Paste the following text inside the newly created template:
    HTML Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle] - Terms of Service</title>
    $headinclude
    </head>
    <body>
    $header
    $navbar
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
    	<td class="tcat">Terms of Service</td>
    </tr>
    <tr>
    	<td class="alt1">By using this Website you agree to be bound by these Terms, the Privacy Statement and the Copyright Statement
    <br><br>
    You acknowledge that you are responsible for making back-up copies of all your data and taking appropriate precautions against viruses, hacking and other types of computer misuse.
    <br><br>
    Whilst we try to ensure that the Website does not contain any error, defect, malfunction or corruption, we do not accept responsibility for any damage to or loss of data on your computer system, network or server that results from the download or use of the Website or any materials made available via the Website (except for death or personal injury caused by our negligence).
    <br><br>
    We cannot promise that access to the Website will be uninterrupted or error free. We reserve the right to suspend access to the Website between the scheduled maintenance window of approximately 01.00 and 02:30 GMT each day. There may also be occasions when access to the Website is interrupted for emergency maintenance or repairs or to carry out upgrades to improve the performance or functionality of the Website. Access may also be interrupted due to failures of telecommunications links and equipment, which are beyond the control of $vboptions[bbtitle].
    <br><br>
    You acknowledge that we cannot be held responsible for any delay or disruptions that are inherent in the operation of the Internet and the World Wide Web, including viruses.
    <br><br>
    We shall not be liable to you for any of the following types of loss or damage arising out of or in connection with your use of the Website or any or content and/or facilities provided via the Website :
    <ul>
    <li>any loss of profits, loss of earnings, loss of anticipated savings, goodwill or revenue;</li>
    <li>any loss or corruption of data; or</li>
    <li>any indirect or consequential loss.</li>
    </ul>
    The exclusions and limitations of liability contained in this section do not apply to :
    <ul>
    <li>any loss or damage resulting from death or personal injury caused by our negligence;</li>
    <li>loss or damages arising from our fraudulent misrepresentation; or</li>
    <li>any other losses which may not be excluded or limited by law.</li>
    </ul>
    Each provision of this Paragraph shall be construed separately as between you and us. If any part is held by a court to be unreasonable, inapplicable or unenforceable, then the other parts shall still apply.
    <br><br>
    If any provision of these Terms becomes void or otherwise unenforceable in whole or in part, the validity of the remainder of these Terms shall not be affected.
    <br><br>
    If either we or you fail to enforce, or delay in enforcing, any of our respective rights or remedies under these Terms, such failure or delay shall not operate as an agreement to waive that right or remedy, and shall not prevent us from exercising that right or remedy in the future.
    <br><br>
    These Terms are governed by and shall be construed in accordance with English law. Any dispute arising between us under or in connection with these Terms shall be subject to the non-exclusive jurisdiction of the English courts.
    <br></td>
    </tr>
    </table>
    
    $footer
    
    </body>
    </html>
  • Now you can call this template anytime using: http://url.to/forums/misc.php?do=page&template=terms
Good!

But with this not have vbphrase system, and use only one language.

This system (custom page) insert into automatic to vb template cache system?
Reply With Quote
  #13  
Old 01-05-2008, 11:51 PM
Zaiaku's Avatar
Zaiaku Zaiaku is offline
 
Join Date: Jul 2007
Location: 3rd Level of Hell
Posts: 502
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No it doesn't automatically put it into the cache system.
Reply With Quote
  #14  
Old 01-06-2008, 06:57 AM
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With 1.02 yes, before use
PHP Code:
$globaltemplates[] = array('namaless_tos''namaless_tos_navbar'); 
With this vb debug get me message "Uncached template".

But with this:
PHP Code:
$globaltemplates array_merge($globaltemplates, array('namaless_tos''namaless_tos_navbar')); 
Not have this message.

For me now cache template work correctly.
Reply With Quote
  #15  
Old 01-07-2008, 05:25 PM
youradhere4222 youradhere4222 is offline
 
Join Date: Sep 2007
Location: Houston, TX
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd also like this to be in the footer.
Reply With Quote
  #16  
Old 02-02-2008, 12:07 AM
Almotmaiz.Net Almotmaiz.Net is offline
 
Join Date: Jan 2005
Location: U.A.E, Sharjah
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod !!

*INSTALLED*

i hope if you put a vBoption for tems content without vbpharse .. and can use BBCODE in this
Reply With Quote
  #17  
Old 02-03-2008, 01:47 PM
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by youradhere4222 View Post
I'd also like this to be in the footer.
When vbulletin get me template hook into footer navigator, add this..

Quote:
Originally Posted by Almotmaiz.Net View Post
i hope if you put a vBoption for tems content without vbpharse .. and can use BBCODE in this
Explain more me please
Reply With Quote
  #18  
Old 02-27-2008, 06:12 PM
Mrquarter Mrquarter is offline
 
Join Date: Feb 2008
Location: Florida
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How would you go about changing the Terms of Service on there?
Reply With Quote
  #19  
Old 02-27-2008, 09:55 PM
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mrquarter View Post
How would you go about changing the Terms of Service on there?
For now only into template.
Reply With Quote
  #20  
Old 02-27-2008, 11:01 PM
Mrquarter Mrquarter is offline
 
Join Date: Feb 2008
Location: Florida
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which template would that be?
Reply With Quote
  #21  
Old 08-21-2008, 05:58 AM
Namaless's Avatar
Namaless Namaless is offline
 
Join Date: Sep 2006
Location: Italy
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for long no-news, but I haved problem with my family.

News: vBulletin added footer link hook, in the next release the Terms link go into bottom navlink.
I choose to use more friendly and added some features.. waiting next release

Regards.
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 07:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04857 seconds
  • Memory Usage 2,325KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_html
  • (2)bbcode_php
  • (4)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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