Allow user to choose features


Well-known member
Hi everyone,

I just installed this hack

The problem is, it does not work on older browsers or some mobile phones.

I would like to add in a preference to turn it on or off in the users control panel. I would like it to be off by default. You need to include a template in order for it to work, so I was just thinking based on the choice it either loads the template or it does not.

Any help please?

Jake Bunce

XenForo moderator
Staff member
You can create a custom profile field as a user preference:

Admin CP -> Users -> Custom User Fields

Then you can surround your template code with this condition:

Rich (BB code):
<xen:if is="{$visitor.customFields.field_id}">

You need to enter the field_id of the profile field.