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 01-03-2008 07:28 AM

Quote:

Originally Posted by magnus (Post 1413843)
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?

Zaiaku 01-05-2008 11:51 PM

No it doesn't automatically put it into the cache system.

Namaless 01-06-2008 06:57 AM

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.

youradhere4222 01-07-2008 05:25 PM

I'd also like this to be in the footer.

Almotmaiz.Net 02-02-2008 12:07 AM

nice mod !!

*INSTALLED*

i hope if you put a vBoption for tems content without vbpharse .. and can use BBCODE in this :)

Namaless 02-03-2008 01:47 PM

Quote:

Originally Posted by youradhere4222 (Post 1417294)
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 (Post 1434295)
i hope if you put a vBoption for tems content without vbpharse .. and can use BBCODE in this :)

Explain more me please :)

Mrquarter 02-27-2008 06:12 PM

How would you go about changing the Terms of Service on there?

Namaless 02-27-2008 09:55 PM

Quote:

Originally Posted by Mrquarter (Post 1452352)
How would you go about changing the Terms of Service on there?

For now only into template.

Mrquarter 02-27-2008 11:01 PM

Which template would that be?

Namaless 08-21-2008 05:58 AM

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.


All times are GMT. The time now is 08:55 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.01208 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (4)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