Moderators mark1million Posted March 5, 2010 Moderators Report Share Posted March 5, 2010 How hard would it be to code for awards the same way as the ranks are defined, Example if a pilot completed 10 flights he gets xx award automatically and so on. I would imagine its just a case of copying the ranking system? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 5, 2010 Administrators Report Share Posted March 5, 2010 I would say setting up awards, and then having a module with the post_pirep hook. Then you can check any parameters, and you can assign awards using the api Quote Link to comment Share on other sites More sharing options...
Guest Brian Posted March 5, 2010 Report Share Posted March 5, 2010 if($totalrows_flight = > 10 || < 20) { Assign This Rank } Wouldnt it be as simple as that. If and Or Statement. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 6, 2010 Administrators Report Share Posted March 6, 2010 if($totalrows_flight = > 10 || < 20) { Assign This Rank } Wouldnt it be as simple as that. If and Or Statement. Essentially, but there is other support code around it. Quote Link to comment Share on other sites More sharing options...
Moderators mark1million Posted March 6, 2010 Author Moderators Report Share Posted March 6, 2010 Is there any way of saving your admin templates in a skins folder so then dont get over written on an update? I think i read somewhere this was being implemented but i cant find it, i dont want to go adding bits to them if i forget one and update and lose it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.