Jump to content

Recommended Posts

Posted

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!

Posted

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?

Posted

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??

  • Moderators
Posted

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.

  • Administrators
Posted

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

  • Administrators
Posted

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

Posted

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

1zp1kqu.png

  • 3 weeks later...
Posted

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. :)

  • 2 weeks later...

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...