Jump to content

Victor

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by Victor

  1. It appears that setting 1-st and 3-rd options to "true" resolved the problem.

    ##########################
    ## URL AND SSL SETTINGS ##
    ##########################

    //SPECIFY WHETHER TO USE SSL FOR ADMIN AREA
    define("USE_SSL_ADMIN_AREA", true); //SET TO "true" TO USE SSL

    //SET TO true TO USE  A SHARED SSL CERTIFICATE FOR THE ADMIN AREA
    define("USE_SHARED_CERT_ADMIN", false);

    //SPECIFY WHETHER TO USE SSL FOR MEMBERS AREA
    define("USE_SSL_MEMBERS_AREA", true); //SET TO "true" TO USE SSL
    __________________________________________________________________________________

    Thank you for your help!

  2. Thank you for your suggestion.

    I assume you are talking about /affiliates/includes/config.php.

    There is nothing like $config['base_url', but there is no http, last year everything was changed to https.

    Please review section below. I am checking with my provider if I have SSL CERTIFICATE or SHARED SSL CERTIFICATE.

    Can be this an issue?

    ##########################
    ## URL AND SSL SETTINGS ##
    ##########################

    //SPECIFY WHETHER TO USE HTTP:// OR HTTPS:// FOR AFFILIATE LINKS
    define("HTTP_TRANSPORT", "https://");

    //SPECIFY WHETHER TO USE SSL FOR ADMIN AREA
    define("USE_SSL_ADMIN_AREA", false); //SET TO "true" TO USE SSL

    //SET TO true TO USE  A SHARED SSL CERTIFICATE FOR THE ADMIN AREA
    define("USE_SHARED_CERT_ADMIN", false);

    //SPECIFY WHETHER TO USE SSL FOR MEMBERS AREA
    define("USE_SSL_MEMBERS_AREA", false); //SET TO "true" TO USE SSL

    //SPECIFY THE URL FOR YOUR SHARED SSL CERTIFICATE
    //DO NOT INCLUDE A TRAILING SLASH
    define("JAM_SHARED_SSL_URL", "srv.domain.com/~affiliates");

    Thank you.

  3. Hello,

    We noticed just recently that on login a new Warning shows up: "this form is not secure. autofill has been turned off"

    We have SSL Certificate on website and it is working fine.

    However we suspect that our version of Affiliate Manager is too old and everything is http instead of https.

    Any suggestions to resolve this issue will be greatly appreciated?

    Thank you.

    image 2.JPG

  4. Hello Team,

    Long after successful upgrade to v1.5.5e I noticed that
    /includes/templates/your_template/checkout_success/
    folder was missing as JROX JAM Affiliate did not generate commissions.

    Zen Cart works normal with confirmation page complete as usual but JROX JAM Affiliate did not registered commissions.
    (https://www.idtagsonline.com/index.p...eckout_success )
    So, I added: /includes/templates/your_template/checkout_success/ tpl_footer.php and JROX JAM Affiliate works fine and generates commission.

    Zen Cart works too, except, confirmation page after the purchase is looking like just empty (blank) white page.

    When I remove
     /checkout_success/ tpl_footer.php confirmation page is working again normally.

    I hope, I explained the problem.

    I wonder if tpl_footer.php file is too old (2006) or there is another problem?


    I tried this on live and test stores (installed on different domains) and it works (or failures) identically.

    I did not receive any help from Zen Cart forum yet.

    Any suggestions, will be greatly appreciated. smile.gif

    ******************************************************************************** **
    <?php
    /**
    * Common Template - tpl_footer.php
    *
    * this file can be copied to /templates/your_template_dir/pagename<br />
    * example: to override the privacy page<br />
    * make a directory /templates/my_template/privacy<br />
    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />
    * to override the global settings and turn off the footer un-comment the following line:<br />
    * <br />
    * $flag_disable_footer = true;<br />
    *
    * @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: tpl_footer.php 3183 2006-03-14 07:58:59Z birdbrain $
    */
    require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));

    if (!$flag_disable_footer) {

    ?>

    <!--bof-navigation display -->
    <div id="navSuppWrapper">
    <div id="navSupp">
    <ul>
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>
    <?php } ?>
    </ul>
    </div>
    </div>
    <!--eof-navigation display -->

    <!--bof-ip address display -->
    <?php
    if (SHOW_FOOTER_IP == '1') {
    ?>
    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>
    <?php
    }
    ?>
    <!--eof-ip address display -->

    <!--bof-banner #5 display -->
    <?php
    if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {
    if ($banner->RecordCount() > 0) {
    ?>
    <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>
    <?php
    }
    }
    ?>
    <!--eof-banner #5 display -->

    <!--bof- site copyright display -->
    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>
    <!--eof- site copyright display -->

    <?php
    } // flag_disable_footer
    ##########################################
    ## START JAM INTEGRATION WITH ZEN CART ##
    ## ZC Integration code by DrByte 8/2006 ##
    ##########################################
    if ((int)$orders_id > 0) {
    $JAM = $db->Execute("select class, value from " . TABLE_ORDERS_TOTAL . " where orders_id = '".(int)$orders_id."' AND class in ('ot_coupon', 'ot_subtotal', 'ot_group_pricing')");
    while (!$JAM->EOF) {
    switch ($JAM->fields['class']) {
    case 'ot_subtotal':
    $order_subtotal = $JAM->fields['value'];
    break;
    case 'ot_coupon':
    $coupon_amount = $JAM->fields['value'];
    break;
    case 'ot_group_pricing':
    $group_pricing_amount = $JAM->fields['value'];
    break;
    }
    $JAM->MoveNext();
    }
    $commissionable_order = ($order_subtotal - $coupon_amount - $group_pricing_amount);
    $commissionable_order = number_format($commissionable_order,2,'.','');
    echo "<script language=\"JavaScript\" type=\"text/javascript\" src=\"https://www.idtagsonline.com/affiliates/sale.php?amount=$commissionable_order&trans_id=$orders_id\"></script></td></tr>

    </table>";
    }
    #######################################
    ## END JAM INTEGRATION WITH ZEN CART ##
    #######################################
    ?>

×
×
  • Create New...