Page 116 of 117 FirstFirst ... 1666106114115116117 LastLast
Results 1,151 to 1,160 of 1165
  1. #1151
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

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

    Quote Originally Posted by Nick1973 View Post
    Does anybody know how I can use Google Recaptcha with this please?

    Contribution found here:

    https://www.zen-cart.com/downloads.php?do=file&id=1455
    Yes i'd like to do that also as we are being spammed constantly without it.

  2. #1152
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

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

    Updated for 1.5.6.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #1153
    Join Date
    Apr 2019
    Location
    shanghai
    Posts
    21
    Plugin Contributions
    0

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

    zen cart version:1.55f
    newsletter_subscribe_3.0.2

    Can't send mail
    Click image for larger version. 

Name:	2020-06-05 100419.png 
Views:	34 
Size:	34.3 KB 
ID:	19031

    Click image for larger version. 

Name:	2020-06-05 095738.jpg 
Views:	34 
Size:	39.1 KB 
ID:	19029



    I try to close
    Configuration -> My Store -> Enable Newsletter-only subscriptions? -> false
    it's work
    Click image for larger version. 

Name:	2020-06-05 100229.png 
Views:	43 
Size:	25.3 KB 
ID:	19030


    May I ask where the plugin is not set correctly?

  4. #1154
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

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

    I sent in an update for ZC1.5.7 and it's posted. I just found that the header add-in didn't get coded correctly in my default install on the version I sent in. Fixed and sent into GitHub, will wait and see what else I missed before sending in another update.
    Dave
    Always forward thinking... Lost my mind!

  5. #1155
    Join Date
    Feb 2008
    Posts
    43
    Plugin Contributions
    0

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

    Quote Originally Posted by davewest View Post
    I sent in an update for ZC1.5.7 and it's posted. I just found that the header add-in didn't get coded correctly in my default install on the version I sent in. Fixed and sent into GitHub, will wait and see what else I missed before sending in another update.
    This site has begun pulling this error after upgrading to 1.5.7b:

    [06-Feb-2021 17:40:05 America/Chicago] Request URI: /zc_admin/index.php?cmd=subscription_manager&action=purgeunconfirmed, IP address: 74.175.45.91
    --> PHP Fatal error: Uncaught Error: Call to undefined function zen_admin_demo() in /home3/*****/public_html/zc_admin/subscription_manager.php:134
    Stack trace:
    #0 /home3/*****/public_html/zc_admin/index.php(11): require()
    #1 {main}
    thrown in /home3/*****/public_html/zc_admin/subscription_manager.php on line 134.
    Any help would be appreciated

  6. #1156
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

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

    Quote Originally Posted by Wulf359 View Post
    This site has begun pulling this error after upgrading to 1.5.7b:
    ZC1.5.7b, in version 3.1 of this mod (zen_admin_demo) was replaced, but after looking, it was one area that was untouched and needed some more work. You may still be using an older version of the admin page.. I would pull a copy off GitHub and compare. I just pushed up the change as follows..
    Code:
            case 'purgeunconfirmed':
               
               $expireTest = $db->Execute('SELECT COUNT(*) AS total FROM ' . TABLE_SUBSCRIBERS . ' WHERE confirmed != 1 and (customers_id IS NULL or customers_id = 0) and DATE_SUB(CURDATE(),INTERVAL 30 DAY) > subscribed_date ');
              if($expireTest->fields['total'] > 0) {
                $db->Execute('delete from ' . TABLE_SUBSCRIBERS . ' where confirmed != 1 and (customers_id IS NULL or customers_id = 0) and DATE_SUB(CURDATE(),INTERVAL 30 DAY) > subscribed_date ');
                $messageStack->add(TEXT_INFO_SUBSCRIPTIONS_PURGED, 'success');
              } else {
                $messageStack->add(TEXT_ERROR_SUBSCRIPTIONS_PURGED, 'info');
              }
              
              $action = '';
             break;
    Well send an update shortly..
    Dave
    Always forward thinking... Lost my mind!

  7. #1157
    Join Date
    Feb 2008
    Posts
    43
    Plugin Contributions
    0

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

    Quote Originally Posted by davewest View Post
    ZC1.5.7b, in version 3.1 of this mod (zen_admin_demo) was replaced, but after looking, it was one area that was untouched and needed some more work. You may still be using an older version of the admin page.. I would pull a copy off GitHub and compare. I just pushed up the change as follows..
    Code:
            case 'purgeunconfirmed':
               
               $expireTest = $db->Execute('SELECT COUNT(*) AS total FROM ' . TABLE_SUBSCRIBERS . ' WHERE confirmed != 1 and (customers_id IS NULL or customers_id = 0) and DATE_SUB(CURDATE(),INTERVAL 30 DAY) > subscribed_date ');
              if($expireTest->fields['total'] > 0) {
                $db->Execute('delete from ' . TABLE_SUBSCRIBERS . ' where confirmed != 1 and (customers_id IS NULL or customers_id = 0) and DATE_SUB(CURDATE(),INTERVAL 30 DAY) > subscribed_date ');
                $messageStack->add(TEXT_INFO_SUBSCRIPTIONS_PURGED, 'success');
              } else {
                $messageStack->add(TEXT_ERROR_SUBSCRIPTIONS_PURGED, 'info');
              }
              
              $action = '';
             break;
    Well send an update shortly..
    Thanks, we noticed this error when trying to delete one person under the Customers> Subscription Manager> page, for some odd reason it just kept pulling that error. Thanks for looking into this.
    Last edited by Wulf359; 7 Feb 2021 at 06:02 AM.

  8. #1158
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

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

    I believe the edits in includes/modules/pages/account_edit/header_php.php shouldn't be there and should be removed from the plugin. If a customer wants to edit his/her account and change name or even email format, this plugin prevents it because that email address already exists in the database - well, of course it exists, it's an existing account...

    Somebody please correct me if I'm wrong or if I'm missing something, but I believe this plugin shouldn't affect the mentioned file.

    EDIT: actually, the second edit should remain, it's just the first part (change 1/2) that shouldn't be there...
    Last edited by balihr; 31 Mar 2021 at 09:14 PM. Reason: blonde moment

  9. #1159
    Join Date
    Jul 2020
    Location
    USA
    Posts
    88
    Plugin Contributions
    0

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

    157c
    fuzztrip.com

    Hi, I'm trying to install this on version 157c. I get blank category and product pages. This is the error message I get.

    [05-Jul-2021 16:48:26 UTC] Request URI: /lp-c-1/mos-generator-diaul-split-vinyl-lp-white-p-143.html, IP address: 173.76.37.155
    #1 require() called at [/includes/modules/sideboxes/responsive0clone/subscribe_header.php:20]
    #2 include(/includes/modules/sideboxes/responsive0clone/subscribe_header.php) called at [/includes/modules/column_left.php:24]
    #3 require(/includes/modules/column_left.php) called at [/includes/templates/responsive0clone/common/tpl_main_page.php:151]
    #4 require(/includes/templates/responsive0clone/common/tpl_main_page.php) called at [/index.php:94]
    --> PHP Warning: require(includes/templates/template_default/templates/tpl_subscribe_header.php): failed to open stream: No such file or directory in /includes/modules/sideboxes/responsive0clone/subscribe_header.php on line 20.

    This is subscribe_header.php
    PHP Code:
    <?php
    /**
     * subscribe_header - this is a subscribe field that appears in the navigation header
     * This uses the same base template as the subscribe sidebox.
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: subscribe_header.php,v 1.1 2006/06/16 01:46:15 Owner Exp $
     */

       
    if(defined('NEWSONLY_SUBSCRIPTION_ENABLED') &&
          (
    NEWSONLY_SUBSCRIPTION_ENABLED=='on')) {
        
    $show_subscribe_headertrue;
      }

      if (
    $show_subscribe_header == true) {
        
    $subscribe_text HEADER_SUBSCRIBE_LABEL;
        require(
    $template->get_template_dir('tpl_subscribe_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_subscribe_header.php');

        
    $title '';
        
    $title_link false;
        require(
    $template->get_template_dir('tpl_box_header.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_box_header.php');
      }
    ?>
    Line 20
    PHP Code:
    require($template->get_template_dir('tpl_subscribe_header.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_subscribe_header.php'); 
    Thanks!

  10. #1160
    Join Date
    Mar 2004
    Posts
    201
    Plugin Contributions
    0

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

    i have been trying to install this.. I get that ##########__WARNING: An Error occurred, please refresh the page and try again.If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    i went through all the files and removed the blank spaces.. and reloaded and still cannot get this to install through the zcplugin manager.
    Help
    what more info do you need.
    My Multi_Site Zen Carts
    http://herasonlinemarket.com

 

 

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