I also created a form in the admin that uses the same GIFT idea, but instead to give the user invites,but the invitation system is setup on MEMBERGROUPS max invites, and not necessarily the actual invite_max...
not sure why it was setup this way... to me the easiest way would be to just have invite count and subtract from there until 0, but i understand being able to set each group to a roll max/etc.
so the way the system is setup now... this is how I think it should be setup... if I am TOTALLY wrong or someone has a better Idea PLEASE post/correct mine.
probably in the MEMBERGROUPS this should have ROLL MAX.. so that the when the system runs it will only roll over that amount (ex. if a user has 15 invites (invite max), it will set it to what ever ROLL MAX is even if its only 5. This would be based on invite count, since this number should keep growing. THen you could probably get a statistics page on how many invites the user has generated.
so on the mod page there should not just be ROLL MAX numbers there should be also CURRENT INVITES.. because it when you set each group, it changes MAX INVITES, INVITE ROLL MAX, INVITE MAX to the same numbers....
Another suggestion
MAX INVITES = maximum for each group no matter what.
ROLL MAX = maximum that will carry over on top of the current invite max
INVITE MAX = maximum each person can invite.
example
GROUP NEWBIE = MAX INVITES in membergroups = 10
user JOHN =, INVITE COUNT = 0, INVITE MAX = 1, ROLL MAX = 5
This means john can generate only 10 keys throughout his time as a newbie. He has earned 1 invite, and has not used it. At the end of the cycle the system will leave everything alone because its less than MAX INVITES and less than ROLL MAX.
8 months later JOHN = INVITE COUNT = 8, INVITE MAX = 20, ROLL MAX = 5.
This means JOHN has earned up to 20 invites, but the max he can ever currently use is 10, so the system won't let him go above 10. However he can roll 5 keys for when he MOVES up the GROUP ladder, so his INVITE MAX would drop to 13 so that he still rolls over the 5 on top of his current 8.
OK this is long and I got lost myself.. anyway... just a suggestion..
If someone can explain it better or has a better suggestion, PLEASE post it..
Hadesflames may incorporate it, or may not, but a user with coding skills might take on the challenge..