Re: Newsletter-Only Subscriptions for v1.3x
Hello and thanks everyone for the recent upgrades!
I am currently running NLS V2.0.6 on Zen Cart 1.3.7
everything works fine.
I am now facing my first upgrade of ZC from 1.3.7 to the current 1.3.8
My question is, what should I do first?:
upgrade NLS (to V2.0.8 on my 1.3.7 shop) then upgrade ZC?
or
upgrade ZC 1.3.7 to 1.3.8 then upgrade NLS?
as I remember there are many ZC core files that were replaced by NLS
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
dharma
I am now facing my first upgrade of ZC from 1.3.7 to the current 1.3.8
My question is, what should I do first?:
upgrade NLS (to V2.0.8 on my 1.3.7 shop) then upgrade ZC?
or
upgrade ZC 1.3.7 to 1.3.8 then upgrade NLS?
as I remember there are many ZC core files that were replaced by NLS
In theory you would upgrade to ZC 1.3.8 and then install the latest NLS. However, this mod has not yet been tested with ZC 1.3.8 and the latest downloads are for v1.3.7. Two of the core files that NLS overwrites have been modified in ZC v1.3.8, these are...
admin/customers.php
includes/functions/function_email.php
To get the mod to work properly with v1.3.8 you will need to lift the sections marked with...
// BEGIN newsletter_subscribe mod
and
// END newsletter_subscribe mod
...out of the pre-modified v1.3.7 files and paste them into the v1.3.8 files. Working out which bits go where can be a bit tricky though.
NB: Do not just upload the pre-modified v1.3.7 versions of those two files onto a v1.3.8 installation, it will break things in subtle ways.
I'm intending on putting out a ZC v1.3.8 version of the mod soon but I'm also busy doing some cart upgrades and battling with half a dozen other mods that don't work with ZC v1.3.8 yet :wacko:
Regards,
Christian.
Re: Newsletter-Only Subscriptions for v1.3x
Thank you for the update CJ, I was only running a showroom with this mod so I may not have noticed some of the problems the older NS module may have caused in a live store.
I will certainly be more careful to compare upgrades in the future.
Regards
Dave
Re: Newsletter-Only Subscriptions for v1.3x
Hi CJ, other users of NS,
Just wanted to check again if anyone found any spare cycles to figure out how to bring up NS codebase to latest ZC. Would be so nice to get it working again on v1.3.8...
JJ
Re: Newsletter-Only Subscriptions for v1.3x
Hello CJPinder,
I upgraded to the latest version and now when a customer creates an account and chooses Newsletter Subscription, it doesn't appear in my Admin Subscription Manager any longer. They only show up on the Customer screen. Even if I create an account from Admin, they still don't show up on the Subscription Manager screen. What file should I edit to make this happen?
Any help is appreciated.
Thanks,
The Diva
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
JJ_Boja
Just wanted to check again if anyone found any spare cycles to figure out how to bring up NS codebase to latest ZC. Would be so nice to get it working again on v1.3.8...
Sorry, not yet. Still working on it.
Regards,
Christian.
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
Robbyn7
I upgraded to the latest version and now when a customer creates an account and chooses Newsletter Subscription, it doesn't appear in my Admin Subscription Manager any longer.
Do you mean your using the v2.0.9 I just uploaded to fix the date problem when people create an account?
The file you need to check is includes/modules/YOUR_TEMPLATE/create_account.php , where YOUR_TEMPLATE is the name of your custom template. It should be the one from the v2.0.9 zip file.
Quote:
Originally Posted by
Robbyn7
They only show up on the Customer screen. Even if I create an account from Admin, they still don't show up on the Subscription Manager screen.
I'm not quite sure what you mean by 'create an account from admin'. Can you describe what you are doing?
Regards,
Christian.
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
CJPinder
Do you mean your using the v2.0.9 I just uploaded to fix the date problem when people create an account?
The file you need to check is includes/modules/YOUR_TEMPLATE/create_account.php , where YOUR_TEMPLATE is the name of your custom template. It should be the one from the v2.0.9 zip file.
I'm not quite sure what you mean by 'create an account from admin'. Can you describe what you are doing?
Regards,
Christian.
Sorry for the confusion. Here's an example: I fill out the info to create a user account from the Registration screen of my store. I then click the box to choose Newsletter Subscription. Now from the Admin-Subscription Manager option, I should see the customers information and that this a Newsletter Subscriber. This doesn't happen. I only see the new account info in Admin, Customers, Customers. Not Newsletter Subscribe.
Also, if I create an account from Admin, Customers, Add Customer. I also check that I want to subscribe to the Newsletter, unfortunately again It's not showing on the Newsletter Subscribe page in Admin.
I didn't make any changes to the Create Account file because I have the referrals mod installed. I did compare the old and new file but it needs some merging.
Hope this is clearer.
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
Robbyn7
Also, if I create an account from Admin, Customers, Add Customer. I also check that I want to subscribe to the Newsletter, unfortunately again It's not showing on the Newsletter Subscribe page in Admin.
There is no Add Customer under Admin, Customers on a standard Zen Cart. I'm guessing that you have installed a mod to do this and you will have to merge the mods together.
Quote:
Originally Posted by
Robbyn7
I didn't make any changes to the Create Account file because I have the referrals mod installed. I did compare the old and new file but it needs some merging.
Without the changes to the Create Account file this mod will not work properly. You'll have to merge the changes needed with the ones that the referrals mod needs.
Regards,
Christian.
Re: Newsletter-Only Subscriptions for v1.3x
Quote:
Originally Posted by
CJPinder
Without the changes to the Create Account file this mod will not work properly. You'll have to merge the changes needed with the ones that the referrals mod needs.
Regards,
Christian.
Hi Christian,
I finally merged my Create Account files and now I receive the following when I create an account:
1062 Duplicate entry '[email protected]' for key 2
in:
[INSERT INTO zen_subscribers (customers_id, email_address, email_format, confirmed) VALUES ('65', '[email protected]', 'HTML', '1')]
Thanks for your help.