WebmasterSite.net

Email link

Version: 5.0.27
URL:

PrintPrint


Email link
ai75
Beginner

Usergroup: Customer
Joined: Jun 01, 2003

Total Topics: 3
Total Posts: 3
quote post #1
Posted 12/27/08 - 5:44 AM:

Form "E-Mail Link":

If the user enters an invalid e-mail adress into the form, he will be redirected to an error page telling him that the supplied email-adress is invalid (ok).
Afterwards, he is redirected to an empty form. The e-mail adress and message he entered previously is no longer present in the form fields.

A CAPTCHA check should be added to this form to prevent spam.


Links to Form "E-Mail Link":

The title of the links which point to this form are taken from the language variable .
The name of the variable denotes that it is a general purpose variable which could be used anywhere within WSN Links (now or in future releases).

My suggestion is to create a separate language variable for those links.
This way, it would be possible to give the links to the "E-Mail Link" form a different name (e.g. "Recommend Link").

I know that it is possible to add custom language variables and I probably will do that.
Just wanted to mention it, because other users of WSN Links might have the same desire.

Where should I look for the links to this form. Just searching the templates for will probably give me many results. Most of them won't be related to the form "E-Mail Link".


Edited by ai75 on 12/27/08 - 5:50 AM
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #2
Posted 12/27/08 - 8:26 PM:

There's already a CAPTCHA for guests unless you've turned it off.

Agreed that the form should reload with an "incomplete" message instead of redirecting and losing data.

If you want separate links with different names, just make them. There's no sense in making everyone do more translation because a very few people will eventually want to save a couple seconds on splitting that text.

Every email.php link in a search of the templates will be related to the form "E-Mail Link". As far as I recall, the link bit and details pages would be the only spots.
 
Search thread for
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.