Jump to content
TNG Community

Alternative suggest form


Knaldgas

Recommended Posts

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:

  1. Change it to a simple "mailto" link.
  2. Show a contact page with instructions on how to contact, preferably with the mail-address rendered on an image (not in clear text).

~Per

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Michel KIRSCH
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...