gldtn
Well-known member
That would be a template conditional ?
http://xenforo.com/community/threads/is-possible-to-change-profile-box-color-in-posts-based-on-usergroup.15346/
No I think it has to be set in the listener/NavTabs.php.. something like
Code:
<?php
if (!XenForo Visitor::getUserId()
class EWRhabla_Listener_NavTabs
{
public static function listen(array &$extraTabs, $selectedTabId)
{
$extraTabs['chat'] = array(
'title' => new XenForo_Phrase('chat'),
'href' => XenForo_Link::buildPublicLink('full:chat'),
'position' => 'middle',
'linksTemplate' => 'EWRhabla_Navtabs',
);
}
}
but I'm not certain how to use that if conditional for applying it to usergroups :/, anyone?