Page 1 of 2

error message

Posted: 16 Aug 2010, 12:17
by scaramusch
hello

i would like to change the color of the errormessage ( Diese E-Mail-Adresse existiert schon!)
how can I do that? In the code of default.php I found following:
echo $this->tmpl['errmsg_top'];

secondly
i would like to make it possible that someone can make more than one message in the guestbook. but when I enter the same e-mail-adress twice it doesn't work. how can I alter that?

thanks!

Re: error message

Posted: 16 Aug 2010, 21:16
by Jan
Hi, you can set it in CSS, see the class of the error message and change it in CSS.

In Phoca Guestbook you can add so many messages you want. There is no limitation (no idea why there should be such limitation :idea: ).

Jan

Re: error message

Posted: 17 Aug 2010, 07:19
by scaramusch
I did try to change the css (phocaguestbook.css) and it doesn't work. is there another css where I can change it?

well I have the message ( Diese E-Mail-Adresse existiert schon!) where can I change that that someone can make two messages with the same e-mail-adress?

is it something with the code: echo $this->tmpl['errmsg_top'];
how can I change this or where do I find what it does there?

Re: error message

Posted: 21 Aug 2010, 16:38
by Jan
Hi, please let me know your guestbook, I will paste there two messages with the same email address (as I don't know any limitation to email address)


Maybe you mean that you cannot use email address from some registered user (but this does not mean you cannot paste two messages with the same email, it means you cannot use email from another registered users), see:


See - email settings and Disable User Check here:
https://www.phoca.cz/documents/3-phoca-g ... -menu-item

Jan

Re: error message

Posted: 22 Aug 2010, 10:20
by scaramusch

Re: error message

Posted: 22 Aug 2010, 23:42
by Jan
Added, you can remove them as they are test "Eintragen" :-)

Jan

Re: error message

Posted: 23 Aug 2010, 07:48
by scaramusch
when it's an e-mail of someone who doesn't have a loggin it works. but for someone who has a loggin it doesn't.

Re: error message

Posted: 28 Aug 2010, 12:37
by Jan
Hi, just register me on your site so I can leave you both message (and try to read the above mentioned articles so you will know the difference between writing two messages and using some other registered account)

Jan

Re: error message

Posted: 30 Aug 2010, 08:03
by scaramusch
I disabled the control of the user. then it works. but I thought there is another way without disabling the control of the user. is that correct, that i have to disable the control of the user? otherwise I will give you a login

Re: error message

Posted: 06 Sep 2010, 21:00
by Jan
Disabling User Control Panel is a security parameter for UCP - if you disable it, there is no way that user will set some URL to upload images (without you will add a link to UCP). This is only one function of this parameter - disable access to UCP.


Jan