That is how it is supposed to work. When I go to private messages, my Forum tab is selected. Or am I missing what you are wanting to do?
|
Yeah, I want the new tab to be selected when I go to private messages, rather than the Forum tab. Sorry if I wasn't clear before.
|
Quote:
PHP Code:
PHP Code:
|
Wow, so simple. That did it! I thought there would be a conflict, but I guess not?
Anyway, many thanks :) |
Quote:
|
Quote:
|
I wasn't quite sure what he was wanting. Must have been the old age confusion creeping up on me. ;)
|
I found an easy way to make any new tabs have the same links under it as the forum tab does. If anyone is interested in how to do that, contact me and I will show you. You will also be able to add links in between the other links just like in the forum tab.
|
Is this plugin works in vBulletin 4.0.5? I tried it and it doesn't work for me. Any idea? :D
|
Yes, it works in 4.0.5.
|
Quote:
I've used your plugin here successfully for quite a while and love it! I'm now trying to rework my navigation to create drop-down menus on most of my TABS. I've tried Shelby's mod (referenced above) and I believe that YOURS is closer to meeting my needs, however I need some help adapting it. Basically, what I want is ALL the functionality of your plugin PLUS the ability to include drop-down menus on the TABS themselves! Problems with Shelby's Mod (for my needs):
For example, one of my TABS is for the EVENT CALENDAR: EVENT CALENDAR
Then once any of those three links above, in the tab menu are selected, I want to have the Event Calendar button highlighted (show SELECTED same as vB default behavior), and have the standard Forum submenu (tablinks) replaced with one custom submenu that says "Add New Event". So this text link will appear alone in the upper left corner of the navigation submenu (under the row of tabs). I've been playing with this all day, but can't seem to figure it out. I'm unsure whether it is NECESSARY to do this in two steps by creating the new template and plugin as suggested by Shelby. I don't mind either way, I just need help adapting one of the mods to include these features. Any help would be appreciated! Thanks! :D Jeff |
You are going to have to merge the two mods together. I'd suggest doing that and then starting your own thread where you post your code and images or your result (or a link to see it). That way, we can try out your code ourselves and see what is going on and make suggestions for changes.
|
Quote:
My concern with that is three fold:
Your thoughts? Thanks! :D Jeff |
1. No you wouldn't. You are simply taking our instructions and writing your own. I'm talking about putting in your own links and all that - post exactly what your plugin code currently is.
2. Ignore them or say "I don't know". It's a help thread - you are asking for help not offering help. 3. Post it. Tell us what isn't working. Tell us what the conditions are for the tab to be highlighted. You need to verbalize that anyway so you can write your condition for it. |
Ok, I misunderstood what you were saying.
What forum should I post the new help thread in? Modification Requests/Questions (Unpaid)? vB4 Design and Graphics Discussions? Thanks again for your assistance! Jeff |
You could post it in here - vB4 General Discussions (or vB4 Programming Discussions)
|
Quote:
|
hey lynn i am not a programer and am really bad at all this...is there a way i could pay you to install it on my site?
|
I put in the plugin code but it only creates a tab beside forum it's a link to another website
and there's no nav bar with menu. Code:
$tabselected = ''; Trying to make it under my home tab which has nothing under it, using vbadvanced. |
Quote:
|
It was a test because that other tutorial was for the tab I thought this was for the navbar like community, quick links. I like to have it as that won't work?? only the link as I said to another site shows up nothing under that.
|
Quote:
|
Either way if I try to add this under home does not work or navbar alone submenu won't show up.
if (THIS_SCRIPT == 'cmps_index.php') home page, nothing shows up under there Code:
$tabselected = ''; Execution Order = 10 and I have another mod which uses Execution Order 8 and both tabs switch for some reason. Roster is the second last tab before this one. Even If I try to make a tab alone nothing shows up under it. |
I'm not positive, but I don't think this is valid:
if (THIS_SCRIPT == 'cmps_index.php') I don't think THIS_SCRIPT is defined as cmps_index.php on that page. Open the file and see what it says (you shouldn't guess, you need to Look At The Code). |
How could i add links sub menu etc.. under my home tab which theres nothing under that used vbadvanced for that.
|
Quote:
|
Very easy to use
It great,I used on my vb |
Hi Lynne,
I want to have this in my forum and added following code as a plugin Code:
$tabselected = ''; 1. On clicking of "Tools" tab, Forum is getting highlighted which should be Tools. 2. No sub-menus are getting shown, I think its because of first issue. If that will be fixed, it should automatically get fixed. You can check this at my forum: Webmaster Forum I am not sure what is the issue with my code. I searched in all the 24 pages of the thread but didn't find the solution. Please help me out. --------------- Added [DATE]1287931785[/DATE] at [TIME]1287931785[/TIME] --------------- Hi, On further debugging, after clicking on "Tools" tab, i checked the page source and found this: var THIS_SCRIPT = "adv_index"; Now my question is that where are we setting this variable in the plugin code? Obviously, I am missing some small details which is causing this issue and the variable is not getting set properly and hence default Forum tab is getting highlighted. Please let me know where does it get set? I am new to VB, so it will take some time to get used to it. |
If the page you are clicking on has THIS_SCRIPT defined as 'adv_index', then 'adv_index' is what you need to put into the plugin. The plugin has the condition for when the tab is highlighted.
|
Quote:
I did that and it worked smooth. And I figured it out why it was happening. Just in case someone else is facing this problem, its defined in the vbadvanced php file, similar things can happen if used with other php files. Just a Tip. Thanks again. |
Hi Lynne
Thanks for helping us but after reading so much, my knowledge only increase by abit :( My forum is at http://singstocks.com/forum I just need to add a "Home" tab at nav bar: Home --> Forum --> What news This home tab is a link back to my blog at http://singstocks.com. Pls help and explain clearly as i am new at codes. Thank you Code:
<div id="navbar" class="navbar"> |
Quote:
|
How do I make a navbar tab stay highlighted with you click on it?
I would like to know as soon as possible |
your answer is above your post
|
Quote:
|
Great post. simple, and works great. thanks
|
Thanks Lynne! It's Duggy-proof! I got it up and running in less than 5 mins. You are a vB Goddess!
|
I just installed this code exactly as it appears, and it shows up on my forums menus but the drop downs do not appear - any ideas why?
I'm running on 4.1.0 I would have preferred to go with the template version of this mod but there's nothing in the template version about creating drop downs and I need drop down on my additional menu items. |
thanks for this tutorial, very nice :)
used to create a tutorial on how to embed webchat-IRC: http://thomasfischer.biz/?p=441 |
I've added a tab called Features which works great thanks..
Question is now that I am calling custom vb pages that I'm creating from this tab how do I get the tab to be the highlighted tab? For example in my custom VB page dynodb.php Code:
define('THIS_SCRIPT', 'dynodb'); Code:
<vb:if condition="$vboptions['selectednavtab'] == 'ncoextratab'"> http://vb.newcelica.org/dynodb.php |
All times are GMT. The time now is 09:02 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|