Page 16 of 23 FirstFirst ... 61415161718 ... LastLast
Results 151 to 160 of 230
  1. #151
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Autoresponder+ [support thread]

    All you need to do now is to search the email's content and replace any occurance of [RecipientName] with $RecipientName.

    So if I take the coupon feature as an example:

    PHP Code:
    //Replace coupon keyword in text message with new coupon code
    $text_message str_replace($coupon_key$new_coupon_code$text_message);
            
    //Repeat for html message
    $html_message str_replace($coupon_key$new_coupon_code$html_message); 
    It would be:

    PHP Code:
    //Replace [RecipientName] keyword in text message with recipient's name
    $text_message str_replace($RecipientNameKey$RecipientName$text_message);
            
    //Repeat for html message
    $html_message str_replace($RecipientNameKey$RecipientName$html_message); 
    Just make sure the above code goes after the text and html messages are formed.

  2. #152
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Autoresponder+ [support thread]

    I haven't tested your SQL statement, but it looks as if you have an extra " in there.

    PHP Code:
    $SQL-AAE-Recipient "select products_options_values from " AUTO_TABLE_ORDERS_PRODUCTS_ATTRIBUTES " where orders_id='".$result->fields['orders_id']."'" AND products_options_id 45"; 
    Should be:

    PHP Code:
    $SQL-AAE-Recipient "select products_options_values from " AUTO_TABLE_ORDERS_PRODUCTS_ATTRIBUTES " where orders_id='".$result->fields['orders_id']."' AND products_options_id = 45"

  3. #153

    Default Re: Autoresponder+ [support thread]

    I have had some trouble getting the autoresponder to send html messages on my 1.3.7 installation. When I added the functions_email.php from 1.3.8, emails from autoresponder was sent correctly, but all other emails wasnt send in html.

    I discovered that adding the following code from 1.3.8 functions_email.php to 1.3.7 functions_email.php solved my problems.

    1.3.7 before:
    Code:
    function zen_build_html_email_from_template($module='default',$block) {
        global $messageStack;
        // Identify and Read the template file for the type of message being sent
    1.3.7 after:
    Code:
    function zen_build_html_email_from_template($module='default', $content='') {
        global $messageStack, $current_page_base;
        $block = array();
        if (is_array($content)) {
          $block = $content;
        } else {
          $block['EMAIL_MESSAGE_HTML'] = $content;
        }
        // Identify and Read the template file for the type of message being sent

  4. #154
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Autoresponder+ [support thread]

    Thanks allerup, I'll add a link to your post next time I update the mod.

  5. #155
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,798
    Plugin Contributions
    124

    Default Re: Autoresponder+ [support thread]

    Steven, please PM me. Thanks.
    That Software Guy. My Store: Zen Cart Support
    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.

  6. #156
    Join Date
    Oct 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    Awesome product! We have been using it for awhile but noticed the response was fairly low and reallized the product links take poeple to our homepage instead of the product page to review.

    Any idea why the program is leaving out the /Shop/index.php... this is what the program is grabbing for the link and the second one is what it should be?

    Many thanks!

    http://www.findbliss.com/?main_page=...roducts_id=229

    http://www.findbliss.com/Shop/index....roducts_id=229

  7. #157
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Autoresponder+ [support thread]

    Hi,

    I've had a look at the code that generates the product links and I can't see anything which would cause the issues that you're reporting. What I find really strange is that the code is meant to add the following string to the URL:

    "/index.php?main_page=product_info&cPath="

    Yet in your link, the "index.php" part is completely missing. I can't understand that.

    Where do you have the autoresponder file located?

    Are you on a Windows server?

    Here is the full code:

    PHP Code:
    /* Build first part of URL */
    //If hyperlink is to main product page
    if ($products_as_url == 'yes, to product page') {
            
    //If store is not in a directory
    if ( dirname($_SERVER['PHP_SELF']) == "/" ) {
    $initial_url HTTP_SERVER "/index.php?main_page=product_info&cPath=";
    } else {
    $initial_url HTTP_SERVER dirname($_SERVER['PHP_SELF']) . "/index.php?main_page=product_info&cPath=";
    }
            
    } else { 
    //Hyperlink is to product review page

    //If store is not in a directory
    if ( dirname($_SERVER['PHP_SELF']) == "/" ) {
    $initial_url HTTP_SERVER "/index.php?main_page=product_reviews_write&cPath=";
    } else {
    $initial_url HTTP_SERVER dirname($_SERVER['PHP_SELF']) . "/index.php?main_page=product_reviews_write&cPath=";
    }



  8. #158
    Join Date
    Oct 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    Thx for quick response. We are on a dedicated linux server. I had someone else install the mod and now waiting for location as I can't locate it on our server.

    Be back shortly with location.

  9. #159
    Join Date
    Oct 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    We installed at the end of May 2009. Maybe we need to download and install the latest version?

  10. #160
    Join Date
    Oct 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: Autoresponder+ [support thread]

    It looks like there is a php file in the Shop folder..only 70.1kb is this the file?

 

 
Page 16 of 23 FirstFirst ... 61415161718 ... LastLast

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 797
    Last Post: 23 Mar 2024, 06:51 AM
  2. v150 Testimonial Manager Support Thread (for ZC v1.5.x)
    By countrycharm in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 7 Mar 2023, 03:40 PM
  3. v151 Autoresponder+ for ZCv1.5.x [Support Thread]
    By countrycharm in forum All Other Contributions/Addons
    Replies: 23
    Last Post: 19 May 2019, 04:39 PM
  4. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  5. Support Thread for JS Date Picker for options
    By eVelt in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 5 Dec 2013, 05:44 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