# Rank Level Issues

**URL:** <https://forum.phpvms.net/t/rank-level-issues/4194>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [February 27, 2011, 11:00pm UTC](https://forum.phpvms.net/t/rank-level-issues/4194 "2011-02-27T23:00:23Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![beerguts](https://forum.phpvms.net/user_avatar/forum.phpvms.net/beerguts/32/99_2.png) [@beerguts](https://forum.phpvms.net/u/beerguts)\
**Post date:** [February 27, 2011, 11:00pm UTC](https://forum.phpvms.net/t/rank-level-issues/4194/1 "2011-02-27T23:00:23Z")

</div>

Hi All,

I have a couple of issues with rank levels.

I have 12 ranks.

For some reason when a member joins their rank level defaults to 12 (it should be 1)- their rank id and rank name is correct though.

Also whenever I change someone from active to inactive in the admin panel, their rank level changes to 12.

Any thoughts?

---

<div class="post-metadata">

**Author:** ![Stealth\_QCX002](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/s/13edae/32.png) [@Stealth\_QCX002](https://forum.phpvms.net/u/Stealth_QCX002)\
**Post date:** [February 28, 2011, 3:09pm UTC](https://forum.phpvms.net/t/rank-level-issues/4194/2 "2011-02-28T15:09:11Z")

</div>

Are the hours set up correctly?

---

<div class="post-metadata">

**Author:** ![beerguts](https://forum.phpvms.net/user_avatar/forum.phpvms.net/beerguts/32/99_2.png) [@beerguts](https://forum.phpvms.net/u/beerguts)\
**Post date:** [February 28, 2011, 6:40pm UTC](https://forum.phpvms.net/t/rank-level-issues/4194/3 "2011-02-28T18:40:49Z")

</div>

> Are the hours set up correctly?

I have manual promotions thus no automatic hour requirement

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [February 28, 2011, 8:23pm UTC](https://forum.phpvms.net/t/rank-level-issues/4194/4 "2011-02-28T20:23:40Z")

</div>

Seems related to another bug - can you add this to the bug tracker? Thanks

I would still setup “hours” in your ranks, since the system will still look where to place them, that’s the bug

---

<div class="post-metadata">

**Author:** ![beerguts](https://forum.phpvms.net/user_avatar/forum.phpvms.net/beerguts/32/99_2.png) [@beerguts](https://forum.phpvms.net/u/beerguts)\
**Post date:** [February 28, 2011, 9:01pm UTC](https://forum.phpvms.net/t/rank-level-issues/4194/5 "2011-02-28T21:01:51Z")

</div>

> I have manual promotions thus no automatic hour requirement

Yeah I do have hours - but really they are rank numbers. ie. first rank has hour requirement of 1 and highest rank has hour requirement of 12.

I should add that I have a cron job that automatically promotes based on hours for the pilot ranks (first 6 ranks). The remainder are staff ranks that are manually assigned.

---

<div class="post-metadata">

**Author:** ![nabeel](https://forum.phpvms.net/user_avatar/forum.phpvms.net/nabeel/32/2971_2.png) [@nabeel](https://forum.phpvms.net/u/nabeel)\
**Post date:** [March 7, 2011, 3:14pm UTC](https://forum.phpvms.net/t/rank-level-issues/4194/6 "2011-03-07T15:14:00Z")

</div>

> Yeah I do have hours - but really they are rank numbers. ie. first rank has hour requirement of 1 and highest rank has hour requirement of 12.
> 
> I should add that I have a cron job that automatically promotes based on hours for the pilot ranks (first 6 ranks). The remainder are staff ranks that are manually assigned.

That might help in your situation, yes

---

<div class="post-metadata">

**Author:** ![beerguts](https://forum.phpvms.net/user_avatar/forum.phpvms.net/beerguts/32/99_2.png) [@beerguts](https://forum.phpvms.net/u/beerguts)\
**Post date:** [March 8, 2011, 2:03am UTC](https://forum.phpvms.net/t/rank-level-issues/4194/7 "2011-03-08T02:03:08Z")

</div>

I think you might have read that as I **should** have a cron job. I already do have a cron job set up.

Which line of code drives the rank level setting on accepting a registration?

---

<div class="post-metadata">

**Author:** ![beerguts](https://forum.phpvms.net/user_avatar/forum.phpvms.net/beerguts/32/99_2.png) [@beerguts](https://forum.phpvms.net/u/beerguts)\
**Post date:** [March 9, 2011, 7:08am UTC](https://forum.phpvms.net/t/rank-level-issues/4194/8 "2011-03-09T07:08:34Z")

</div>

Figure out a solution see:
