Thanks for that EquinoxWorld, but where is that found? I've opened the 8WR_media_NAVTAB plugin but this is all the code I got:
Code:
if (THIS_SCRIPT == '8WR_media')
{
require_once(DIR.'/media/media_functions_hrefs.php');
require_once(DIR.'/media/media_functions_perms.php');
$perms = media_permissions();
$vbulletin->options['selectednavtab'] = 'media';
$categories = $vbulletin->db->query_read("
SELECT * FROM ".TABLE_PREFIX."media_category
WHERE catOrder != '0'
ORDER BY catOrder
");
$href['playlists'] = construct_href_playlists();
$href['pmine'] = construct_href_playlists_mine();
$href['pcreate'] = construct_href_playlists_create();
$href['favorites'] = construct_href_favorites();
$href['subscriptions'] = construct_href_subscriptions();
$href['submit'] = construct_href_submit();
$href['random'] = construct_href_random();
$href['cats'] = construct_href_admin("cats");
$href['tags'] = construct_href_admin("tags");
$href['host'] = construct_href_admin("host");
while ($category = $vbulletin->db->fetch_array($categories))
{
$category['href'] = construct_href_category($category);
$category['align'] = "";
for ($i = 0; $i < $category['catDepth']; $i++) { $category['align'] .= '-- '; }
$templater = vB_Template::create('8WR_media_NAVTAB_cat');
$templater->register('category', $category);
$categorybits .= $templater->render();
}
}
$templater = vB_Template::create('8WR_media_NAVTAB');
$templater->register('perms', $perms);
$templater->register('href', $href);
$templater->register('categorybits', $categorybits);
$template_hook['navtab_middle'] .= $templater->render();
Looks like that code is either within one of the following files perhaps:
media/media_functions_hrefs.php
media/media_functions_perms.php
Thanks again your help is appreciated