Community Add-Ons

Maintainers: central50
Add file to this package
Top » Features

Simple Visitor Newsletter with HTML Support
for osCommerce Online Merchant v2.2

/////////Simple Visitor Newsletter with HTML Support v 1.0
Created By Central50
/////////


I have searched and looked at different contribs for this purpose, but how complicated can you be? Do I really want to sit here for
4-5 hours adding coding, making sure it works with my shop, etc? And I did not see good reviews about them either. Well I got fed up
and created my own.

What this does is adds an info box where your visitor can enter their e-mail address to receive newsletters. Simply enough? It also
checks to see if the e-mail address already exists in your visitor table, as well as it checks to see if your visitor is really a customer.
If either of those values are true, it will say that account exists already. This prevents multiple newsletters being sent to the same address.

Now here is the kicker, when that visitor turns around and registers for an account, create_account.php will check to see if the e-mail exists
in you visitor table. If their e-mail is there, it will delete it and automatically turn their newsletter sub on. So pretty much what that means
is they will be a newsletter sub still and not have multiple newsletters sent to them.

Also included is HTML support for your newsletter. You might not know, but stock OSc Newsletters only send out in text format. The new newsletter
module file included in this package has a fix that I found on the forums. Might as well as throw it into a contrib, but the credit for that is
deserved to the person who wrote it.


I will later create the ability for you to edit the e-mails in the visitor table, see the list, send only to those visitors, etc.


USE AT YOUR OWN RISK ---------- ALWAYS BACKUP BACKUP BACKUP BACKUP BACKUP

Legend:  Download   Report
Expand All / Collapse All
OPTION: hide the visitormail box when customer is registered tammy-76 15 Nov 2009  

Why display the visitormail box when a customer is registered?

In step 6 of the installation, add:

if (tep_session_is_registered('customer_id')) {
} else {
include(DIR_WS_BOXES . 'visitoremail.php');
}

instead of:
include(DIR_WS_BOXES . 'visitoremail.php');

No file uploaded.


Visitor mail list admin – New Layout medved 27 Sep 2009  
Visitor mail list admin -GuiGui- 18 Dec 2008  
visitor mail list admin instal file Joorka 12 Dec 2008  
visitor mail list admin Joorka 12 Dec 2008  
Visitor mail list admin Gosub 6 Oct 2008  
Visitor mail list admin Gosub 6 Oct 2008  
Agree with Oren central50 22 Jul 2008  
Error messages Other stuff Oren 16 Jun 2008  
Installation step 1 correction osBen 21 May 2008  
Step 1 correction osBen 21 May 2008  
Step 1 correction osBen 21 May 2008  
Simple visitor newsletter combined with "Newsletter unsubscribe"-contribution. Zahoor 14 Nov 2007  
Simple Visitor Newsletter With HTML Support & Bulk Mail v 2.1 marcelon brazil 30 Aug 2007  
notification subscriber jan64 30 Aug 2007  
Simple Visitor Newsletter With HTML Support & Bulk Mail v 2.0 marcelon brazil 24 Aug 2007  
single line subscribe graeme john 21 Aug 2007  
Image Replacement central50 6 Jun 2007  
Simple Visitor Newsletter with HTML Support central50 6 Jun 2007