Jump to content

Force TOS update RELEASED !!


Recommended Posts

Previous thread is here.

 

What this module does is force your clients to agree to the new Terms or Service or they are denied access to there account.

 

Its pretty simple but effective as many sites now require you to agree to new terms or face having your account disabled and services terminated.

 

The annual cost is $15.00 - there is no owned license and upgrades will always be free.

 

To install this addon....

 

Import the file tblterms.sql into your WHMCS mysql database using phpmyadmin or what ever else you can use.

 

Upload the files in the correct directory structure.

 

/ROOTPATH_FOR_WHMCS/tos.php

 

/ROOTPATH_FOR_WHMCS/includes/hooks/terms.php

/ROOTPATH_FOR_WHMCS/modules/admin/terms/terms.php

/ROOTPATH_FOR_WHMCS/templates/ACTIVE-TEMPLATE/tos.tpl

 

Add these lines to your local language file(s) you use.

 

$_LANG['tos_pagetitle'] = "Terms Of Service Policy";

$_LANG['tos_nav'] = "TOS Policy";

$_LANG['tos_updated'] = "<strong>Revision updated!</strong><br>The revision has been updated successfully";

$_LANG['tos_user_deleted'] = "<strong>Accepted revision deleted!</strong><br>The accepted revision for the selected user is deleted";

$_LANG['tos_license_updated'] = "<strong>License updated!</strong><br>The license has been updated successfully";

$_LANG['tos_confirm'] = "Are you sure ?";

$_LANG['tos_top'] = "Manage the \"Terms of Service\" versions.<br />Your current revision is";

$_LANG['tos_change'] = "Change revision";

$_LANG['tos_change_up'] = "Update revision (+1)";

$_LANG['tos_change_down'] = "Downgrade revision (-1)";

$_LANG['tos_show_version'] = "What would you like to see?";

$_LANG['tos_show_current_version'] = "Users with the current revision";

$_LANG['tos_show_previous_version'] = "Users with the previous revision";

$_LANG['tos_search'] = "Users with revision ";

$_LANG['tos_not_accepted'] = "Users who didn't accept the ToS yet";

$_LANG['tos_user_list'] = "User list";

$_LANG['tos_rev'] = "Rev";

$_LANG['tos_no_records_found'] = "No records found";

$_LANG['tos_footer'] = "If you want a user to re-accept the current Terms of Service, remove the user from the current version list.";

 

Edit the template file tos.tpl to suit your needs - becarefull to not remove the smarty codes !

 

The settings are located under the admin Addon Modules section - admin/addonmodules.php?module=terms.

 

Admin page will look like this.

 

Terms

On this page, it's possible to manage the "Terms of Service" modification.

Your current revision is 2.

Change revision

 

* Update revision (+1)

* Downgrade revision (-1)

 

What would you like to see?

 

* Users with the current revision (2)

* Users with a previous revision (<2)

* Users with revision

* Users who didn't accept the ToS yet

 

 

You can order this addon at https://www.borgnet.net/clients/cart.php?gid=13

 

Contrary to a previous question and answer I gave if you have a TOS in a different location you can use a <iframe> tag in the tos.tpl to achieve the same thing.

Link to comment
Share on other sites

Version 2.3 released

 

I have released a new version of the Force TOS addon. You can download the new version from your client area.

 

This is a bug fix and should be installed right away.

 

Changelog

* Fixed bug how the check license is called and a conflict with whmcs crons

* Changed license check days

* Changed curl timeout

 

To upgrade overwrite all files and skip the database import.

 

Go to your admin addons then terms and you should see version 2.3. If you do then the upgrade went fine.

 

As usual if you have a problem or bug submit a ticket in your client area.

Link to comment
Share on other sites

We have updated the Force TOS addon to version 2.5.

 

Changelog:

* Changed the way the version was checking because some windows servers do not have php compiled correctly.

Originally used DOMDocument->load() but changed that to curl calls instead.

* Added page tabbing

* Checking for updates is now located under its own page

 

You can download the new version in your client area.

 

Please read the upgrade.txt file for instructions.

Link to comment
Share on other sites

Version 2.6

 

Changelog:

* version.php - Fixed version number location. I had it backwards showing the

update version as the current version.

* version.php - Added curl connection error checking. If there is a connection

error it will show in red below the version table.

 

You can download the new version in your client area.

 

Please read the upgrade.txt file for instructions.

Link to comment
Share on other sites

I have updated the Force TOS addon(v2.7) and did some html cleanup which most of you will probably like.

Future clients will not have to manually import the sql database !

 

This most likely be the last update for a long time unless something is broken or a user(s) has a good feature suggestion.

 

Changelog:

* If the license shows its expired/suspended it will let you re-check the license.

* Tidied up the license area - license is only asked for when it's invalid.

* SQL Table is now auto created with error reporting if it fails.

 

Screenshots:

 

Admin section

https://www.borgnet.net/clients/screenshots/terms1.png

https://www.borgnet.net/clients/screenshots/terms2.png

https://www.borgnet.net/clients/screenshots/terms3.png

 

Client section

https://www.borgnet.net/clients/screenshots/terms4.png

Edited by sgrayban
added screen shots
Link to comment
Share on other sites

  • 4 weeks later...

Force TOS addon (v3.1) released...

 

V3.1

* Fixed bug in tos.php - I forgot to rename the new table

 

V3.0

* Renamed table tblterms to mod_terms, this will auto create and move the original db if it exists

No data will be lost !!!

* Added Support page

* Enhanced the updates page to retrieve the changelog via curl if new verion detected

* Added info box on updates page and removed the info from below the version table

* Disabled curl post option when checking the license

* Optimized code to reduce my server load and client side

* Beta version check added just encase

* Final(?) version - really isn't anything left to add.

Link to comment
Share on other sites

  • 1 month later...
  • 5 months later...
  • 2 weeks later...
  • 9 months later...
  • 3 weeks later...
I'm going to develop new tos module called " FORCE TOS PLUS ", 100% open-source

 

Features :

can add terms for different products;

Ajax/CSS Shadow box type effects, not a new window/page;

and much more.

 

 

So what features do you plan on adding to this? Will it have the features of Sgraybans? That is a really good mod :) open Source...that will be brill!

Link to comment
Share on other sites

  • 4 weeks later...
  • 2 months later...

Well I have just had a fantastic experience with Scott (sgrayban) from BorgNet </sarcasm>

 

I opened a ticket, because i was having trouble with a few things. For starters, after submitting an updated ToS, clients were not being redirected to the ToS page, they just logged into their Client Area as normal.

 

First of all, he says "I guess you haven't read the Install file."..."I have no idea what you thought this addon does." - to which I replied that I had read the install, and that I was having trouble with the above.

 

Then he tells me that I (me personally) have many issues, and in the same ticket "Anyways I'll just revoke the license for you since my addon is broken LOL" and then he didn't just cancel it, he deleted it.

 

THEN, I get this:

 

"By the way smartass I looked at my logs here and the addon was working just fine... however you used the wrong license key as in a typo likely. Which is why the addon didn't work.

 

I wasn't being rude when I first answered the ticket, you simply got your panties in a wad and jumped conclusions. What you said in the ticket really made no sense to me. In any case I really don't need a client like you that has anger issues.

 

Rude is banning you for being a twat."

 

Words cannot explain how I feel about this. I have never been treated so poorly by another business. I really don't see how someone like this can run a business? An absolute joke

 

EDIT: Oh and he just deleted my account from his system, so I can no longer reply to support tickets or order products...

Edited by taylorn
Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...
  • 1 year later...
What the effin hell ??? This is MY MOD and MY thread for it. Why are you people using it for YOUR mod ? Seriously bugger off and start your own threads... dumbasses

 

Right. You just lost yourself a sale. Sure, it's not-done for others to promote their own mods in this topic. But if you're going to be swearing in public (can it get any more unprofessional?), there's no way we're going to do business. It also makes Taylor's review sound very plausible.

 

too busy on projects, I will do it before end of this year :)

 

So you are first going to hijack some else's topic, and then also fail to deliver? No sale for you either.

Link to comment
Share on other sites

  • 10 months later...
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated