1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 If Else user conditional? -using with VigLink

Discussion in 'Styling and Customization Questions' started by OakleyForum, Oct 21, 2014.

  1. OakleyForum

    OakleyForum Active Member

    I am trying to use VigLink Insert based on usergroup, while still monetizing any organic links in a post, regardless of usergroup.

    VigLink has a class="nolinks" parameter, which prevents Links from being inserted(but I believe stills allows traditional monetization). How would I create a conditional encompassing that parameter for X usergoups, but showing the normal(including VigLink Insert) to everyone else, i.e not using the parameter.

    I am mainly focused on the Message(post) template, since this is where the content is. Can someone help me word this? I have basic conditional experience, but don't want to create unnecessary problems.

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

Share This Page