I did get it through the Marketplace and it is version 3.0.2
Also I noticed in 3.0.2 there is no sql to create the points row in members table. Seems to me this code in functions depends on that:
/*-------------------------------------------------------------------------*/
// Award member points
/*-------------------------------------------------------------------------*/
public function awardPoints( $memberId, $amount='' )
{
if( !$memberId OR !$amount )
{
return false;
}
# Check points system installed
if( !$this->DB->checkForField( 'points', 'members' ) )
{
return false;
}
# Give reward based on members total donations.
if( $this->settings['dt_member_rewards_total_donations'] )
{
$donations = $this->DB->buildAndFetch(array( 'select' => 'SUM(amount) as total_donations', 'from' => 'donate_users', 'where' => "status='1' AND member_id=".$donateMember['member_id'] ) );
$amount = $donations['total_donations'];
}
$reward = $this->DB->buildAndFetch( array( 'select' => 'rid, title, amount_range1, amount_range2, points_enable, points_award, points_factor', 'from' => 'donate_rewards', 'where' => "active='1' AND '".$amount."' BETWEEN amount_range1 AND amount_range2" ) );
if( !$reward['rid'] OR !$reward['points_enable'] )
{
return false;
}
# Based on donation or amount
if( $reward['points_award'] == '1' )
{
$pointsAward = $reward['points_factor'];
}
else if( $reward['points_award'] == '2' )
{
$pointsAward = $reward['points_factor'] * $amount;
}
$this->DB->update( 'members', "points=points+{$pointsAward}", "member_id=".$memberId, false, true );
}
So I am not getting any points for my members. I had to create the row myself and insert the points from all the donations but even now nothing gets added upon a new donation. This was installed on a new fresh IPB 3.3 final and though all the functions are showing, nothing is working. Just got a donation today and wouldnt have known it but for the email from PayPal. I cant see how the install went so wrong when it looks fine and I can update settings properly. Just seems nothing is getting through to the database.
I will buy it again today from here if I can be assured this is working properly. I dont think there are major issues with the IPB 3.3 upgrade but at the same time I dont think this is fully stable, may need some tweaking.