User Profile Plugin, select "Required" on "Terms of Service" option and select any article in "article Terms of service"
Create a new user thru frontend menu, leave "no" in "accept the tos", the new user is still created
Should display an error message:
Please read the Terms of Service. You will not be able to register if you do not agree with them.
No error message, user is created
Joomla 3.5.1/php 7/ mysql 5.7
To correct this, the line 376 of the file plugins/user/profile/profile.php should contain
if (($task == 'register') && ($tosenabled) && ($tosarticle) && ($option == 'com_users'))
instead of
if (($task == 'register') && ($tosenabled) && ($tosarticle) && ($option == 'com_user'))
Please close issue.
Closed as duplicate.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-06-01 09:53:35 |
Closed_By | ⇒ | roland-d |
Duplicate of #9792.