Has anyone successfully modified this plugin to work with PHP 7.1 or higher?
I got past the constructor errors by changing the 3rd line in each of the following two PHP files.
TouAppController.php
<?php
class TouAppController{
function __construct(){
TouSettingsController.php
<?php
class TouSettingsController{
function __construct(){
There are lots of run time issues like the following, however:
Warning: Illegal string offset ‘terms’ in TouAppController.php on line 122
Warning: Cannot assign an empty string to a string offset in TouAppController.php on line 122
So far, I haven’t got the syntax correct to fix these yet. Any assistance would be greatly appreciated.
If anyone took the route of using something other than this plugin, please share what you did.
Thanks!
]]>]]>Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; TouAppController has a deprecated constructor in /wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 2
1. ability to only show for specific roles (ie not show for subscribers, but do show for “members” , “editors” etc)
2. make plugin add “terms_and_conditions_version” as additional meta that adds the url of the terms and conditions that was signed. this way after each time the conditions are changed, we can see which version they actually signed as well as the timestamp of when they signed it.
]]>Hi,
I am using this in wordpress 4.6.3 and it seems to work fine. The front page of the plugin indicates compatibility up to 3.2.1, which might scare some folks off.
Thanks for this, it’s a nice plugin and I haven’t found anything else like it, I’m not sure if you are actively developing for it or just doing maintenance updates, but I have a couple of feature suggestions (if you’re bored and have an abundance of free time, lol):
-add a setting to allow admins to set the cookie timeout, looks like it is currently 344 days, which might be a bit long for some use cases
-detect custom post types and allow the admin to select which post types to use to populate the Front-end Page(s) list
-include archive pages, for woocommerce sites the shop page is just a placeholder for an archive page, so it does not obey when selected in Front-end Page(s)
Again, great plugin, and thanks!
]]>I would like for front end users to agree to terms of service one time, no matter which page they view. If I select multiple pages to require front end users to agree to the terms of use… it appears to force them to agree for every single page that “terms of us” is required. Is there any setting that I am missing that will fix this — to where the front end user only has to agree once (No matter what page they land on), and can then view any page on the website?
]]>Hi, there are 2 years since last update of the plugin. In the debug.log there are many errors:
[28-Aug-2016 00:29:50 UTC] PHP Deprecated: Non-static method TouAppHelper::get_param() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/controllers/TouSettingsController.php on line 47
[28-Aug-2016 00:29:50 UTC] PHP Deprecated: Non-static method TouAppHelper::get_pages() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/controllers/TouSettingsController.php on line 14
[28-Aug-2016 00:15:07 UTC] PHP Deprecated: Non-static method TouAppHelper::get_user_meta() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 446
[28-Aug-2016 00:15:07 UTC] PHP Deprecated: Non-static method TouAppHelper::get_user_meta() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 447
[28-Aug-2016 00:21:22 UTC] PHP Deprecated: Non-static method TouAppHelper::get_user_meta() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 487
[28-Aug-2016 00:29:16 UTC] PHP Deprecated: Non-static method TouAppHelper::get_include_contents() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 186
[28-Aug-2016 00:29:50 UTC] PHP Deprecated: Non-static method TouAppHelper::checked() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/views/settings/form.php on line 236
[28-Aug-2016 00:34:40 UTC] PHP Deprecated: Non-static method TouAppHelper::checked() should not be called statically, assuming $this from incompatible context in /home/lugabglj/public_html/bg_wp/wp-content/plugins/terms-of-use-2/classes/views/settings/form.php on line 263
Any update soon?
]]>Hi, I want to add the Tos to the post displayed by the Laegal tab on the top left hand corner of https://optimizedpanama.com/axhansell/
The text in Legal is in a post and I can add the short code to the post and terms of service will appear but I cannot make the checkbox appear at the bottom of the post.
What do I have to do to make the checkbox appear?
Thank
]]>Do you need to set up a court and arbitration location before using a terms of use statement? I just want a simple terms of use that users need to agree to before using my site
]]>Any idea why I am getting this:
You do not have sufficient permissions to access this page.
]]>[31-Jan-2014 16:35:07 UTC] PHP Strict Standards: Non-static method TouAppHelper::get_user_meta() should not be called statically, assuming $this from incompatible context in /home/chanc/public_html/foo.bar/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 136
]]>PLEASE SOMEONE! I have my TOS setup on my THANKYOU page that people arrive at after signing-up from a squeeze page. When the page loads everything looks fine. But when I enter my initials and press “I AGREE”, it just loops right back to the TOS on the same page. It does NOT got to the WELCOME message as it’s SET TO DO SO. WHY??????? Why is something SO SIMPLE, made to be SO COMPLICATED and NERVE WRECKING? Can anyone PLEASE help?
]]>I’d like to know if these two plugins are compatible, i do not see how to make use of WPML in this case thus making the plugin unusable on a multi language site.
What am I missing not seeing???
tx
]]>help no one can login
when i was logged in i could not click on plug-ins anymore
]]>Hi, can I force the user to accept the terms every time he log in ?
]]>Hello, Thanks for the good plugin.
Unfortunately, the click on “I Agree” does not work. The other “I Disagree” works fine.
How can it be? There is no response to i agree.
Thanks for help. regards
]]>Hello all,
I love this plugin. It does what it says. I did upload the newest version of buddypress 1.7,and now i am getting an error message. Please see below:
Fatal error: Call to a member function add() on a non-object in /home/vsouq/public_html/wp-content/plugins/terms-of-use-2/classes/controllers/TouAppController.php on line 304
What can I do to fix this? Please advise.
Thank you!
VS
“Terms Of Use” plugin locked me out of site after I activated the plugin. Now I get the message “You do not have sufficient permissions to access this page.”
]]>I love the functionality of this plugin! Any chance it will be updated with a version compatible with 3.5+?
Right now, when I require user agreement with terms before allowing access to a certain page, that page can not reload (just gets stuck on ?redirected+true).
Hope to see this useful plugin available with current versions of WP!
]]>How do I include the terms of use agreement button on my sites buddypress registration form?
]]>hey! i like the plugin and would even love it, if somebody can tell me how to make individual slugs/permalinks just accessible after agreement.
in my case, i use a front-end publishing method on url.com/post-new but its not a single wordpress page… any tips how to require an agreement?
thanks and regards,
axel
I use this plugin to enable acceptance of conditions, to let users publish comments on my blog posts.
The problem: I cannot (as administrator) reply to comments by WordPress control panel (backend) and by WordPress App for iPhone.
I’ve got last version of plugin and of WordPress.
Is there a fix or a PHP modification trick to let me reply comments by backend and WordPress App?
Thanks!!! ??
]]>I know this is a general issue with GF not spec to this plugin. But is there any way to use simple html in the Terms? Simple like <h1>
or <strong>
or get an <href=
in there?
I want the user to agree every time they view a particle page. I do not want it to save it to there cookies. How do I disable this?
]]>Hi,
plugin worked fine until I just updated to the latest wordpress version of 3.4.2. from 3.4.1. Any thoughts?
]]>Plugin activated for a single site in multisite installation. When trying to save settings it redirects to a 404 error page.
]]>I had a major problem with new members not receiving their email confirmation. I deactivate ALL plugins one by one and at the end – when I deactivate term of use – one that I really need – my confirmation emails worked perfect.
Please could you help so I can use your plugin without problems with emails?
Thank you.
]]>Hi Stephanie, I am now trying this plugin with Formidable. Whenever i go in and edit a form entry it is giving me an error that i have to accept the terms but there is no checkbox to do this?
Are you able to assist.
Thanks
]]>Hi,
thanks for great plugin. Here is polish translation for it – I grant full rights to my work for anyone interested in using it:
https://www.pyrkosz.pl/pliki/terms_of_use-pl_PL.po
PL: Polskie t?umaczenie do wtyczki Terms of use – zrzekam si? wszelkich maj?tkowych praw autorskich do wykonanej pracy.
Regards,
krzyc
I know this plugin works on the page level, but is there a way to have it work on the post level? This way everytime a user opens a post from a specific category, they will have to agree to the terms before being redirected to the post?
]]>Hi there
I’m using this plugin on a single install and it is FANTASTIC! Is it compatible on a multisite install?
]]>