The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBH-Add new tabs Details »» | |||||||||||||||||||||||||||||||||||
vBH-Add new tabs 1.2 with no querys Mark as installed, if you use it If you like this modification please suport it in the mod of the moth poll What does this plugin? This plugin allows you to add new tabs in the navigation bar to link to any site you want. Installation: Import the xml file from the product manager.. Upload the files in the upload folder to your forums via ftp. To add new tabs, go to: vBulletin Options> VBH New Tabs Option Configuration example: Code:
AdminCP|/admincp/=>self;6 google|http://www.google.com=>self;1 2 vbulletin|http://www.vbulletin.com=>self;1 2 yahoo|http://www.yahoo.com=>self;1 2 vbulletin.org|http://www.vbulletin.org=>self;1 2 To make tab selected: This option only works if your tab links to internal files. You need to enter the THIS_SCRIPT value under the option Tabs Selected. Also note that some areas of vBulletin already use the THIS_SCRIPT value in their code and because of this some tabs may not work correctly. A example of this would be the usercp.php file. If you make a tab linking to this file and then you enter the value 'usercp' to make it selected, the tab will be selected but also will be the forum tab. This is because vBulletin used this value in the navbar template. You won't have problems when linking to custome pages. en espa?ol vBHispano - Agregar Pesta?as en Espa?ol History: 11-23-09: First release 1.0
Download Now
Screenshots
Show Your Support
|
6 благодарности(ей) от: | ||
alhidaya, Guthatron, misericorde, mohammadxxx, ViViD, www.1n1n.com |
Comments |
#852
|
|||
|
|||
just copy the link to the box its easy if you still have a problem pm me will do it for you
|
#853
|
|||
|
|||
For example, if I want the Contact tab to be selected,
Contact|http://www.website.com/forum/sendmessage.php=>self I would put sendmessage at the Tabs Selected. What if I want tab selected for the URL below which is a folder and not a file? Subscribe|http://www.website.com/forum/subscribe/ ? |
#854
|
|||
|
|||
pm me a link to your forums and the link in question you want to use
|
#855
|
||||
|
||||
been busy .. I might not get to it .. sorry
I will not foget thos will do it as soon as I can.. |
#856
|
||||
|
||||
Quote:
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 will get you by with disabling the what's new and lossing the subnav Quote:
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 |
#857
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showpost.php?p=2236968&postcount=698" target="_blank">https://vborg.vbsupport.ru/showp...&postcount=698</a>
thanks, hippy's fix added also added some of my own fixes |
Благодарность от: | ||
gpinjason |
#858
|
|||
|
|||
Quote:
I tried adding the vbcms to the selected list and it didn't work.. I think it's because I'm linking to 3 different content pages + the "Home" Tab links to the main CMS page. Each time I click the content page link, it just shows the "Home" tab selected. I will try it again. Thanks for the help!!! |
#859
|
||||
|
||||
Quote:
|
#860
|
|||
|
|||
Quote:
|
#861
|
||||
|
||||
Great job, very easy to use!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|