Hey
@Jake Bunce, I wan't to do something similar but with a little differences, I'm making a new custom user field like a Premium key, I already made the php code to generate unique key for each member, now there's 2 things I want to know, first I want to fill that field only to members who already in the Premium usergroup because I don't want to loop all members, then I want to generate the key and fill it into the field on members upgrade and truncate it on downgrade, is that possible?
One more thing, as I said I have the code to generate unique key for each members but I don't know if it's perfect, how can I prevent any duplication that might occur?
I though I could use the member ID and/or username to make a unique Key, also the key must be 16 or 20 chars.