Change template for usergroup

JordanH

Well-known member
I'm looking to add a template edit for users who upgraded on my forum.

Basically, I cant use the basic
"<xen:if is="{xen:helper ismemberof, $user, 9}">"

set up because it is going to be inside a class. And we all know you can't put HTML in side HTML already.

So this is what I'm trying to get.

This is my current <li>:
<li id="thread-{$thread.thread_id}" class="discussionListItem {$thread.discussion_state}{xen:if '!{$thread.discussion_open}', ' locked'}{xen:if {$thread.sticky}, ' sticky'}{xen:if {$thread.isNew}, ' unread'}{xen:if {$thread.prefix_id}, ' prefix{$thread.prefix_id}'}{xen:if {$thread.isIgnored}, ' ignored'} " data-author="{$thread.username}">

I'm trying to add inside the CLASS tag "premium". I have went in the faq's searched around the forums, and nothing came up.

Really, this feature was suggested to me, so I liked it and willing to implement it. However, I can't seem to get it to work.

If any of you have seen how Digital Point's forum works you would know that premium options have a different colour in their thread listing then normal users. That's about what I'm trying to achieve here.
 
Top Bottom