Page 113 of 117 FirstFirst ... 1363103111112113114115 ... LastLast
Results 1,121 to 1,130 of 1165
  1. #1121
    Join Date
    Dec 2009
    Posts
    11
    Plugin Contributions
    0

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

    THIS DOES NOT WORK and in fact, it screwed up my database so I had to reinstall and redo everything.

    Please don't post a workaround if have not tested it...

    Quote Originally Posted by kcahir View Post
    I have just got this package installed in version 1.5, with a few alterations listed below:

    First of all copy all files over as usual.

    Alteration 1. -

    Ignore the directory 'admin/includes/boxes' and also everything within.

    Instead create an sql file with the following and run it through Tools->Install SQL Patches (or enter query manually)

    Code:
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('subscrip##################er', 'BOX_CUSTOMERS_SUBSCRIPTION_MANAGER', 'FILENAME_SUBSCRIPTION_MANAGER', '', 'customers', 'Y', 1000);
    Alteration 2. -

    Find following file 'admin/includes/functions/extra_functions/subscription_manager.php'

    Search for 'TYPE=MyISAM' and replace with 'ENGINE=MyISAM'.

    (Not sure if this alt is database version specific though!! - so may only require first alt)

    You should now be good to Install, just go to Customers->Subscription Manager.

    I have tested briefly, though not thoroughly nor on a live store, and all seems fine.

  2. #1122
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

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

    Quote Originally Posted by HipChickDesigns View Post
    THIS DOES NOT WORK and in fact, it screwed up my database so I had to reinstall and redo everything.
    Neither of theses changes would "screw up" anyone's database.. The first change would simply add the admin menu and the second is meant to apply to newer databases than when this mod was written so if your data base doesn't support the command it simply will error out.. The admin menu code posted does need a minor change as it looks like the forum parsed out some of the code particularly "subscrip##################er". (Edited to add: the forum has been configured to filters out certain words.. looks it didn't like the words s-u-b-s-c-r-i-p-t-i-o-n or n-e-w-s-l-e-t-t-e-r) So if you used this code AS IS, you would have gotten errors for sure..

    Quote Originally Posted by HipChickDesigns View Post
    Please don't post a workaround if have not tested it...
    As for directing someone not to post a workaround??? This is a support forum for an open source application... written by volunteers and supported by the community volunteers.. People post code snippets ALL THE TIME that are tested, slightly tested, or even un-tested.. It is up to you to determine whether or not you should use them.. In the case of this code snippet, the community member clearly post that he had slightly tested the code..
    I have tested briefly, though not thoroughly nor on a live store, and all seems fine.
    The real issue with this mod is probably related to how it's constructed to begin with, and the fact that it's a Zen Cart v1.3.x compatible mod that modifies many files and many of these same files changed with Zen Cart v1.5.. Dr Bytes advice is the real reason to NOT use this mod..
    Quote Originally Posted by DrByte View Post
    You're probably far better off integrating something like the Mailchimp sidebox and having your customers signup for your newsletter that way. Then periodically export your newsletter subscribers from your store using the Email Address Exporter, and load them into your Mailchimp account.

    I make that recommendation because the Mailchimp addon involves only a small handful of files. But this archaic old "Newsletter Subscribe" addon alters a zillion core files and makes upgrading a NIGHTMARE, plus results in tons of confusing support requests when someone decides to uninstall it because uninstalling isn't clean or easy.
    Last edited by DivaVocals; 12 Jul 2012 at 02:51 PM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #1123
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

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

    This module was working perfectly, till I messed it up.

    Pulling my hair and don't know where to start?

    I am now getting the Radio button choices for HTML or TEXT-Only appearing after the e-mail input box! And it wasn't there before. I need to get rid of it.
    Using Zen Cart 1.5.1

  4. #1124
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

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

    I figure out what went wrong, and wanted to share it.

    I had changed the admin>Configuration>E-MailOptions>Use MIME HTML When Sending Emails to true from false.

    That triggered the if statement in includes/templates/YourTemplate/templates/tpl_subscribe_header.php to place the radio button options of HTML or TEXT-ONLY to appear.

    Since I did want to send out my e-mail notifications as HTML and did not want the choice to appear, I changed the following:
    PHP Code:
    if(EMAIL_USE_HTML == 'true') {
        
    $content .= '<label>' zen_draw_radio_field('email_format''HTML'true) . ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= '<label>' zen_draw_radio_field('email_format''TEXT'false) . ENTRY_EMAIL_TEXT_DISPLAY '</label>';
      }
      
    $content .= zen_image_submit (BUTTON_IMAGE_SUBSCRIBE,HEADER_SUBSCRIBE_BUTTON'value="' HEADER_SUBSCRIBE_BUTTON '" ');
      
    $content .= '</form>';
    ?> 
    to:
    PHP Code:
    if(EMAIL_USE_HTML == 'CHANGED FROM true TO THIS. READ ABOVE MEMO') {
        
    $content .= '<label>' zen_draw_radio_field('email_format''HTML'true) . ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= '<label>' zen_draw_radio_field('email_format''TEXT'false) . ENTRY_EMAIL_TEXT_DISPLAY '</label>';
      }
      
    $content .= zen_image_submit (BUTTON_IMAGE_SUBSCRIBE,HEADER_SUBSCRIBE_BUTTON'value="' HEADER_SUBSCRIBE_BUTTON '" ');
      
    $content .= '</form>';
    ?> 
    Make sure to add a comment of why you did this .

    Or you can simply comment out that the if statement.
    Using Zen Cart 1.5.1

  5. #1125
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

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

    using 1.3.9h store for this person

    she used to have this installed then something happened and it seemed to have partially vanished. I reinstalled all the files and it is working once more BUT in admin when you go to the Customers/Subscription Manager to view the ones that have subscribed....the date of subscription is not quite right.

    I tested it with adding my own subsription to my account -- both using the little header subscribe and the sidebox subscribe forms and both times this is what the date claims to be: 11/30/2036 not quite right I would say...lol

    how can I get it to register the correct date of subscribing?

  6. #1126
    Join Date
    May 2005
    Location
    England
    Posts
    675
    Plugin Contributions
    0

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

    I know this is an old thread, but was wondering if the 1.5 version just released has a fix for the following:-
    Parse error: syntax error, unexpected T_CASE in /*****/customers.php on line 341
    I double checked and everything is there and uploaded properly. Thanks for any help with this.

  7. #1127
    Join Date
    Jan 2014
    Location
    Essen
    Posts
    25
    Plugin Contributions
    0

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

    i got the same problem. Was hoping someone can help me. I try to change the line 341 in customers php. Find the line customer and change it to customers as it was advice on 2 or 3 page of this thread. Still the same The only what help me was to replace the new file with the old back up version of customers.php and the problem seems to disappear.

  8. #1128
    Join Date
    Oct 2008
    Posts
    60
    Plugin Contributions
    0

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

    Can anyone direct me to a site where I can see how this add-on looks from the customer's perspective?

    Thanks!

  9. #1129
    Join Date
    Apr 2014
    Location
    Los Angeles
    Posts
    41
    Plugin Contributions
    0

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

    Hello,

    I have just installed a fresh version. When I click on Customers > Subscription Manager I get:

    Parse error: syntax error, unexpected T_CASE in /home/content/96/11406796/html/2014/myadmin/customers.php on line 341

    Andy idea?

    Thanks!

  10. #1130
    Join Date
    Apr 2014
    Location
    Los Angeles
    Posts
    41
    Plugin Contributions
    0

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

    It's actually when I click Customers > Customers. I don't see a Subscription Manager option in the Customers drop down menu.

 

 

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