Quote:
Originally Posted by gpinjason
Thanks for the updates ForceHSS!
One issue I've found though, not sure if it's my system or not. I'm running 4.1.10, when I disable the "What's New?" Tab, and I click on the "New Posts" subnav link, the page comes up with the subnav links missing, and the borders missing on the bottom of the tabs.
This is what it looks like with the tab disabled:
And this is what it should look like:

|
Quote:
Originally Posted by gpinjason
Same thing on default style...

|
admincp> Plugins & Products >plugin manager > Product : vBH - Add new tabs 1.2 or what ever version your using .. they are all the same but the "vbulletin" minversion= maxversion=
anyway
under Disable Tabs
replace the code with this
Code:
foreach ($vbulletin->bf_misc_vbhdistabs AS $tabname => $valor)
{
if ($vbulletin->options['vbhdistabs'] & $valor){
switch($tabname){
case 'vbh_cms':
$vbulletin->templatecache['vbcms_navbar_link'] = str_replace('<li','<li style="display:none"',$vbulletin->templatecache['vbcms_navbar_link']);
break;
break;
case 'vbh_blogs':
$vbulletin->templatecache['blog_navbar_link'] = str_replace('<li','<li style="display:none"',$vbulletin->templatecache['blog_navbar_link']);
break;
case 'vbh_whats_new':
$vbulletin->templatecache['navbar']= preg_replace(
'#(<li>|<li\s*class="selected">)*<a\s*class="navtab"\s*href="search\.php\?\'\s*\.\s*\$session\[\'sessionurl\'\]\s*\.\s*\'do=\w+&contenttype=\w+"\s*accesskey="\d">\'\s*\.\s*vB_Template_Runtime::parsePhrase\("\w*"\)\s*\.\s*\'</a>(</li>)*#i',
'',$vbulletin->templatecache['navbar']);
break;
}
}
}
this mod is in good need of a update..
this will get you by with disabling the what's new and lossing the subnav
Quote:
Originally Posted by gpinjason
I have tab links to a few cms article pages on my forum, and cannot figure out how to get the tab to show selected.. I know there has to be something I can do to make this happen, but I'm not too code savvy...
|
example
your adding content.php for your tab / button .. in the options on this mod under Tabs Selected
add vbcms
example
in Add new tabs URL and Text it would look like this
Calendar|calendar.php=>self
FAQ|faq.php=>self
Albums|album.php=>self
Groups|group.php=>self
Home|content.php=>self here add content.php and the rest that follows home can be what ever you like as long as the articles are using the content.php and you add the vbcms to tabs selected you golden
under Tabs Selected
it will look like this
Code:
calendar,faq,album,group,vbcms