-
Posts
7 -
Joined
-
Last visited
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by JJMillwall
-
-
On 10/2/2017 at 9:00 AM, Fosters said:
Thanks, This is indeed a bug. I have fixed this for the next release.
I want to see what's going on for @Steph Jensen and if it's a valid bug, before I release a quick bugfix release.Could you please run the test function to see if he passes the criteria test:
Hi @Fosters
I too am trying to use the Nexus criteria in the rule and select one of my Nexus Products in the criteria. What appears to happen, however, is that the field then users the Product ID number as a value to count against i.e. If I choose product number 3 then the criteria expects 3 or more purchases in total via Nexus. I assume this is just legacy code where you have looked to check against the ps_item_id in nexus_purchases as opposed to count a users total purchases
E.g. Using Product ID 2
NOPE because of:IPS\trophies\extensions\trophies\TrophyCriteria\Nexus::commerce purchases - min : 2 and member has : 1
JJ
Trophies and Medals - Supporttopic
in Marketplace
Posted · Edited by JJMillwall
Made a small amendment for now which will produce what I require for the timebeing - its not perfect and its simply checking against one product for now
/applications/trophies/extensions/trophies/TrophyCriteria/Nexus.php
Line 58 - 81