Quote:
Originally Posted by Scalemotorcars
For those using the Tab xml and your having problems seeing the links, try using this in your plugin. Copy and replace the entire code for the tab plugin and of course you can manually edit the font color values.
Im sure its not the best way but it works in FF, IE, Chrome and Avant browsers.
PHP Code:
// change $allowguests from 'true' to 'false' if you do NOT want guests to see the gallery menu
$allowguests = true;
/******** NO EDITS below here! ************/
/******************************************/
if ($show['member'] OR $allowguests)
{
global $vbphrase, $vbulletin, $stylevar;
$sess = $vbulletin->session->vars['sessionurl_q'];
$template_hook[navtab_end] .= '
<li class="popupmenu">
<a href="javascript://" class="popupctrl navtab">
' . $vbphrase['gallery'] . '<img src="' . vB_Template_Runtime::fetchStyleVar('imgdir_misc') . '/arrow.png" align="' . vB_Template_Runtime::fetchStyleVar('right') . '" />
</a>
<ul class="popupbody popuphover" style="color:' . vB_Template_Runtime::fetchStyleVar('navbar_tab_linkhover_color') . ';font:' . vB_Template_Runtime::fetchStyleVar('navbar_tab_font') . '">
<li></li>
<li><a href="albumall.php?' . $sess . '"><font color="#333333">' . $vbphrase['album_gallery'] . '</font></a></li>
<li><a href="picall.php?' . $sess . '"><font color="#333333">' . $vbphrase['picture_gallery'] . '</font></a></li>
' . ($show['member'] ? '
<li><a href="album.php?' . $sess . '&do=latest"><font color="#333333">' . $vbphrase['latest_albums'] . '</font></a></li>
<li><a href="album.php?' . $sess . '&u=' . $vbulletin->userinfo['userid'] . '"><font color="#333333">' . $vbphrase['my_albums'] . '</font></a></li>
<li><a href="album.php?' . $sess . '&do=addalbum"><font color="#333333">' . $vbphrase['add_album'] . '</font></a></li>
' : '') . '
</ul>
</li>';
}
|
AWESOME!!!!
Thanks so much for posting the solution to this problem!
For my dark skin I switched where it says <font color="#333333"> in your fix to <font color="#FFFFFF"> which makes the words now show up as white instead of the grey colour in your fix.
One question though.
Is there a way to just edit the colours for only one template? If so how would this be done as in what file needs to be changed and what needs to be added where?
As this fix edits all templates.
So now if someone is using default skin the drop down menu is now displaying the links in white text.
I don't understand why the default code in this mod changes the text color for. When every other mod that is added to the nav bar on my dark skin does not do this.
Thanks.