gwdsupport
Forum Replies Created
-
Forum: Plugins
In reply to: [Gwolle Guestbook] Checking entry input before storing in guestbook backendHello again,
I have two questions:
1. New hooks
I took a look at the new hooks, but I’m not fit enough to achieve what I want to do.I’d like to do the following:
If the entry ($entry?) contains words from an array, reject the entry and put out an error message.
It would look something like that:
$bad_words = array("list", "of", "bad", "words"); foreach ($bad_words as $bad_word) { if (strpos($entry, $bad_word)!==false) { echo /or return/ "Your entry could not be sent."; } }
So I need some advice on this.
2. Form Layout:
Is it possible to have the “Hinweis-Text” (with the privacy policy or equivalent) before the “Send” Button ?
Thanks again for your help.
Best,
LarryForum: Plugins
In reply to: [Gwolle Guestbook] Checking entry input before storing in guestbook backendYes, I saw those possibilities.
However it was my understanding that the entries would be marked as spam but still be in the backend to be “handled” by the moderator. And this is precisely what I want to avoid.
Maybe I’m missing something…
Being located in Germany, where the GDPR has everybody on their toes, I am a bit uneasy with external anti-spam services as their privacy policies may not agree with the german requirements.
- This reply was modified 5 years, 11 months ago by gwdsupport.
Forum: Plugins
In reply to: [Gwolle Guestbook] Checking entry input before storing in guestbook backendI want to filter the input my own way and reject the entry altogether before it reaches the backend in case of spam.
I prefer not to see the spam in the backend and sort it out there.
My goal is to minimize the task of the moderator.
Maybe I didn’t find the right way to do it with the hooks already available before your new extension…
Forum: Plugins
In reply to: [Gwolle Guestbook] Checking entry input before storing in guestbook backendThank you very much.
I’ll take a look and give it a go in the next few days.
Best,
Larry