Phoca Guestbook hidden field bug

Phoca Guestbook - creating guestbooks in Joomla! CMS
jeroenh
Phoca Member
Phoca Member
Posts: 14
Joined: 23 Jul 2014, 10:10

Phoca Guestbook hidden field bug

Post by jeroenh »

Hi,

I use Joomla 4.3.4 and Phoca Guestbook 4.0.3.
At the [Options] screen of Phoca Guestbook at the TAB "Captcha" it is possible to "Enable Hidden Field".
When enabled, the hidden field becomes visible in the frontend.
In a site which still uses Phoca Guestbook 4.0.2 the hidden field is really invisible.
I think this is a bug in 4.0.3.
It seems like the CSS display:none !important; is missing for the hidden field.

Regards,
Jeroen

Tags:
christine
Phoca Hero
Phoca Hero
Posts: 2738
Joined: 28 Nov 2010, 17:20

Re: Phoca Guestbook hidden field bug

Post by christine »

Hi Jeroen,

which field should not be seen?

you can generally use (example only): .yourfield {display-none;} specify in a CSS. user.css or custom.css

Kind regards
Christine
jeroenh
Phoca Member
Phoca Member
Posts: 14
Joined: 23 Jul 2014, 10:10

Re: Phoca Guestbook hidden field bug

Post by jeroenh »

Hi Christine,

I know how to use CSS and how I could hide a field or something else.
But in this case:
Phoca Guestbook offers the ability through [Components] > [Phoca Guestbooks] > [Options] > [Captcha] > [Enable Hidden Field] > [Yes] to add an extra field which shouldn't be visible for visitors of the website.
I tried to hide it with CSS but this isn't possible because the ID and CLASS of the specific input field changes on every refresh of the page.
I have used Phoca Guestbook a lot in the past and this hidden field was always hidden without the use of custom css from my side.

Regards,
Jeroen
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Guestbook hidden field bug

Post by Jan »

Hi, thank you for the info, there was some problem with new Joomla methods loading inline styles. Try to test latest Beta: https://github.com/PhocaCz/PhocaGuestbo ... .4Beta.zip

It should be OK there.

Thank you, Jan
If you find Phoca extensions useful, please support the project
jeroenh
Phoca Member
Phoca Member
Posts: 14
Joined: 23 Jul 2014, 10:10

Re: Phoca Guestbook hidden field bug

Post by jeroenh »

Thank you Jan!

It works.
The hidden field is visually gone now and adding messages still work.

Jeroen
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Guestbook hidden field bug

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
ek1959
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 13 Apr 2022, 17:48

Re: Phoca Guestbook hidden field bug

Post by ek1959 »

Updating from 4.0.4 to 5.0.0beta solved the problem. Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Guestbook hidden field bug

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply