XF 2.0 Showing a specific forum based on custom field

Beefy

Member
Hello,

On my forum we've got a custom profile field called Preferred Faction and I'm looking for ways (Xenforo IF statements perhaps?) to make it so that when members of my forum select a specific faction in their account settings that it shows the forum for that faction to them.

Any ideas how I could do this?
 
With a combination of addons, it should be possible.

1)
You setup those usergroups first. Like faction A usergroup, faction B, etc. And for each of them you define which usergroup can see which forum nodes. If you have a lot of factions and you want each of them to be able to see the forum list differently, you have to configure each usergroup (specially "can view node" permission). So the ones you want them not to see, you revoke the rights etc. This will take a lot of work and specially it slows down the forum a lot if you have tens of usergroups.

2)
Then the job is to create usergroup promotions. You create promotions so people get promoted into those usergroups you created earlier, based on the choice of their custom user field.

For that you need an addon to enhance the criteria for promotions:

Thanks to @katsulynx :
https://xenforo.com/community/resources/kl-user-criteria-extended.6276/

3)
For XF to make the usergroups switching immediately after their decision (the XF runs the cron normally every hour), you need this great one from @Xon
https://xenforo.com/community/resources/user-promotion-on-profile-update.5846/
 
Back
Top Bottom