Thanks Alex.... So... Both of my views are working pretty well so far! I can easily hide my "expired" coupons/objects from outputting in my custom view with the code provided above... As long as there is a number in that time period field in the backend of jfbconnect you mentioned!
So... On to my next (last) issues!
1) I am still hoping for the filtering we discussed in the opengraph activity view... To display used objects from a selected action rather than all of them in one place. (just a reminder... sure you remember... Thx!)
2) AND FINALLY... to wrap up what I am calling my "v1" I just need to find a way to do ONE LAST SET OF FILTERING... Here is what I am trying to do:
I have 2 Types of Custom Objects (Coupons & Brands) - Both each are their own k2 category
I have 2 Types of Custom Actions (Clip & Save) - Each are associated with their respective categories
Users can either:
Clip Coupons
OR
Save Brands
So far... You have helped me create a view where I can display ALL of the COUPONS that have not been CLIPPED by a user...
What I need now... Is to check each coupon for an extra-field value I have already setup called BRAND.... AND ONLY DISPLAY THE COUPON if it's extra-field value BRAND... Matches a BRAND OJECT that has ALSO already been SAVED by the user.
So before displaying the coupon in my view... I wish to check that it's available AND that is a coupon that corresponds to an already SAVED BRAND... Using an extra field in each coupon to compare against the names of SAVED BRANDS
Does this make sense?.... Trying to be as clear as possible.... I am not really sure the best way to do this?.... Maybe something like a preg match against an array of the users already SAVED BRANDS?
So essentially... Before I executed the logic you gave me above in this thread... I would get an array/list of all the USERS SAVED BRANDS as well???? Then only display the coupon if it's extra-field value is ALSO matching the name of a SAVED BRAND???
It's gonna be sweet when it's finished... Basically I am making a "Custom Coupon Feed" that only displays UNCLIPPED COUPONS from BRANDS the user has ALREADY SAVED.
THANKS AGAIN ALEX