HI, I am not sure about a good way to do this with the current code.
There is a filter for gwolle_gb_get_entries_sql in the file /functions/gb-get_entries.php but I have my doubts if this is feasible.
I will get back on a good way for this.
Hi Marcel,
Is there any way I could have a public ‘delete’ button beside each post that would just remove it from the database.
It will be on a password protected page for members only.
Could you suggest a command that would work on the frontend?
Cheers, Sam
And you would want to have that delete button only available for the original author?
It might be an idea, I will think about it.
Hi,
I have looked into this.
Adding a Delete button, like on the admin side, requires quite some code for it. It needs a setting on the settings-page, some code in the form, and an AJAX-handler, which will be easily more than 100 lines of code.
I don’t think this is worth it if only one or a few users want this, and the usecase is quite different from a standard use of a guestbook. It looks more like event reservations or something like that.
So I am saying no to this, sorry.
It should be possible to add this yourself. You can use filters to add a link to each entry. Then have an AJAX handler do the heavy work in PHP.
If you cannot do this yourself, it should be possible to hire someone to do this. If you need any more pointers, then I will gladly answer questions. I will not write the code however.