Hello! How could I have a "Yes" or "No" drop down list and the question "Do you want to join the newsletter" feature on the add a link form and allow webmasters to join the mailing list from there?
Aug 27, 1999, 10:09 AM
Veteran (1311 posts)
Aug 27, 1999, 10:09 AM
Post #3 of 14
Views: 2998
On the add_success page or template just put a drop down menu next to the email address field. Since they just submitted you can use the <%contact email%> to automatically put their email address in then have the drop down menu say yes|no, but don't give them those names, just value. I think that should work, make thier names subscribe and unsubscribe.
------------------
-----------------
Lavon Russell
LookHard! Search
www.lh.yi.org
webmaster@lh.yi.org
------------------
-----------------
Lavon Russell
LookHard! Search
www.lh.yi.org
webmaster@lh.yi.org
Jan 5, 2000, 10:23 PM
Enthusiast (504 posts)
Jan 5, 2000, 10:23 PM
Post #4 of 14
Views: 2994
Hi Bmxer!
Is it possible you could post some code on how to do this - please...and on what tempaltes it would have to go.
------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory
Is it possible you could post some code on how to do this - please...and on what tempaltes it would have to go.
------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory
Jan 6, 2000, 2:32 AM
Novice (27 posts)
Jan 6, 2000, 2:32 AM
Post #5 of 14
Views: 2997
The correct usage is
http://www.yourdomain.com/path/to/subscribe.cgi?action=subscribe&name=<%contact name%>&email=<%contact email%>
You can fit it in the add-success.html template with a "yes" button.
The problem is a possible space between name and surname in contact name, so it's better to leave it away. Therefore it's not possible to make personal newsmails!
Maybe someone knows a better idea.
Best wishes
Stefan
------------------
visit Juhu!Katzen!
http://www.juhukatzen.de/
http://www.yourdomain.com/path/to/subscribe.cgi?action=subscribe&name=<%contact name%>&email=<%contact email%>
You can fit it in the add-success.html template with a "yes" button.
The problem is a possible space between name and surname in contact name, so it's better to leave it away. Therefore it's not possible to make personal newsmails!
Maybe someone knows a better idea.
Best wishes
Stefan
------------------
visit Juhu!Katzen!
http://www.juhukatzen.de/
Jan 6, 2000, 10:30 AM
User (370 posts)
Jan 6, 2000, 10:30 AM
Post #6 of 14
Views: 3013
I haven't tried it, but this might work?
<form action="/yoursite/subscribe.cgi" method="POST">
<div class="margin">
<p>Do you want to join the newsletter?</p>
<p><select name="action"><option value="subscribe">Subscribe<option value="unsubscribe">Unsubscribe</select> to the list<br>
Name: <input name="name" size=15 value="<%contact name%">> Email: <input name="email" size=15 value="<%contact email%">> <input type="submit" value="Subscribe">
</p>
</div>
</form>
I'm not sure if the value's, IE: %contact email% and %contact name% will work, but it's worth a shot!
<form action="/yoursite/subscribe.cgi" method="POST">
<div class="margin">
<p>Do you want to join the newsletter?</p>
<p><select name="action"><option value="subscribe">Subscribe<option value="unsubscribe">Unsubscribe</select> to the list<br>
Name: <input name="name" size=15 value="<%contact name%">> Email: <input name="email" size=15 value="<%contact email%">> <input type="submit" value="Subscribe">
</p>
</div>
</form>
I'm not sure if the value's, IE: %contact email% and %contact name% will work, but it's worth a shot!
Jan 6, 2000, 11:15 AM
Novice (27 posts)
Jan 6, 2000, 11:15 AM
Post #7 of 14
Views: 3000
Sorry, but it can't work!
Why should add.cgi know what <%contact name%> or <%contact email%> mean and what's the value for that.
You can't use these terms after the addition to the database. Therefore my suggestion is wrong es well! :-(
But you can use the terms with http://www.yourdomain.com/path/to/subscribe.cgi?action=subscribe&name=<%contact name%>&email=<%contact email%> in the email-add.txt! But still you got the problem of a possible space between name and surname in contact name!
Best wishes
Stefan
------------------
visit Juhu!Katzen!
http://www.juhukatzen.de/
Why should add.cgi know what <%contact name%> or <%contact email%> mean and what's the value for that.
You can't use these terms after the addition to the database. Therefore my suggestion is wrong es well! :-(
But you can use the terms with http://www.yourdomain.com/path/to/subscribe.cgi?action=subscribe&name=<%contact name%>&email=<%contact email%> in the email-add.txt! But still you got the problem of a possible space between name and surname in contact name!
Best wishes
Stefan
------------------
visit Juhu!Katzen!
http://www.juhukatzen.de/
Hello everyone!
Glad yal like me thread that I started back in August. I've grown in CGI since August so I can probably help if I have the time to get to it, but I'm looking forward to what you think up. God bless!
------------------
Daniel
dan@christian-search.net
http://www.christian-search.net
Glad yal like me thread that I started back in August. I've grown in CGI since August so I can probably help if I have the time to get to it, but I'm looking forward to what you think up. God bless!
------------------
Daniel
dan@christian-search.net
http://www.christian-search.net
Jan 6, 2000, 12:12 PM
Enthusiast (504 posts)
Jan 6, 2000, 12:12 PM
Post #9 of 14
Views: 2998
Greetings All!
It seems this thread and others relating to this have been around for quite sometime without a satisfactory resolution.
I pray one of the perl gurus will assist in putting it to rest for those links users who are seeking this.
------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory
It seems this thread and others relating to this have been around for quite sometime without a satisfactory resolution.
I pray one of the perl gurus will assist in putting it to rest for those links users who are seeking this.
------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory
Jan 6, 2000, 12:43 PM
User (370 posts)
Jan 6, 2000, 12:43 PM
Post #11 of 14
Views: 3000
If your using templates I don't see any reason why it wouldn't work. If you notice in the add_success.html template there are tags that verify the submission of <%Contact Name%> and <%Contact Email%> so of course the add.cgi would know how to read them. Whether or not it will work as a value=Contact Name I'm not sure, but try it, it just might work! I haven't looked into any non-template functions so, I'm not sure how that would work.
Good Luck
Good Luck
Jan 6, 2000, 12:50 PM
User (370 posts)
Jan 6, 2000, 12:50 PM
Post #12 of 14
Views: 3000
After thinking about it.....if the tags for the subscribe me are <%contact name%> and for the regular add url form are <%Contact Name%> then maybe it won't be able to read them. I'm not sure.......has anyone tried yet?? I don't use the newsletter function or I would try it myself!
Jan 6, 2000, 12:53 PM
Novice (27 posts)
Jan 6, 2000, 12:53 PM
Post #13 of 14
Views: 3037
Hi!
I tried it in several ways and it dind't work! So I came to the conclusion that it can't
Hopefully BoBo will post his solution
Best wishes
Stefan
------------------
visit Juhu!Katzen!
http://www.juhukatzen.de/
I tried it in several ways and it dind't work! So I came to the conclusion that it can't
Hopefully BoBo will post his solution
Best wishes
Stefan
------------------
visit Juhu!Katzen!
http://www.juhukatzen.de/
Jan 7, 2000, 11:00 AM
Enthusiast (504 posts)
Jan 7, 2000, 11:00 AM
Post #14 of 14
Views: 3002
Greetings BoBo!
Looks like it is down to you to see if the question raised in this forum can be dealt with
Any assistance will certainly be appreciated by all concerned.
------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory
Looks like it is down to you to see if the question raised in this forum can be dealt with
Any assistance will certainly be appreciated by all concerned.
------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory