Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Advanced Subscribe/Unsubscribe Mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 11-24-2003, 07:41 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default Advanced Subscribe/Unsubscribe Mod

I implemented this on my older site and now that Im building a new site I thought it would be nice to share this mod. This mod tested on 3.3.7 and 3.4.9

You can see it in action here: http://www.boomboombap.com/shop/customer/help.php?section=optout

new file help/optout.tpl

Code:
{* $Id: optout.tpl,v .5 2003/24/11 06:55:20 BoomBoomBap Exp $ *} <table cellpadding=3><tr><td>Newsletter Subscription Preference From this page you may easily subscribe to or unsubscribe from the (YOUR COMPANY NAME) Newsletter. </td></tr></table> {capture name=dialog} <table cellpadding=3><tr><td> Join the mailing list to receive advance notice of new additions, sales, specials, discounts and more. Unsubscribe anytime by returning to this page. <form action="../mail/subscribe.php" method=get name=subscribeform2> <input type="text" name="email" size="10"> <input type="submit" value="Subscribe" onClick="javascript:document.subscribeform2.submit()"> <input type=hidden name=redirect value="{$redirect}"> </form> </td></tr></table> {/capture} {include file="dialog.tpl" title=$lng.lbl_subscribe content=$smarty.capture.dialog extra="width=100%"} {capture name=dialog} <table cellpadding=3><tr><td> You may unsubscribe from the (YOUR COMPANY NAME) Newsletter by entering your mailing address below. All unsubscribe requests are immediately and automatically processed by the system. You can resubscribe to the newsletter by returning to this page. <form action="../mail/unsubscribe.php" method=get name=unsubscribeform> <input type="text" name="email" size="10"> <input type="submit" value="Unsubscribe" onClick="javascript:document.unsubscribeform.submit()"> <input type=hidden name=redirect value="{$redirect}"> </form> </td></tr></table> {/capture} {include file="dialog.tpl" title=$lng.lbl_unsubscribe content=$smarty.capture.dialog extra="width=100%"}

edit file help/index.tpl add:
Code:
{elseif $section eq "optout"} {include file="help/optout.tpl"}

edit file help/general.tpl add anywhere:

AND/OR edit file /news.tpl add:

AND/OR edit file /help.tpl add:

If you want to take it further you can take all the text and store it in the database but for my own purposes it's not necessary.

Enjoy!
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote
  #2  
Old 11-24-2003, 09:47 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

One thing X-cart defiantly needs, a easy way to unsubscribe from newsletter mailling lists. Speaking of which inserting {%%customer_name%%} or something in the newseltter sending would be quite handy

So the customer would get something like:

Dear John Doe,

blah...
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 11-24-2003, 09:53 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

Yeah... personalized email messages always makes a difference.

As it is, the newsletter implementation for Xcart leaves a lot to be desired.
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote
  #4  
Old 11-24-2003, 09:57 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Yea like,

б╥ Send emails in all formats: HTML, Plain, Multi-part
б╥ Link tracking, read statistics (if HTML)
б╥ Unsubscription link, account update link, etc
б╥ Intervals for Sending (to keep servers from overloading on large lists)

Just my 2cents.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #5  
Old 11-25-2003, 03:55 AM
  carlisleglass's Avatar 
carlisleglass carlisleglass is offline
 

eXpert
  
Join Date: Aug 2003
Location: Carlisle, UK
Posts: 316
 

Default

you could install an external mailing list manager instead of the default x-cart one !
__________________
Darren Kierman
Carlisle Glass (http://www.carlisleglass.co.uk/)
... running X-Cart Gold 4.4.5 [unix]
Reply With Quote
  #6  
Old 11-25-2003, 04:51 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

We're releasing x-cart add on modules that will do all of that plus more.

Multipart HTML & plain text emails with personalisation available if sending to your customer accounts. Timed delays so your server isn't hammered sending out larger lists or to get past host limits. Designed for both targetted and general newsletter use.

Keep your eyes peeled, Marketing Manager V2.0 for x-cart gold and pro is just around the corner soon too and all add on packs will be available as stand alone add on's so you won't need even need marketing manager standard.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #7  
Old 11-29-2003, 09:39 AM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Is MM 2.0 a free upgrade?
Reply With Quote
  #8  
Old 12-19-2003, 06:36 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Quote:
Originally Posted by adpboss
Is MM 2.0 a free upgrade?

Yup free upgrade for all the add on's you're currently licensed for.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:39 AM.

   

 
X-Cart forums © 2001-2020