Quote:
I need to add a CDP that simply pulls a value from a custom profile field. (It's a simple checkbox field: user field 5). I'm not sure I know how to set this up after spending some time looking through the example and readme. Basically, if the member checks the box in their profile, they've earned the achievement.
Thanks!
|
UPDATE: Nevermind. With trial and error I got it. This is going to be great!
- - - -
UPDATE PART 2: I'm having trouble getting more than one cdp to work at the same time. All I need is:
SUM(field5) as sum_att_views
FROM " . TABLE_PREFIX . "userfield
WHERE userid=".$user['userid']);
SUM(field6) as sum_att_views
FROM " . TABLE_PREFIX . "userfield
WHERE userid=".$user['userid']);
SUM(field7) as sum_att_views
FROM " . TABLE_PREFIX . "userfield
WHERE userid=".$user['userid']);
SUM(field8) as sum_att_views
FROM " . TABLE_PREFIX . "userfield
WHERE userid=".$user['userid']);
...along with the appropriate names for VBE to work with... How can I pull in 5-6 custom values from the database? Can you give me an example xml file that uses more than one that I can edit with my labels and values?