vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Mini Mods - Term of Service (https://vborg.vbsupport.ru/showthread.php?t=166569)

Namaless 12-30-2007 10:00 PM

Term of Service
 
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.

Namaless 12-31-2007 08:32 PM

*Reserved*

Hex_legend 12-31-2007 08:54 PM

Thanks Namaless :)

If you need any help then I will do my best to assist.

Jase2 12-31-2007 09:02 PM

I'll also help if you need it.

Regards Jason :)

Namaless 12-31-2007 09:44 PM

Now have released the advanced version of your base-script for tos.

Intested if this script able to possible to set on/off trow vbulletin config panel?

Another ideas: pass primary variables same notices system... this not a realy good ideas.. :(

Forum Lover 01-01-2008 12:10 PM

The following dependencies were not met:

1. This product is not compatible with version 3.7.0 Beta 3 of vBulletin. (Compatible starting with 3.7.0)

how can i fix this in my test board?

Edit:

we can put,
<dependency dependencytype="vbulletin" minversion="3.7.0 Beta 3" maxversion="" />
for the time being right?!

Namaless 01-01-2008 04:22 PM

All right, insert 3.6.99 for minimal version.. for beta version create a problem. One minutes and reupload fixed version. Waiting ^_^

Forum Lover 01-02-2008 02:49 AM

Quote:

Originally Posted by Namaless (Post 1413249)
All right, insert 3.6.99 for minimal version.. for beta version create a problem. One minutes and reupload fixed version. Waiting ^_^

he..he.. alright, how can i put that link to footer instead of navbar?

Namaless 01-02-2008 06:17 AM

Quote:

Originally Posted by Forum Lover (Post 1413617)
he..he.. alright, how can i put that link to footer instead of navbar?

Not find autotemplate hook.

For insert into footer take a default string, but not sure to insert this in all skins.

Today exec same test and if is secure insert to bottom navbar ;)

Thanks for your suggestion. :)

magnus 01-02-2008 12:34 PM

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


All times are GMT. The time now is 11:09 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.01909 seconds
  • Memory Usage 1,764KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete