Page 2 of 117 FirstFirst 12341252102 ... LastLast
Results 11 to 20 of 1165
  1. #11
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Quote Originally Posted by mocha
    Thanks for the contribution NG. I am looking to do a mass import of newsletter only subscribers. Is there an easy way to do this?
    It would depend upon format of your list (sql, txt, xsl, csv, etc). if you email me a copy of the list (or part of it) I can build something for you.

    I'll end with this caveat -not because I think you are intending it, but others might.
    admin-added subscriptions are auto-confirmed, but please please do not use this as a way to send people unsolicited spam (like using a list you bought somewhere).

    -Ng_

  2. #12
    Join Date
    Mar 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Thanks for the offer NG. The list format is flexible, at the moment it is an excel file with just the username and the email address. Also with the sidebox, I cannot find where to change it so the sidebox title is just "Newsletter" and is not a link.

  3. #13
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Okay, well the easiest way (other than having me code an interface :) would be to turn the excel into a sql file:

    Copy the email address column and save as a txt file (separate with commas).

    Open that file in your favorite text editor.

    Add to the beginning of the file (replace tbl_name with your subscribers table name, including prefix):
    INSERT INTO tbl_name (email_address) VALUES(

    Use the find/replace command:
    find: , [that's a comma]
    replace with: '), ('

    If the editor supports adding newlines you might use:
    replace with: '),\n ('

    At the end of the file you should have: lastemail@address
    Add to end: '); so it is: lastemail@address');

    You are trying to end up with:
    INSERT INTO tbl_name (email_address)
    VALUES([email protected]), ([email protected]),
    ([email protected]), ([email protected]);

    Save the resulting file (as .sql or .txt) and use the sql patches feature in the Tools menu to upload/run it. If you have hundreds of names you may need to break into a few files.

    -Ng_

  4. #14
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Quote Originally Posted by mocha
    Also with the sidebox, I cannot find where to change it so the sidebox title is just "Newsletter" and is not a link.
    ? The 'Subscribe' sidebox title is not a link by default. Are your other sideboxes
    linked? It might be a feature you have enabled somewhere.

    [edit: found it]
    edit /includes/modules/sideboxes/YOUR_TEMPLATE/subscribe.php
    and add this somewhere:

    $title_link = false;

    Let me know if that works and I'll include it in the next update.

    -Ng_
    Last edited by NotGoddess; 2 Jun 2006 at 10:01 AM.

  5. #15
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Does this work on the latest version of Zen Cart?
    I want to make sure I din't miss anything here.

    Thanks,
    Kelly

  6. #16
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Quote Originally Posted by sleepless
    Does this work on the latest version of Zen Cart?
    I want to make sure I din't miss anything here.

    Thanks,
    Kelly
    Yes, this runs with zencart 1.3.x (1.3.0 and 1.3.0.1).

    Make sure you download the updated version from the contributions section, and you .might. need to apply the patch in the post above yours (I'm still seeing if it's needed before I update again).

    Please let me know how you like it, if there's anything you'd like changed/added (even if it's a 'well it would be nice if...' because you can bet others are thinking the same thing).

    -Ng_

  7. #17
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Thanks for the quick reply.

    I had the original and removed it a while back. One feature that I did like was adding a query to send emails to test account only before sending them to actual customers. Will this enable me to do that as well?
    If not, that would be a nice addition.

    Thank you in advance! :)

    Kelly

  8. #18
    Join Date
    Jan 2005
    Location
    Waukee, Iowa
    Posts
    206
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Quote Originally Posted by sleepless
    One feature that I did like was adding a query to send emails to test account only before sending them to actual customers. Will this enable me to do that as well?
    I'm not .quite. sure if I understand you. You can of course create a subscription using an email address...you can email them directly, but there is no query set so you have the option to send the newsletter to one address first-I didn't see anything like that in the original, either, although perhaps I worked from a different version than you had.

    Is this what you are wishing? I believe it should be easy enough to add-we'd just add a query to pull the admin email address and add that as an option in the 'send to' list.

    Let me know if that's what you had in mind.

    -Ng_

  9. #19
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    I have the sql for it somewhere. If I find it I will email or post it so you can see if it will work. It wasn't included in the original. It was something someone posted as an add on.

    Thanks,
    Kelly

  10. #20
    Join Date
    Feb 2005
    Location
    New Jersey
    Posts
    646
    Plugin Contributions
    0

    Default Re: Newsletter-Only Subscriptions for v1.3x

    Check out these posts. There are a number of various solutions for test accounts. I didn't want to post the code in case someone thought it was okay to use.
    http://www.zen-cart.com/forum/showth...ewsletter+test


    Thanks,
    Kelly

 

 
Page 2 of 117 FirstFirst 12341252102 ... LastLast

Similar Threads

  1. Newsletter-Only Subscriptions for v1.3x: reinstall problems
    By sharonmiranda in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Nov 2011, 07:43 PM
  2. Newsletter subscriptions in the code
    By fgabrieli in forum General Questions
    Replies: 4
    Last Post: 19 Aug 2010, 03:30 PM
  3. help with newsletter subscriptions page
    By meesh in forum Customization from the Admin
    Replies: 8
    Last Post: 29 Mar 2009, 06:14 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR