I am looking for help with a particular simple problem. Below is an outline:
I have created a user group, lets say it is called “VIP”. Users can apply for this group and be approved by admin. Currently I can use this to create categories and products that are seen only by VIP members.
My aim is to create additional custom code elsewhere on the site that is ONLY seen by “VIP” users. For example, inserting custom text into the header of the site that says “VIP Access”:
{if usergroup = VIP} Content Here {/if}
```<br />
<br />
Can anyone help me with this?<br />
<br />
Best Regards<br />
GH
Apply those {if} loops on block wrapper templates (make a renamed copy, eg. mainbox_general.tpl and its copy with the usergroups flags as mainbox_general_vip.tpl). You can then apply the appropriate wrapper to blocks you only want VIP members to see.
Thanks, but I cannot get this code to work. The user group I am trying to create custom code for is '6'. I have tested your code multiple times and still nothing within {if}{/if} will show.