sgrayban Posted March 27, 2010 Share Posted March 27, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted March 31, 2010 Author Share Posted March 31, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 4, 2010 Author Share Posted April 4, 2010 Get $5 off until the end of April 2010 - use promo code TOS-5 See the addon in action -> https://www.borgnet.net/clients/tos.php?show=accept 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 4, 2010 Author Share Posted April 4, 2010 A free 15 day trial is available. https://www.borgnet.net/clients/cart.php?a=add&pid=43 0 Quote Link to comment Share on other sites More sharing options...
GNS_Harrison Posted April 4, 2010 Share Posted April 4, 2010 thanks! i am going to try the trial out. not sure why, but i am getting a blank page (white) for both of those links? is it just me? O_O 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 4, 2010 Author Share Posted April 4, 2010 Sorry it should be fixed now 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 7, 2010 Author Share Posted April 7, 2010 Updated version to 2.4 Changelog: * Fixed potential security hole * Version checking now on addon page 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 8, 2010 Author Share Posted April 8, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 11, 2010 Author Share Posted April 11, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted April 14, 2010 Author Share Posted April 14, 2010 (edited) 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 April 14, 2010 by sgrayban added screen shots 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted May 7, 2010 Author Share Posted May 7, 2010 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. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted June 19, 2010 Author Share Posted June 19, 2010 RC 3.2 is ready for testing -- current users can request it by making a support ticket at my site. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 1, 2010 Author Share Posted December 1, 2010 Final version will be out this week and I will post when it's ready. Clients will be able to download it via your clientarea. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 10, 2010 Author Share Posted December 10, 2010 See http://forum.whmcs.com/showthread.php?t=33993 for further details 0 Quote Link to comment Share on other sites More sharing options...
sampathneo Posted September 21, 2011 Share Posted September 21, 2011 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. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted October 7, 2011 Share Posted October 7, 2011 Nice, has this been developed yet ? 0 Quote Link to comment Share on other sites More sharing options...
Manchester Web Hosting Posted October 7, 2011 Share Posted October 7, 2011 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! 0 Quote Link to comment Share on other sites More sharing options...
heapmaster Posted November 5, 2011 Share Posted November 5, 2011 I have a module I built that does TOS's per product and more, I will be releasing it within a week or so here: http://www.heapsoftware.com/products.htm 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 5, 2011 Share Posted November 5, 2011 I have a module I built that does TOS's per product and more, I will be releasing it within a week or so here:http://www.heapsoftware.com/products.htm You should start your own thread instead of hijacking someone elses mod! 0 Quote Link to comment Share on other sites More sharing options...
taylorn Posted January 28, 2012 Share Posted January 28, 2012 (edited) 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 January 28, 2012 by taylorn 0 Quote Link to comment Share on other sites More sharing options...
sampathneo Posted March 18, 2012 Share Posted March 18, 2012 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! too busy on projects, I will do it before end of this year Thanks! 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted March 27, 2012 Author Share Posted March 27, 2012 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 0 Quote Link to comment Share on other sites More sharing options...
Apoc Posted May 22, 2013 Share Posted May 22, 2013 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. 0 Quote Link to comment Share on other sites More sharing options...
FlyingSquidwolf Posted April 15, 2014 Share Posted April 15, 2014 Hi, Can you please fix your registration form on your website or make the Contact Us section available to non-members. 0 Quote Link to comment Share on other sites More sharing options...
MAXER-peter Posted November 20, 2014 Share Posted November 20, 2014 The last update to this module was 2010 so it is fair to presume it is no longer maintained? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.