Jump to content

Pilot Rewards System


Ariel

Recommended Posts

Hey!

So now that i have purchased the Pilot Rewards system and may i say i love it...i remember bring up the idea of making different reward levels (ex. Gold, Silver, Platinum) but didnt get any feed back on it.

So now i ask is it something we can do. Or if it can be done to my system, i dont mind paying extra for it! This feature will really go in very well with our planned rewards program we would like to offer our pilots

Link to comment
Share on other sites

  • 1 month later...

Okay well it turns out that he wont be taking any request anymore. So maybe someone who already has this module can help...i am trying to display the rewards records on a different page. and have tried many codes and none are working so i might be doing something wrong or the actual code might be completely different i will post the codes i have been using

With this one i get nothing...it says that there is no records when there is.

<?php
if(empty($userinfo->pilotrecords)) {
 echo 'No Records Available';
}
else {
 echo '<table class="tablesorter">';
 echo '<tr>';
 echo '<th width="10%">Date</th>';
 echo '<th width="10%">Points</th>';
 echo '<th>Notes</th>';
 echo '</tr>';
 foreach($userinfo->pilotrecords as $note) {
	 echo '<tr>';
	 echo '<td>'.date(DATE_FORMAT, $note->date).'</td>';
	 echo '<td>'.$note->point.'</td>';
	 echo '<td width="50%">'.$note->note.'</td>';
	 echo '</tr>';
 }
 echo '</table>';
}
?>

With this one i get nothing but the space where it should appear its just clear no data is being displayed

<?php echo RewardsData::get_pilot_records($pilotid); ?>

And last but not least with this one i get nothing but it saying ARRAY

<?php echo RewardsData::get_pilot_records($userinfo->pilotid); ?>

Can anyone be of assistance please!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...