Version 1.2 (Multiple Categories Custom)

armaclans

Member
Is it possible to have multiple categories for one member.

In my case, the member would be a game community.
So I would like to set up categories for "location" "gaming style" "most popular game played"


And to go further.. Is it possible to have those categories show up as images/icons..
picture below for reference.

Z4YMyRe.png


Also arrows do not point to the ArmA logo. but that would be a category also for game played.


example:
If “mil-sim” category is selected. the mil sim icon will show.
If “serious” category is selected. the Serious icon will show. etc.
 
You can make a check box, and add that check box on user registration form, or edit account.

So you can skip all this categories problems.
Example:
When user register he checks 2-3 inputs checks and bingo - display that info into rankings
 
You cant have sub categories / multiple categories.

You can however do some sort of custom join field in admin. But that wont bring you anywhere really.
- has no relation to the category the user selected
- as no ranking page like a real category
 
Hm... well since I cannot put html into the "custom join fields" ..... sounds like i am out of luck completely...
 
What if there is a way to create a script... that says:

if (mil-sim checkbox has been checked) then display (icons and wording like the picture)
 
Im guessing this would be the code

if(isset($_POST["milsim"])){
echo "STUFF";}


where would I need to place the php code.. does that make sense?
 
not really, you need to store their choice in database etc. Much more too it than just that I am afraid.
 
i just found a creative way to do it!!!

Since it is a required field, and someone has to check something I did the following

My join fields were

Code:
Template Tag ( internal value ): {$acf_game}
Template Tag ( display value ): {$acf_game_display}

So i just made an image with the same names as {$acf_game} with the code below

Code:
<img src="http://update.armaclans.com/images/{$acf_game}.png" />

and the icon shows up when its checked!
 
Back
Top