how can i make the highlight stay on for more than a few scripts? it erases them after i type it in. I have five custom pages that are "channels"
I enter it like stream1.stream2.stream3.stream4.stream5 but it cuts off the last two scripts. the tab mod from before didnt do this.
EDIT. it works if you append the parent id to url and then do the same on all the links. it doenst seem to be as smooth as when it just uses the php scripts though. it works if you click from the menu bar but if you link directly to the php it does not. if you use the script it will light up regardless of how you get to it, thats why its better. now you have to add the tab id to every link to a php page if you want it to light up. that sucks.
Using the allow/not allow for usergroups doesnt actually protect the page does it? just who can view the menu item, correct? so if they know the url they can still see it. I add this on my custom php pages:
if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}
if (!is_member_of($vbulletin->userinfo, 6, 18)) {
// no permission if you aren't a member of usergroupid 6, 18
print_no_permission();
}
just change user id to whatever the group is.
|