Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBH-Add new tabs Details »»
vBH-Add new tabs
Version: 1.2, by Elmer Elmer is offline
Developer Last Online: Feb 2019 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.0 Rating:
Released: 11-20-2009 Last Update: 02-08-2010 Installs: 2172
Uses Plugins Auto-Templates
Additional Files Translations Is in Beta Stage  
No support by the author.

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
See screenshots.

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
  • Ability to add tabs with option to disable the modification.
11-23-09: Update 1.1
  • Some bug fixes
  • New option to align the tabs on the left, right or center.
  • Now you can choose which usergroup can view each tab.
  • Links can now be set to open in a new window or the same window.
12-24-09
  • Updated to work on vB4 Gold
02-08-10: Update 1.2
  • Added option to make the tab selected, please read the product options.
  • Added option to disable the default tabs Home, Blogs and What's New. At this time tab forum can't be removed.
This product does not add sublinks even if tabs are selected.

Download Now

File Type: zip vbh add new tabs 1.2.zip (4.1 KB, 10611 views)

Screenshots

File Type: png newtaboptions.png (28.1 KB, 0 views)
File Type: png tabspreview.png (11.7 KB, 0 views)
File Type: png vba_tabsoptions.png (48.0 KB, 0 views)
File Type: png upgradevB-0000.png (8.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
alhidaya, Guthatron, misericorde, mohammadxxx, ViViD, www.1n1n.com

Comments
  #862  
Old 03-24-2012, 10:24 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone please help me with downloading this? I just got my website up. I have vBulletin Publishing Suite 4.1.11, and I really want to be able to have two forums, and multiple news sections, and multiple blogs on my website, as well as additional customized tabs, such as one for selling books or something.

One would be on one tab, and the other would be next to that tab (you know, where it says "Forum" on the top of the page).

Basically it would be "Forum 1" and "Forum 2", for example. And then there would be a "Blog 1" and a "Blog 2". And a "News 1" and "News 2".

Is this possible within vBulletin 4.1.11 Publishing Suite? I really want to have this for my website.

It appears that this is what this mod does, where we can choose what each tab says. But would I be able to have a second entire Forum section with this?

Also, can someone please tell me the most current download of this file, with the most improvements? I saw that it was revised many times throughout this series of posts.

Can someone go through with me, step by step on how to actually download this and implement it into my vBulletin? I really don't want to mess up any of my stuff so far because it took a lot of work and learning to get it to where it is now. And I apologize - I am a complete novice with this stuff.
Reply With Quote
  #863  
Old 03-25-2012, 06:00 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my sig has latest also to have new fourms one you would need to buy them as it is one forum per a url once you get it you put the 2nd fourms up as sub forums and using this plugin to make a link to it on the tabs
Reply With Quote
  #864  
Old 03-25-2012, 07:56 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, I just ran it. Now what do I do? I have a folder with an "upload" folder and an XML Document that says "product-vbh_newtabs10".

In the "upload" folder there is another folder called "includes". Inside that folder is a folder that says "xml". Inside the "xml" folder is an XML Document called "bitfield_vbhtabs".

What do I do? You must remember, I am a moron, and know nothing about computers, making websites, or implementing code.
Reply With Quote
  #865  
Old 03-25-2012, 09:33 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This file bitfield_vbhtabs goes into the folder called xml that you will find inside the includes folder. Use a ftp program to login to see all the folders

This file product-vbh_newtabs10 is the xml that you upload from the admin cp

If you dont know how to do it pm me with the correct info and i will do it for you or post in the paid section of these forums
Reply With Quote
  #866  
Old 03-25-2012, 10:46 PM
Dave234 Dave234 is offline
 
Join Date: Mar 2012
Posts: 256
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, how are you? I really appreciate your help with all this.

"This file bitfield_vbhtabs goes into the folder called xml that you will find inside the includes folder."

The file "bitfield_vbhtabs" is already in the folder called XML, which is already in the "Includes" folder.

"Use a ftp program to login to see all the folders"

What is an "ftp program"? Do I still need one if I can already see the folders? Am I fine with this?

"This file product-vbh_newtabs10 is the xml that you upload from the admin cp. If you dont know how to do it pm me with the correct info and i will do it for you or post in the paid section of these forums"

OK, so I'm in my admincp. Where do I need to be before uploading the xml file? Which section? Once I'm there, do I just press a button that says "Browse..." and then "Upload"? Can I save the xml file to my desktop first, and then upload it from there?

I really appreciate all your help with this.
Reply With Quote
  #867  
Old 03-26-2012, 12:55 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave234 View Post
Hey, how are you? I really appreciate your help with all this.

"This file bitfield_vbhtabs goes into the folder called xml that you will find inside the includes folder."

The file "bitfield_vbhtabs" is already in the folder called XML, which is already in the "Includes" folder.

"Use a ftp program to login to see all the folders"

What is an "ftp program"? Do I still need one if I can already see the folders? Am I fine with this?

"This file product-vbh_newtabs10 is the xml that you upload from the admin cp. If you dont know how to do it pm me with the correct info and i will do it for you or post in the paid section of these forums"

OK, so I'm in my admincp. Where do I need to be before uploading the xml file? Which section? Once I'm there, do I just press a button that says "Browse..." and then "Upload"? Can I save the xml file to my desktop first, and then upload it from there?

I really appreciate all your help with this.
make sure you upload the bitfield_vbhtabs to the correct folder first

https://www.vbulletin.com/forum/cont...nstall-Plugins
Reply With Quote
  #868  
Old 03-28-2012, 02:06 PM
gpinjason gpinjason is offline
 
Join Date: Feb 2012
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hippy View Post
will peek into it and report back.. how did the whats new tab work out for you
Sorry just getting back to you about this.. The links are good when I remove the What's New tab, but they lose formatting for some reason. I believe it's because in the templates, they are in <ul> tags under whatever tab is selected. like this...

HTML Code:
<li class="selected"><a class="navtab" href="forum.php">Forum</a>
				<ul class="floatcontainer">
			<li><a href="search.php?do=getnew&amp;contenttype=vBForum_Post">New Posts</a></li>
etc...
etc...
etc...
				</ul>	
	</li>
But with the What's New tab removed, it doesn't have a "parent" tab anymore...
Reply With Quote
  #869  
Old 03-28-2012, 04:12 PM
gpinjason gpinjason is offline
 
Join Date: Feb 2012
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
If you want to link your home tab copy the full url and in the Tabs Selected box put home not vbcms. What you see in Add new tabs URL and Text box is only a guide read what it says to the left of that box. You can delete all default text in both boxes and add your own things
Maybe it's not clear what I'm trying to do. I have the vB default "Home" tab linked to the CMS index. In the vBH added on tabs, I've linked to 3 other CMS Static Article pages. All 3 of these pages in the THIS_SCRIPT it says 'vbcms'. So when any of those tabs are clicked, it shows the "Home" tab selected. I need to figure out how to change those individual page THIS_SCRIPT to something different, so it will recognize it separate from the Home tab.

here are the tab links I have listed.

Code:
Chapters|content.php?114-tx4wd-chapters=>self
Wheelin|content.php?117-where-to-wheel=>self
Resources|content.php?140-off-road-resources=>self
Albums|album.php=>self
Calendar|calendar.php=>self
And the Home tab links to the content.php main CMS page. So the "Chapters", "Wheelin", and "Resources" tabs need separate THIS_SCRIPT tags.

Did this help? Do you think this is possible?
Reply With Quote
  #870  
Old 03-28-2012, 04:19 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pm me the admin account will fix it for you
Reply With Quote
  #871  
Old 04-04-2012, 07:20 AM
raymondblog raymondblog is offline
 
Join Date: Aug 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree with what gpinjason is experiencing as I am seeing the same problem in my forum as well after upgrading to 1.5

Everything looks OK.


However if I remove the What's New Tab, clicking on New Posts link will break the formatting on the second navigation bar.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05853 seconds
  • Memory Usage 2,366KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (6)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete