Knaldgas Posted January 13, 2021 Report Share Posted January 13, 2021 Hi, I'm starting to get spam through TNG suggest form, which means such mails bypass my spam detection. I've tried to set the "nosuggest" flag, but the contact page is still shown and active. What is "nosuggest" flag meant for if not for this? Idea: add two alternatives to the contact form: Change it to a simple "mailto" link. Show a contact page with instructions on how to contact, preferably with the mail-address rendered on an image (not in clear text). ~Per Quote Link to comment Share on other sites More sharing options...
Knaldgas Posted January 13, 2021 Author Report Share Posted January 13, 2021 Yes, I've seen that. I actually still do prefer to have people sending me mail through conventional channels, instead of receiving a mail from myself (when looking in server logs). I've just been experimenting a bit: Inserting: <?php echo "<h2><a href=\"mailto:$emailaddr?subject=TNG $headline\">$emailaddr</a></h2>";?> gives me a link to click which opens my email client with To: set to my email, and Subject: set to "TNG $headline". I inserted that into suggest.php instead of the form and the button gives me close to what I'm suggesting. Thanks! Quote Link to comment Share on other sites More sharing options...
Knaldgas Posted January 13, 2021 Author Report Share Posted January 13, 2021 Thanks for trying to help me ! I've changed my suggest.php, so I just have to be careful when updating I presume. Would be nice if it becomes a setting ~Per Quote Link to comment Share on other sites More sharing options...
Michel KIRSCH Posted January 13, 2021 Report Share Posted January 13, 2021 4 hours ago, Knaldgas said: I just have to be careful when updating Try to do a little mod with your modifications. Read https://tng.lythgoes.net/wiki/index.php?title=Edit_files_guidelines and https://tng.lythgoes.net/wiki/index.php?title=Managing_Configuration_Files Michel Quote Link to comment Share on other sites More sharing options...
Knaldgas Posted January 17, 2021 Author Report Share Posted January 17, 2021 Hmm, that doesn't look too difficult... My new php should probably be cleaned up a bit first. If I can find the time, I would give it a try. Thanks for the pointer! ~Per Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.