Yes i'd like to do that also as we are being spammed constantly without it.
Printable View
Updated for 1.5.6.
zen cart version:1.55f
newsletter_subscribe_3.0.2
Can't send mail
Attachment 19031
Attachment 19029
I try to close
Configuration -> My Store -> Enable Newsletter-only subscriptions? -> false
it's work
Attachment 19030
:blink:May I ask where the plugin is not set correctly?
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:
Any help would be appreciatedQuote:
[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.
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..
Well send an update shortly..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;
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...
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
Line 20PHP 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_header= true;
}
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');
}
?>
Thanks!PHP Code:
require($template->get_template_dir('tpl_subscribe_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_subscribe_header.php');
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.