Page 7 of 33 FirstFirst ... 5678917 ... LastLast
Results 61 to 70 of 323
  1. #61
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Point Mod beta now available

    Andy, what version of MySQL are you using??? You will need at least version 4.1 to run this mod.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  2. #62
    Join Date
    Feb 2004
    Posts
    174
    Plugin Contributions
    0

    Default Re: Reward Point Mod beta now available

    4.0.24

    I guess that answers it, is there a work around for this?

    thanks

    Andy

  3. #63
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Point Mod beta now available

    There is- it will mean rewriting the INSERT... ON DUPLICATE UPDATE to first do a SELECT and then do a REPLACE. However, I will need to check other areas of the MySQL code in the mod to see if they will fail on a pre-v4.1 instance of MySQL.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  4. #64
    Join Date
    Feb 2008
    Location
    West Virginia
    Posts
    137
    Plugin Contributions
    0

    Default Re: Reward Point Mod beta now available

    I was insterested in having the Rewards Points box show only if they were logged in and had reward points earned or pending so I did the following:

    in includes/modules/sideboxes/reward_points.php
    add:
    Code:
    if ((isset($_SESSION['customer_id']) && getCustomersRewardPoints($_SESSION['customer_id']) > 0)) {
        $show_reward_point_box = true;
          } else {
            $show_reward_point_box = false;
          }
    
        if ($show_reward_point_box == true) {
    above this line:
    Code:
    require($template->get_template_dir('tpl_reward_points.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_reward_points.php');
    add this:
    Code:
    }
    above this:
    Code:
    ?>
    I don't know if that is the correct way to do it, but it works for me. I just put this here for anyone who wants to do the same thing.

    Andy, please chime in if it's incorrect or there is a better way to do it.

    Thanks
    Zen Cart: 1.3.8a
    PHP: 5.2.4
    MySQL: 5.0.45

    Pine Tree Candles

  5. #65
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Point Mod beta now available

    Nice work- can I add it to the official release???
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  6. #66
    Join Date
    Feb 2008
    Location
    West Virginia
    Posts
    137
    Plugin Contributions
    0

    Default Re: Reward Point Mod beta now available

    Quote Originally Posted by hem View Post
    Nice work- can I add it to the official release???
    Sure thing. I'm no coder, but it seems to work for me.
    Zen Cart: 1.3.8a
    PHP: 5.2.4
    MySQL: 5.0.45

    Pine Tree Candles

  7. #67
    Join Date
    Jan 2007
    Posts
    49
    Plugin Contributions
    0

    Default Re: Reward Point Mod beta now available

    I've loaded the module, but have a few questions

    first, when editing the Rewards earned in admin, what goes here? there are two boxes and I am not sure what I need to put there to show correctly.

    second- is there away to give customers that give referr to other customers to my site points also?

    thanks

    myhomeplay.com

  8. #68
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Point Mod beta now available

    Quote Originally Posted by JC67 View Post
    I've loaded the module, but have a few questions

    first, when editing the Rewards earned in admin, what goes here? there are two boxes and I am not sure what I need to put there to show correctly.
    I'm guessing you are talking about the sideboxes. There are two. The first (shopping cart with rewards) shows the standard shopping cart sidebox with the reward points added on the bottom. The second just displays a box with the current reward points, your earned reward points and reward points pending. If you check the zip file there is two screenshot images that might explain this a little better.

    Quote Originally Posted by JC67 View Post
    second- is there away to give customers that give referr to other customers to my site points also?

    thanks

    myhomeplay.com
    I have added this to my list of further mods.
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

  9. #69
    Join Date
    Feb 2005
    Location
    Atlanta, GA
    Posts
    71
    Plugin Contributions
    0

    Default Re: Reward Point Mod beta now available

    Andy;
    Mabey I missed it somewhere but it appears as if this mod only works with 1.3.8. Do you know if it will work with 1.3.7? I plan on migrating to 1.3.8 but for me that will be a major haul as I have a very heavily modded version of 1.3.7.

  10. #70
    Join Date
    Sep 2007
    Location
    Dublin, Ireland
    Posts
    1,288
    Plugin Contributions
    8

    Default Re: Reward Point Mod beta now available

    Actually the main coding was done under 1.3.7 and runs fine on it. PTC found that it would not run under 1.3.8 (see previous posts in this thread) and I've updated the code- but it's still set to run under 1.3.7. The only warning I can give (with your heavy modded site) is that I have to make 2 changes to an admin core file (order.php). If this has been changed a lot use a program like WinMerge to insert the differences (it's only two lines)
    Andrew

    Andrew Moore
    Omnicia Agile Development
    www.omnicia.com

 

 
Page 7 of 33 FirstFirst ... 5678917 ... LastLast

Similar Threads

  1. v150 Adding a reward point module/add-on
    By dawneprochilo in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 10 Nov 2013, 05:16 PM
  2. Zen Cart v1.5.0 BETA release now available
    By DrByte in forum Zen Cart Release Announcements
    Replies: 11
    Last Post: 7 Oct 2011, 08:51 PM
  3. bug reported in reward point module
    By smart_pro in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 Mar 2009, 10:57 AM
  4. Error after installing reward point module
    By trisha33 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Feb 2009, 11:27 PM

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