• 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

#1
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.

Thanks