sgrayban Posted December 1, 2010 Share Posted December 1, 2010 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.... Changelog is at http://www.borgnet.net/clients/tos-changelog.html To install this addon.... 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/modules/admin/terms/tos.php /ROOTPATH_FOR_WHMCS/modules/admin/terms/version.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. Sample admin page will look like this. Terms Navigation » Home | Updates Manage the "Terms of Service" versions. Your current revision is 1. License License status: Active License Key: TOS-xxxxxxxxxxxxxxxxxxxxx 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 If you have any issues please open a support ticket on my site. Contrary to previous questions and answers I gave if you have your 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...
cyberneticos Posted December 22, 2010 Share Posted December 22, 2010 ver y cool Does it keep track of TOS versions ? 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 22, 2010 Author Share Posted December 22, 2010 As in the actual diff's of the TOS or just the version number ? I should have posted the... 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 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted December 22, 2010 Share Posted December 22, 2010 Does it show the IP and date they accepted the new revisions ? This would be crucial. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 22, 2010 Author Share Posted December 22, 2010 I don't think you looked at the screen shots.... Dates wouldn't matter so long as they accepted the current version of the TOS. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 22, 2010 Author Share Posted December 22, 2010 the terms3 screenshot is the filter list showing users that accepted the current version 3 - you can see that top left under the User List section. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted December 22, 2010 Share Posted December 22, 2010 1-I did look at the screen shots. 2-I didn't see any dates nor IPs 3-That's why I asked. Let me know when your software includes dates and IPs, to consider purchasing it. Cheers. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 22, 2010 Author Share Posted December 22, 2010 It probably wont anytime soon as I never saw that as a issue. But I'll think about it. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted December 22, 2010 Share Posted December 22, 2010 The reason behind this is pretty obvious. If you have a customer that has accepted more than one revision, and he takes you to court for anything that was covered in one of those revisions, you're gonna have to make it clear to the judge which revision was in effect when the issue happened (that's why the date is important), then the IP is just another important piece of info I suppose I don't have to explain. Cheers 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 22, 2010 Author Share Posted December 22, 2010 Point taken but that was never the plan. Currently if a user has not accepted the current version they are denied access to their account so if they haven't accepted it the date is kind of a moot point. As for the IP recording that probably won't be added since there IP is recorded under the user summary in the admin area which holds more info such as last login date. If anything the date would be the only thing I might add. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted December 22, 2010 Share Posted December 22, 2010 Is the code open ? I can fix it do make it show that info. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 22, 2010 Author Share Posted December 22, 2010 No it isn't. I thought about a dev license but I think most people wouldn't buy that one since only a few files would be un-encoded. The license checking would certainly be encoded and in force still. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted December 25, 2010 Share Posted December 25, 2010 Can you include some code where it shows the date and IP of acceptance? Even if you think it's useless, I would buy your script for $40 even , if it had this. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 26, 2010 Author Share Posted December 26, 2010 I have released a dev version of this addon. You can order it via this link for $40 USD. The files modules/admin/terms/tos-dev.php and the root /tos.php can be edited. You can add new table fields to include more features then what is provided in the coded version. The MySQL table that is created and used is called mod_terms and you can edit that with phpmyadmin to add more info to display. 0 Quote Link to comment Share on other sites More sharing options...
cyberneticos Posted December 26, 2010 Share Posted December 26, 2010 Hi Scott, Does this dev version include what I need , or I have to code it myself ? 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 26, 2010 Author Share Posted December 26, 2010 You have to code your own portions you want to add or change. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted December 26, 2010 Author Share Posted December 26, 2010 It will still create the default database when you install it but you can modify it and add new fields to include in your own modified version. The file tos-dev.php allows you to pull the data and format it the way you want it and the the file from the root /tos.php you can customize to enter the data in the new fields you want to include such as the date and IP. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted March 5, 2011 Author Share Posted March 5, 2011 Version 3.3 has been released - current clients have already been notified. Changelog ----- * Fixed a bug in the functions library. * Uped the curl timeout 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted August 18, 2011 Share Posted August 18, 2011 Just tried to order this but it seems your cart is broken and gives a 403 error. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted August 19, 2011 Author Share Posted August 19, 2011 Cart is fine and your order did go through along with the product email sent to you... I also tested the ordering and I couldn't reproduce the 403 error. 0 Quote Link to comment Share on other sites More sharing options...
Daniel Posted August 19, 2011 Share Posted August 19, 2011 I had to use /order/ instead of cart.php - using the regular order link gives me: http://07z.net/6Xy.png 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted August 19, 2011 Author Share Posted August 19, 2011 That's odd. It works for me and I asked another client to check it as well and it works for them also. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted February 5, 2012 Share Posted February 5, 2012 Off topic posts and insults removed. If you're not happy with this, please just move along. 0 Quote Link to comment Share on other sites More sharing options...
Brian Murphy Posted September 1, 2012 Share Posted September 1, 2012 Hi Scott, Thanks for contributing and helping others. Looks like a useful add-on. So when the terms and other policies are updated, they will be redirected to this page (or just 1 'policy')? And they will have to agree to the update in order to continue? or...? (looking at the screenshots, it is not that easy understanding what is displayed with everything blacked out... Can't you use some sample data? Sample customers? Sample IP's (1.2.3.4)? Sorry, just don't quite understand whether it will force those to agree, or only those who have never had any agreement. Or if someone has not logged in for 6 months after 5 updates to the Policies. Thanks! Brian. 0 Quote Link to comment Share on other sites More sharing options...
sgrayban Posted September 1, 2012 Author Share Posted September 1, 2012 It will force anyone who hasn't viewed the TOS - old and new clients alike. 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.