Quote:
Originally Posted by Lynne
Put a condition around it.
HTML Code:
if (is_member_of($vbulletin->userinfo, x, y, z) {
code
}
|
Lynne, Thanks for the response. I used the following code in total and I didn't get a parsing error.
Code:
if (is_member_of($vbulletin->userinfo, Administrators)) {
$template_hook['vbcms_navbar_end'] .= '<li><a href="mylink">My Link</a></li>';
}
However, as the Admin I cannot see the link. Also, how would I add in usergroup names for permissions if the usergroup names have spaces in them?
Thanks again for your help