Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Email Updates: Changing Format and Database File

Quote Reply
Email Updates: Changing Format and Database File
Hi there. I was wondering if there is a way to change the email update form to only include the person's email address. I would also like to have the email.db file show only the person's email address, such as

myaddress@myserver.com
myaddress@mailserver.org

I already have a mailing list program in my site but I would like to maintain the current subscribers into the LINKS2 update system. I am using the email program from CGI ELITE.

Anyone know how I can change the subscribe.cgi file and also the output database file to maintain my current mailing list???

TIA

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Quote Reply
Re: Email Updates: Changing Format and Database File In reply to
Here is somewhat of a workaround for you.

in subscribe.cgi

replace this line:
($name =~ /[A-Za-z]+/) or &site_html_mailing_error ("Please enter a name as well as an email address.") and return;

with this:
$name = " ";

Then remove the name field from your template page. This will put a space in the field where it use to require a name. Not quite what you want but I was having trouble with the unsubscribe feature when removing the name field completely. Atleast now a user won't have to enter their name.

Good Luck.
-Delay
Quote Reply
Re: Email Updates: Changing Format and Database File In reply to
Thanks for the suggestion. What I have done is use my own mailing list program, but remapped the database file in the index.cfg file. It works quite nicely!

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us