PDA

View Full Version : Mini Mods - Term of Service


Namaless
31 Dec 2007, 21:29
This script start with "Terms & Conditions" by Hex_legend into http://www.vbulletin.org/forum/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:

Unpack "product-namaless_tos.x.zip" where x is the version number
Upload to root of your vbulletin installation (where found global.php file) the file "tos.php"
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
31 Dec 2007, 21:32
*Reserved*

Hex_legend
31 Dec 2007, 21:54
Thanks Namaless :)

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

Jase2
31 Dec 2007, 22:02
I'll also help if you need it.

Regards Jason :)

Namaless
31 Dec 2007, 22:44
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 Jan 2008, 13:10
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 Jan 2008, 17:22
All right, insert 3.6.99 for minimal version.. for beta version create a problem. One minutes and reupload fixed version. Waiting ^_^

Forum Lover
02 Jan 2008, 03:49
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
02 Jan 2008, 07:17
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
02 Jan 2008, 13:34
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:
$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

Namaless
03 Jan 2008, 08:28
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:
$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
06 Jan 2008, 00:51
No it doesn't automatically put it into the cache system.

Namaless
06 Jan 2008, 07:57
With 1.02 yes, before use
$globaltemplates[] = array('namaless_tos', 'namaless_tos_navbar');

With this vb debug get me message "Uncached template".

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

For me now cache template work correctly.

youradhere4222
07 Jan 2008, 18:25
I'd also like this to be in the footer.

Almotmaiz.Net
02 Feb 2008, 01:07
nice mod !!

*INSTALLED*

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

Namaless
03 Feb 2008, 14:47
I'd also like this to be in the footer.
When vbulletin get me template hook into footer navigator, add this.. ;)

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

Mrquarter
27 Feb 2008, 19:12
How would you go about changing the Terms of Service on there?

Namaless
27 Feb 2008, 22:55
How would you go about changing the Terms of Service on there?
For now only into template.

Mrquarter
28 Feb 2008, 00:01
Which template would that be?

Namaless
21 Aug 2008, 06:58
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.

Namaless
09 Oct 2008, 14:18
The time of new version are coming..

Now.. this is last request modifications:

Link into Footerbar
Use Phrases for all text
Use vBCodes into Phrases istead HTML (html is more dangerous)


If any other requests are appreciated :)

Regards.