Delete and unpublish buttom

Phoca Guestbook - creating guestbooks in Joomla! CMS
agallard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Dec 2013, 20:02

Delete and unpublish buttom

Post by agallard »

When I post a message, there are always the two buttons Delete and unpublish which are present on the screen.
My question is how to make there invisible ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Delete and unpublish buttom

Post by Jan »

Hi, only admin can see them, other users don't see them.

Jan
If you find Phoca extensions useful, please support the project
agallard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Dec 2013, 20:02

Re: Delete and unpublish buttom

Post by agallard »

Sorry, but everybody can see them, not only administrator !
I have asked some users and they tell me that they can delete or unpublish the messages.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Delete and unpublish buttom

Post by Jan »

Hi, this is not possible when they are not administrator, can I see your site where the buttons are displayed?
If you find Phoca extensions useful, please support the project
agallard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Dec 2013, 20:02

Re: Delete and unpublish buttom

Post by agallard »

Yes : http://www.bsmbasket.fr/index.php/livre-d-or
Let me know your expertise
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Delete and unpublish buttom

Post by Jan »

Hi, this is only possible in case you have set delete rights for public users :idea:

Go to your Joomla! administration - Components - Phoca Guestbook - click on Guestbooks - you will be redirected to guestbook edit page - click on selected actived guestbook to edit it - Go to Permissions folder - and there for PUBLIC, set DELETE to DENIED (or Inherited in case the settings are default)

Jan
If you find Phoca extensions useful, please support the project
agallard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Dec 2013, 20:02

Re: Delete and unpublish buttom

Post by agallard »

Hi, I'm sorry Jan, but the rights are setting in denied position for delete action for the public group !
I have already check all these points before beginning the topic.

Have you got a solution for that ? Because each time I have posted a new message, it has been deleted by somebody !
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Delete and unpublish buttom

Post by Jan »

Hi, then really no idea what can be wrong there. I have tree test servers, everywhere I have tested it:

1) to normally work with Phoca Guestbook (as default users cannot delete or unpublish the posts) ... OK for me
2) to change it - e.g. they can remove or unpublish the posts and everywhere the settings go back and nobody except the one set in parameters can see the buttons and can do some action

Asked by some users for this feature to test it and get the same behaviour.
Seeing the code which have standard coding.

I see your site now (after some days) and see no icons there.

Is this solved or still not?
If you find Phoca extensions useful, please support the project
agallard
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 05 Dec 2013, 20:02

Re: Delete and unpublish buttom

Post by agallard »

Hi Jan,

Yes it's resolved. I have just find the solution.
In fact, you must change the right in Joomla System Configuration Rights.
I have placed the delete Guest right to denied, and it has been OK, so, change the rights only in Guestbook configuration is not suffisant !

Thanks for your help
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Delete and unpublish buttom

Post by Jan »

Ok, thank you for the info.

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