You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I'm an avid user of Mellivora. I've kind of hacked my way into this enhancement and I'd love it to be properly added to the baseline.
What I've done is add to the categories table in mysql a "user_type" column in which I've added drop downs to the edit and new category forms that are linked to the user_type table in mysql. I've also added code to scores.php and challenges.php to only show categories based on what user type is logged in.
The reason I did this is to allow the CTF I'm building to have a "learners" section at the same time as a competition section, without the categories getting too cluttered. Like I said, I hacked my way around this, and I know that there's a way to get around what I've done regardless of the user_type logged in, but maybe a more professional look at this implementation would be more effective. Let me know your thoughts!
The text was updated successfully, but these errors were encountered:
Nakiami,
First of all, I'm an avid user of Mellivora. I've kind of hacked my way into this enhancement and I'd love it to be properly added to the baseline.
What I've done is add to the categories table in mysql a "user_type" column in which I've added drop downs to the edit and new category forms that are linked to the user_type table in mysql. I've also added code to scores.php and challenges.php to only show categories based on what user type is logged in.
The reason I did this is to allow the CTF I'm building to have a "learners" section at the same time as a competition section, without the categories getting too cluttered. Like I said, I hacked my way around this, and I know that there's a way to get around what I've done regardless of the user_type logged in, but maybe a more professional look at this implementation would be more effective. Let me know your thoughts!
The text was updated successfully, but these errors were encountered: