Bikekid260 Posted February 20, 2011 Report Share Posted February 20, 2011 Alright my question is on ranks. I changed the ranks in the system to my own custom(Removed New Hire). However when a pilot signs up on the roster it says "New Hire" until I go to the admin panel click edit by their name and click save. Then it goes to the first rank. So my question is: How do you change the default rank that is entered in the mysql database? Thanks! Quote Link to comment Share on other sites More sharing options...
James142 Posted February 20, 2011 Report Share Posted February 20, 2011 Alright my question is on ranks. I changed the ranks in the system to my own custom(Removed New Hire). However when a pilot signs up on the roster it says "New Hire" until I go to the admin panel click edit by their name and click save. Then it goes to the first rank. So my question is: How do you change the default rank that is entered in the mysql database? Thanks! Why did'nt you just change the new hire rank to what ever you wanted it to be in the admin center under ranks instead of doing it in the mySQL database? Quote Link to comment Share on other sites More sharing options...
Bikekid260 Posted February 20, 2011 Author Report Share Posted February 20, 2011 Why did'nt you just change the new hire rank to what ever you wanted it to be in the admin center under ranks instead of doing it in the mySQL database? Thats what I did; however it still remains with the New Hire. I did not modify anything in the mysql. However the default values below are being put in for the ranks: rankid = 0 rank = New Hire ranklevel = 0 There has to be away to change that. But what file is it in?? Quote Link to comment Share on other sites More sharing options...
James142 Posted February 20, 2011 Report Share Posted February 20, 2011 Thats what I did; however it still remains with the New Hire. I did not modify anything in the mysql. Oh right i read that question completly wrong Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 20, 2011 Administrators Report Share Posted February 20, 2011 Remove that rank from the admin panel? Or just edit it to say something else Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted February 20, 2011 Moderators Report Share Posted February 20, 2011 Nabeel, I had that simallar problem, I removed New Hire and Putted up with my ranks and when new pilots, their ranks go to New Hire which it doesn't exist. Quote Link to comment Share on other sites More sharing options...
Bikekid260 Posted February 20, 2011 Author Report Share Posted February 20, 2011 Yeah, It is putting it to New Hire when that isnt even a rank. So that is why I would like to find where it is putting New Hire into the database to change that to the first rank. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 20, 2011 Administrators Report Share Posted February 20, 2011 Nabeel, I had that simallar problem, I removed New Hire and Putted up with my ranks and when new pilots, their ranks go to New Hire which it doesn't exist. Yeah, It is putting it to New Hire when that isnt even a rank. So that is why I would like to find where it is putting New Hire into the database to change that to the first rank. Ah, that's def a bug - let me see Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 21, 2011 Administrators Report Share Posted February 21, 2011 Err, I don't see that in the code anywhere... it's just inserted on install, but if you've removed it, it shouldn't be adding it. It will calculate a pilots rank on registration based on what ranks are entered in Quote Link to comment Share on other sites More sharing options...
Bikekid260 Posted February 21, 2011 Author Report Share Posted February 21, 2011 Yeah; I have mine so that it doesnt auto rank them up. An admin has to do it for them. However it has to be getting "New Hire" from somewhere but it isnt my ranks, because i removed that. So where??? Here is a small screenshot of my pilot roster; thus not showing his rank... Because it isnt a rank Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted February 21, 2011 Administrators Report Share Posted February 21, 2011 Alright, I'm looking into it.. that's so weird. Can either of you add a bug report at github (link in my sig) thanks.. Quote Link to comment Share on other sites More sharing options...
beerguts Posted March 9, 2011 Report Share Posted March 9, 2011 I had this same problem but have figured it out. You need to change the default values for rankid rank and ranklevel in the pilots table in your DB which are currently set to 0,New Hire,0 You can do this through phpMyAdmin or whatever DB admin tool you are using. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted March 16, 2011 Administrators Report Share Posted March 16, 2011 What are they, by default, before you changed them? Quote Link to comment Share on other sites More sharing options...
beerguts Posted March 29, 2011 Report Share Posted March 29, 2011 What are they, by default, before you changed them? They are 0,New Hire, 0 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.