Page 65 of 117 FirstFirst ... 1555636465666775115 ... LastLast
Results 641 to 650 of 1165
  1. #641
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

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

    As an additional to what I said above....

    Quote Originally Posted by Doodlebuckets View Post
    Everything works great except if you go here http://www.giftsofcharacter.com and look at the sidebox, the radio input is not right. The subscribe button and text-only are in the wrong place.
    If you want to stick with your current stylesheet settings then you could try editing includes/templates/YOUR_TEMPLATE/sideboxes/tpl_subscribe.php and change the lines that say...
    PHP Code:
       if(EMAIL_USE_HTML == 'true') {
        
    $content .= ' <br /> <label>' zen_draw_radio_field('email_format''HTML'true) . ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= ' <label style="white-space:nowrap">' zen_draw_radio_field('email_format''TEXT'false) . ENTRY_EMAIL_TEXT_DISPLAY '</label>';
       } 
    ...to be...
    PHP Code:
       if(EMAIL_USE_HTML == 'true') {
        
    $content .= ' <br /> ' zen_draw_radio_field('email_format''HTML'true'id="emailhtmlformat"');
        
    $content .= ' <label for="emailhtmlformat" class="radioButtonLabel">'ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= zen_draw_radio_field('email_format''TEXT'false'id="emailtextformat"');
        
    $content .= ' <label for="emailtextformat" class="radioButtonLabel">'ENTRY_EMAIL_TEXT_DISPLAY '</label>';
       } 
    Hope that helps.

    Regards,
    Christian.

  2. #642

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

    Quote Originally Posted by CJPinder View Post
    As an additional to what I said above....


    If you want to stick with your current stylesheet settings then you could try editing includes/templates/YOUR_TEMPLATE/sideboxes/tpl_subscribe.php and change the lines that say...
    PHP Code:
       if(EMAIL_USE_HTML == 'true') {
        
    $content .= ' <br /> <label>' zen_draw_radio_field('email_format''HTML'true) . ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= ' <label style="white-space:nowrap">' zen_draw_radio_field('email_format''TEXT'false) . ENTRY_EMAIL_TEXT_DISPLAY '</label>';
       } 
    ...to be...
    PHP Code:
       if(EMAIL_USE_HTML == 'true') {
        
    $content .= ' <br /> ' zen_draw_radio_field('email_format''HTML'true'id="emailhtmlformat"');
        
    $content .= ' <label for="emailhtmlformat" class="radioButtonLabel">'ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= zen_draw_radio_field('email_format''TEXT'false'id="emailtextformat"');
        
    $content .= ' <label for="emailtextformat" class="radioButtonLabel">'ENTRY_EMAIL_TEXT_DISPLAY '</label>';
       } 
    Hope that helps.

    Regards,
    Christian.
    Thanks! I think that's what I'll do :o) I really love my template. I also just remembered that the defined pages from the newsletter subscription mod are not showing up in the admin Define Pages Editor. I've uploaded the mod twice, so I don't think I missed anything. How do I get those to show up there? Thanks! Amy

    PS For anyone who's using the Apple Zen template, the above line of code should have a second break in it to put the subscribe button down to the next line:

    $content .= ' <br /><br />' . zen_image_submit (BUTTON_IMAGE_SUBSCRIBE,HEADER_SUBSCRIBE_BUTTON, 'value="' . HEADER_SUBSCRIBE_BUTTON . '" ');

    Otherwise it just sits next to the text-only line :)
    Last edited by Doodlebuckets; 26 Jan 2008 at 01:58 PM. Reason: needed to add another thought

  3. #643
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

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

    Quote Originally Posted by Doodlebuckets View Post
    Thanks! I think that's what I'll do :o) I really love my template.
    Your welcome. Your template does look very nice.

    I've had a play with the HTML a bit more and I think the following will probably work best...
    PHP Code:
       if(EMAIL_USE_HTML == 'true') {
        
    $content .= '<div id="subscribeBoxEmailFormat" style="white-space:nowrap"> ';
        
    $content .= zen_draw_radio_field('email_format''HTML'true'id="emailhtmlformat"');
        
    $content .= '<label for="emailhtmlformat" class="radioButtonLabel">'ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= zen_draw_radio_field('email_format''TEXT'false'id="emailtextformat"');
        
    $content .= '<label for="emailtextformat" class="radioButtonLabel">'ENTRY_EMAIL_TEXT_DISPLAY '</label>';
        
    $content .= '</div>';
       } 
    Quote Originally Posted by Doodlebuckets View Post
    I also just remembered that the defined pages from the newsletter subscription mod are not showing up in the admin Define Pages Editor. I've uploaded the mod twice, so I don't think I missed anything. How do I get those to show up there?
    Now you come to mention it I seem to remember having the same problem when I first started using it. I'll have a look and see what is going on.

    Regards,
    Christian.

  4. #644

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

    Quote Originally Posted by CJPinder View Post
    Your welcome. Your template does look very nice.

    I've had a play with the HTML a bit more and I think the following will probably work best...
    PHP Code:
       if(EMAIL_USE_HTML == 'true') {
        
    $content .= '<div id="subscribeBoxEmailFormat" style="white-space:nowrap"> ';
        
    $content .= zen_draw_radio_field('email_format''HTML'true'id="emailhtmlformat"');
        
    $content .= '<label for="emailhtmlformat" class="radioButtonLabel">'ENTRY_EMAIL_HTML_DISPLAY '</label>';
        
    $content .= zen_draw_radio_field('email_format''TEXT'false'id="emailtextformat"');
        
    $content .= '<label for="emailtextformat" class="radioButtonLabel">'ENTRY_EMAIL_TEXT_DISPLAY '</label>';
        
    $content .= '</div>';
       } 
    Now you come to mention it I seem to remember having the same problem when I first started using it. I'll have a look and see what is going on.

    Regards,
    Christian.
    The same changes that were made to the sidebox also need to be made to tpl_subscribe_header.php Thanks for looking into the defines thingy and for the other fixes. It looks so much better!
    Last edited by Doodlebuckets; 26 Jan 2008 at 02:52 PM. Reason: idea

  5. #645
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

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

    Quote Originally Posted by Doodlebuckets View Post
    I also just remembered that the defined pages from the newsletter subscription mod are not showing up in the admin Define Pages Editor.
    I've had a look and I remember now what I had to do to get this working. It is because of a feature (bug?) in the Define Pages Editor. If you look at the files that came in the mod download you will see define_subscribe.php and define_unsubscribe.php in the includes/languages/english/html_includes/YOUR_TEMPLATE directory. So you rename YOUR_TEMPLATE to the name of your custom template and upload them to your server. Trouble is the files won't appear in the Define Pages Editor unless you also upload the define_subscribe.php and define_unsubscribe.php files to the includes/languages/english/html_includes directory. Once you have done that it should all work fine and the Define Pages Editor will allow you to edit the files in your custom template directory.

    Regards,
    Christian.

  6. #646

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

    Quote Originally Posted by CJPinder View Post
    I've had a look and I remember now what I had to do to get this working. It is because of a feature (bug?) in the Define Pages Editor. If you look at the files that came in the mod download you will see define_subscribe.php and define_unsubscribe.php in the includes/languages/english/html_includes/YOUR_TEMPLATE directory. So you rename YOUR_TEMPLATE to the name of your custom template and upload them to your server. Trouble is the files won't appear in the Define Pages Editor unless you also upload the define_subscribe.php and define_unsubscribe.php files to the includes/languages/english/html_includes directory. Once you have done that it should all work fine and the Define Pages Editor will allow you to edit the files in your custom template directory.

    Regards,
    Christian.
    Thanks! They are now there...Preshiate the help once more!

  7. #647
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default Duplicate emails

    I've installed the lastest version of this 2.10 on my 1.38a ZC. All my newsletter emails are being sent in duplicate.

    I had an earlier version of this mod installed on 1.37 which worked fine. For this version I've overwritten all the files - just copied the new files over to my installation - done the dB upgrade.

    Also - clicking on the unsubscribe link in the newsletter doesn't remove the address from the dB.

    Any help is appreciated.

  8. #648
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Duplicate emails

    Quote Originally Posted by paul3648 View Post
    I've installed the lastest version of this 2.10 on my 1.38a ZC. All my newsletter emails are being sent in duplicate.

    I had an earlier version of this mod installed on 1.37 which worked fine. For this version I've overwritten all the files - just copied the new files over to my installation - done the dB upgrade.
    Which version of the mod were you using with ZC 1.3.7?
    Which audience are you sending the newsletter to?

    Quote Originally Posted by paul3648 View Post
    Also - clicking on the unsubscribe link in the newsletter doesn't remove the address from the dB.
    Does the unsubscribe work if you go to the store front, click the Newsletter Unsubscribe link and enter the email address?

    Regards,
    Christian.

  9. #649
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default Re: Duplicate emails

    Quote Originally Posted by CJPinder View Post
    Which version of the mod were you using with ZC 1.3.7?
    Which audience are you sending the newsletter to?
    I don't remember the version number. I installed it about 10 months ago. Probably the best solution here is to uninstall and do a fresh install, but at this point I don't know how to remove the original installation.

    Which audience are you sending the newsletter to?
    I sent the newsletter in two batches, after first testing it with the test group. I didn't notice the test group duplications before I sent out the two big batches. The two batches were 1. Customer account subscribers 2. newsletter only subscribers.

    I have to split them up like this because my server has an hourly limit.

    When I look in the email log, every subscriber received two newsletters.

    Does the unsubscribe work if you go to the store front, click the Newsletter Unsubscribe link and enter the email address?
    I tested the unsubscribe function again this morning and it's working now.

  10. #650
    Join Date
    Mar 2007
    Location
    Taiwan
    Posts
    241
    Plugin Contributions
    0

    Default Re: Duplicate emails

    I've been testing this more, and found that when I send the newsletter to the administrator only, there is just one newsletter sent out.

    When I send the newsletter to my test group each newsletter is sent out twice.

    My email logs show two newsletters being sent out to each address, with a delay of about 5 seconds.

    I've also tested the mail function sending a message to my test group. No duplicates there, so the problem is with the newsletter mod.

 

 

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