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
Tab and Link Manager Lite Details »»
Tab and Link Manager Lite
Version: 4.0.001, by Mosh Mosh is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 07-26-2010 Last Update: Never Installs: 85
DB Changes Uses Plugins
Additional Files  
No support by the author.

Please click Mark as Installed if you are using this hack.

What Does This Hack Do?[hr]Silver[/hr]
This hack gives you an easy way to add custom tabs, links and submenu links to the end of the NavBar. This hack has been stable since I wrote it in November 2009 and does exactly what it says on the tin. The first release of the commercial version was actually based on this version with the addition of the impex feature (which has been removed again before being released here as a Lite version).

This hack will not allow you any control over the already existing default tabs, links and submenu links added by vBulletin (Classic or Publishing Suite) nor any other third-party add-on that adds it's own tabs, links and submenu links.

Tab and Link Manager Lite offers you the following functionality:
  • Installation type: Co-existence Mode - where the default NavBar tabs/links/submenu links run side-by-side with T&LM engine.
  • Add/Edit/Delete a tab.
  • Add/Edit/Delete a link.
  • Add/Edit/Delete a submenu link.
  • Tabs, links and submenu links can be individually controlled by usergroup permissions.
  • Tabs, links or submenu links will not be viewable to users not in an authorised usergroup.
  • You can change the display order for individual tabs, links and submenu links.

Frequently Asked Questions

Question:
It doesn't work! Help!!!
Answer:
That does not help others help you. Please explain exactly what the issue is, give as much information as possible and that may aid others in helping you.
Question:
I have vBulletin 4.2.0 (or above) installed, will the new Navigation Manager included in vBulletin work with Tab and Link Manager Lite?
Answer:[INDENT]The short answer is no it will not, as the Navigation Manager replicates the functions in Tab and Link Manager Lite in its entirety and you may as well use the Navigation Manager instead of this hack.

Navigation Manger is not included with vBulletin 4.1.12 (and lower), so you are fine using this hack.

Question:
"My tabs do not highlight".... "my links or submenu links do not show up".... "when I click on a link or submenu link my tab does not stay highlighted, but highlights another tab" Help!!!!
Answer:
Information as to why any of the above are probably happening is laid out in the following post here.
Question:
I don't like the copyright branding at the bottom of every page generated by hack, what can I do?
Answer:
The only option if you want to use this hack without copyright branding is to uninstall the hack and not using it at all.

vBulletin Version Compatibility[hr]Silver[/hr]
This hack (Lite version) can be used with vBulletin versions 4.0.0 - 4.1.12.

For vBulletin versions 4.2.0 and above, you should use vBulletin's integrated Navigation Manager instead of this version.

This product will NOT work with 3.8.x and earlier as the new NavBar was not introduced until 4.0.0.



Hack Support[hr]Silver[/hr]
IMPORTANT: This hack is no longer supported.



Branding[hr]Silver[/hr]
There is a small unobtrusive block of copyright branding text at the bottom of each page generated by this hack, which is there to promote my work and allow you to use this hack for free.

You are NOT allowed to remove my copyright branding from this hack.


Install/Upgrade/Uninstall Instructions[hr]Silver[/hr]
The readme_tab_and_link_manager_lite.html instructions file is included in attached .zip file. You will need to open this file in a web browser.


Version History[hr]Silver[/hr]
v4.0.001 - Tuesday 27th July 2010
-- Initial Release


Show Your Appreciation [hr]Silver[/hr]
Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.

Download Now

File Type: zip tab-and-link-manager-lite.zip (49.6 KB, 889 views)

Screenshots

File Type: png NavBar.png (12.5 KB, 0 views)
File Type: png AdminCP-Menu.png (19.5 KB, 0 views)
File Type: png TabManager.png (21.7 KB, 0 views)
File Type: png LinkManager.png (25.2 KB, 0 views)
File Type: png SubMenuLinkManager.png (26.5 KB, 0 views)
File Type: png AddTab.png (31.3 KB, 0 views)
File Type: png EditLink.png (36.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Teascu Dorin

Comments
  #12  
Old 11-21-2010, 04:26 PM
COL NIL SATIS COL NIL SATIS is offline
 
Join Date: Aug 2009
Location: Liverpool UK
Posts: 802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

tagged !!
Reply With Quote
  #13  
Old 12-12-2010, 08:36 AM
mgurain's Avatar
mgurain mgurain is offline
 
Join Date: Apr 2005
Location: KSA - Qatif - Al-Jarodiah
Posts: 345
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

These did not work ! :
- links
- submenues
- highlight of active tab
I have added links & submenues but they didn't show up.
please fix ?
thanks,,
Reply With Quote
  #14  
Old 12-12-2010, 08:48 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Fusion2 View Post
The pictures show how to create separate tabs, links and submenus.

My question: Is there a place where you can associate tabs with specific links and submenus, as there is no photo showing that?

Simple, if i create TAB 1, and want to display only LINK 2 and SUBMENU 3, not others?
Sub-menu links are associated (linked) with one Link, and Links are associated (linked) with one Tab, not the other way around, so you can not create one Link and associate it with more than one Tab at the same time, same goes for Sub-menu links, they can only be associated than one Link at a time.
Reply With Quote
  #15  
Old 12-12-2010, 08:52 PM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mgurain View Post
These did not work ! :
- links
- submenues
- highlight of active tab
I have added links & submenues but they didn't show up.
please fix ?
thanks,,
There is nothing wrong with this hack at all, it is how you are utilising it on your site.... there is nothing to fix, this hack has worked bug-free for more than a year (no actual bug or error messages have ever been posted here, and that is since I released it here in July 2010).
Reply With Quote
  #16  
Old 12-12-2010, 11:33 PM
Merjawy's Avatar
Merjawy Merjawy is offline
 
Join Date: Sep 2002
Location: USA
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod

Tabs work just fine.. but links don't show anywhere.. I haven't tried sublinks yet
Reply With Quote
  #17  
Old 01-08-2011, 12:52 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi all,

Free support has now been moved back to vBulletin.org.

Please see the first post for more information (and also this thread at Wolfshead Solutions).

Enjoy

Regards,

Mosh Shigdar - Wolfshead Solutions.
Reply With Quote
  #18  
Old 01-08-2011, 04:38 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ascroft View Post
Thanks - installed this - with 2 links under the tab - however they (the links) don't appear to display when I hover over the tab - if I click on the tab it launches the URL I have on the tab.
Quote:
Originally Posted by Russ_T View Post
Does this work for anyone? Doesn't highlight for me at all.

I have so far not found a single tab mod that works Anyone any ideas please?
Quote:
Originally Posted by mgurain View Post
These did not work ! :
- links
- submenues
- highlight of active tab
I have added links & submenues but they didn't show up.
Links and SubMenu Links only appear under a tab when it is highlighted.

A tab will only be highlighted if:
  • the file is locally installed on the forum (not an external web site)
  • the THIS_SCRIPT line in the local file matches the file's name (define('THIS_SCRIPT', 'XXXX'))
  • the tab is not pointing another tab that has the same THIS_SCRIPT line in the file
  • the links associated with the tab are sections related to the local file.
I will give an example below (it is bare-bones, and will not work as it is, but is an example to explain the above):

Lets say we have a file you have uploaded to the root of your forum.... say test.php, the contents are as below:
PHP Code:
<?php 
// this should be the same name as the file
define('THIS_SCRIPT''test');  

// set to main page, if there are no arguments
if (empty($_REQUEST['do']))
{
    
$_REQUEST['do'] = 'main';
}

// this is the main section
if ($_REQUEST['do'] == 'main')
{
    
// DO MAIN STUFF
}

// this is another section
if ($_REQUEST['do'] == 'stuff')
{
    
// DO SOME STUFF
}

// this is yet another section
if ($_REQUEST['do'] == 'otherstuff')
{
    
// DO SOME OTHER STUFF
}
?>

We can create the tab and point the Tab URL to test.php or test.php?do=main.

The two links that will allow the tab to stay highlighted when either are clicked would have to have the Link URL field of each link set to test.php?do=stuff and test.php?do=otherstuff

Tab highlighting will not work if:
  • the Tab URL points to an external site
  • the THIS_SCRIPT line in the file matches another file that already has another tab that points to it
  • the Link URL fields do not point to sections of the same file that is pointed to by the tab they are associated with

I hope this explain things a bit, and as to why some people are having problems with getting tabs to highlight. It is not this hack that is the problem, it is how it is being utilised that is the problem.
Reply With Quote
  #19  
Old 01-11-2011, 11:30 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guess I am not understanding this mod.

Here is what I want to do:

I have the vBadvanced CMS as a portal page for my site. It is located in the root of the site on the same level as the forum.

I created a tab that is called portal and pointed it to index.php. It works great except for the fact that it highlights the forum.php tab that come with vbulletin4.

If I click on the forum.php tab (native to vb4) it goes to forum.php, but now, after installing this modification, it highlights the Portal tab (index.php) created by this mod.

To be clear my two links are:

http://www.mysite.com/forum/index.php (vbadvanced portal)
and
http://www.mysite.com/forum/forum.php (regular forum page)

vBadvanced comes with the ability to create a custom tab for each page created with it, but no way to easily add submenu links (or as this product calls them - 'links') to the navbar. So, I came here looking for help and found this mod.

I installed this on my test site which is vb4.1.0pl2.

It doesn't seem to matter what file I link to. Every tab I create always highlights the forum tab.

some links I tried include:

index.php
downloads.php
php_test.php

No matter the link, if it is on the site, the tab links correctly, but highlights the forum tab. The other native tab, "whats new", seems to work just like it should and is not affected by this modification.

Can you offer any advice? I cannot seem to get it to work correctly on my own.

Thank you.
Reply With Quote
  #20  
Old 01-12-2011, 10:11 AM
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Posts: 1,968
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kether1 View Post
Guess I am not understanding this mod.

Here is what I want to do:

I have the vBadvanced CMS as a portal page for my site. It is located in the root of the site on the same level as the forum.

I created a tab that is called portal and pointed it to index.php. It works great except for the fact that it highlights the forum.php tab that come with vbulletin4.

If I click on the forum.php tab (native to vb4) it goes to forum.php, but now, after installing this modification, it highlights the Portal tab (index.php) created by this mod.

To be clear my two links are:

http://www.mysite.com/forum/index.php (vbadvanced portal)
and
http://www.mysite.com/forum/forum.php (regular forum page)

vBadvanced comes with the ability to create a custom tab for each page created with it, but no way to easily add submenu links (or as this product calls them - 'links') to the navbar. So, I came here looking for help and found this mod.

I installed this on my test site which is vb4.1.0pl2.

It doesn't seem to matter what file I link to. Every tab I create always highlights the forum tab.

some links I tried include:

index.php
downloads.php
php_test.php

No matter the link, if it is on the site, the tab links correctly, but highlights the forum tab. The other native tab, "whats new", seems to work just like it should and is not affected by this modification.

Can you offer any advice? I cannot seem to get it to work correctly on my own.

Thank you.
As the vBadvanced index file has the THIS_SCRIPT line of:
Code:
define('THIS_SCRIPT', 'adv_index');
You need to edit the file and change it this to:
Code:
define('THIS_SCRIPT', 'index');
Then the vBadvanced tab should highlight correctly.
Reply With Quote
  #21  
Old 01-12-2011, 12:12 PM
kether1 kether1 is offline
 
Join Date: Jun 2006
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you sir. I will give it a go.

Edit: Tried it. I edited the index.php file and changed the this_script line as indicated. I still get the same issue. Thanks for trying to help though. I appreciate it.

Regards,
K
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 10:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04898 seconds
  • Memory Usage 2,372KB
  • 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_php
  • (6)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)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
  • (8)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