Remove warning + css overwrite

Phoca Guestbook - creating guestbooks in Joomla! CMS
H. Numan
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Jan 2010, 10:30

Remove warning + css overwrite

Post by H. Numan »

Hi, I just installed your guestbook. Got two small problems I can't handle.

This warning:

Code: Select all

Warning
Only registered users may add new posts, please login

How do I get rid of it? The owner of the guestbook will add reviews himself, manually. I do like this guestbook, but under no circumstances will the owner allow this warning on screen. I don't even have to present it to him.

Your css is affecting my css. My menu, on the guestbook page is overwritten by your css in the menu.

Thanks for the assist,
Numan
H. Numan
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Jan 2010, 10:30

Re: Remove warning + css overwrite

Post by H. Numan »

I talked with the owner, he wants clients to login and post reviews. But he really wants to get rid of the warning.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Remove warning + css overwrite

Post by Jan »

Hi,

1) see: https://www.phoca.cz/documents/3-phoca-g ... blic-users

2) which part of the CSS is exactly is in conflict?


Jan
If you find Phoca extensions useful, please support the project
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Remove warning + css overwrite

Post by christine »

Hi Numan,

put at the end of your template.css (custom.css) ...

Code: Select all

div.alert-warning {
display:none;  
}
Kind regards, Christine
H. Numan
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Jan 2010, 10:30

Re: Remove warning + css overwrite

Post by H. Numan »

Thanks, I completely overlooked that obvious css code.
H. Numan
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Jan 2010, 10:30

Re: Remove warning + css overwrite

Post by H. Numan »

it's not working as it should. You can have a look at http://198.57.247.205/~digi/dedrieolifa ... /guestbook.
I set the login next to it, so I can test it. When I log in, I get this error message:

Code: Select all

Error
Form submission has been blocked (TimeGate)
No matter what I try, I can't get an editor visible.
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Remove warning + css overwrite

Post by christine »

Hi Numan,

in principle, above code will work to hide a message response. Also it will work with the "new" response.

But: "Error Form submission has been blocked (TimeGate)" belongs to Login-Form. I tried several time. Of course with wrong login & got also this response.
In addition: I tried following: "Gebruikersnaam vergeten" > the response is:
"Oh dear, we have a 0 .... Call to a member function get () on null".

That means: It's not the question (how) to hide the message response ... it's a question of login form.

Are you using an external Login Form?
Or using an external security Form: https://extensions.joomla.org/category/ ... ?start=126
according security check for guestboek, only this is loading: http://ajax.googleapis.com/ajax/libs/jq ... ion_slider

Kind regards, Christine
christine
Phoca Hero
Phoca Hero
Posts: 2819
Joined: 28 Nov 2010, 17:20

Re: Remove warning + css overwrite

Post by christine »

Hi Numan,

kijk maar hier evens: https://forum.joomlanl.nl/forum/3-x-ins ... d-timegate

groetjes, Christine
H. Numan
Phoca Member
Phoca Member
Posts: 22
Joined: 04 Jan 2010, 10:30

Re: Remove warning + css overwrite

Post by H. Numan »

I've seen it, and yes, completely overlooked I'm using Ospammenot. The guestbook problem solved itself very neatly: it's gone. The owner had a free guestbook, and the company that hosted those free guestbooks is bankrupt or out of business. With it, all the guestbooks are gone ...
Post Reply