akeeba / engage

Akeeba Engage - Comments for Joomla!™ articles made easy
GNU General Public License v3.0
16 stars 10 forks source link

Use Global CAPTCHA option is not applied #162

Closed NetSecond closed 2 years ago

NetSecond commented 2 years ago

Since update to 3.0.2, invisible captcha is not working like in 2.0.5.

captcha

Nothing shown in right bottom corner in frontpage like before update.

nikosdion commented 2 years ago

CANNOT confirm as described.

Screen Shot 2022-01-10 at 17 32 28

Screen Shot 2022-01-10 at 17 32 57

It does look, however, that the Use Global option is not applied which is a very different and far less important issue. If you click on this drop–down and select a specific captcha setting it will still work, therefore you don't need to wait for a new release.

nikosdion commented 2 years ago

I changed the title to reflect the actual problem that needs to be solved i.e. the Use Global option not working versus the entire CAPTCHA feature not working.

NetSecond commented 2 years ago

Ok, I changed to NonGlobal Captcha option and its working fine.

But I see this under the message field:

COM_ATS_TICKET_LBL_CAPTCHA_LABEL *

Where do I find it ??

Edit: Ok, looks like a JCE translation problem, sorry.

Edit 2: I found this variable in: /components/com_engage/forms/comment_new.xml

It doesn´t matter if I have the system in english or german. So it looks like, the variable is missing in language definitions ?!?!

NetSecond commented 2 years ago

Ok, I found the label problem for COM_ATS_TICKET_LBL_CAPTCHA_LABEL:

The variable is missing in all language files maybe in this file: /administrator/language/xx-XX/com_engage.ini

If I place the variable there at the top of the file with the value eg. "Captcha", then I will see the word "Captcha *" instead of the variable lable name.

NetSecond commented 2 years ago

Is this correct ??

[Common]
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;>
;; Common language strings
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;>
COM_ENGAGE="Akeeba Engage"
COM_ATS_TICKET_LBL_CAPTCHA_LABEL="Captcha"

Please see last line ....

nikosdion commented 2 years ago

DO NOT THAT LANGUAGE STRING. The label attribute is a typo and will be removed.

It should also not have been printed by Joomla anyway since we already tell it hiddenLabel=true. In fact, it's not printed on my dev site using Cassiopeia. I think your template has a broken layout override which ignores this XML Form option (there's an overridable layout which has to honour this option). That's all there is to it.

NetSecond commented 2 years ago

Ok, thanks for the info.