![]() |
I spent about an hour messing with the "tabs selected" to make the highlight work properly, finally figured out you can't have any spaces between them in the list to make it work.
I had misc, faq, memberlist and the highlight wouldn't work properly. Changed it to misc,faq,memberlist note no space after the comma's and now all works well. Hopefully that can help someone. |
Works great!
Btw, anyone knows how can i remove any of the existing tabs ? I have added three new tabs with this powerfull tool, but need to remove the "What's new" tab, also need to edit the "Forum", the title and the link where its points to. Thanks in advance, |
This has been an interesting exercise. Apart from the other issues I find that the submenu containing New Posts, Private Messages, FAQ, Calendar, Community, Forum Actions and Quick Links no longer actually contains those links. So I ripped this thing out and using the Plugin/Product manager in the AdminCP I created my own Tab using this code snippet (see below)and 'Process_Templates_Complete' hook location.
Quote:
I used Lynnes article on creating the Navbar Tab with submenus (dropping the submenu stuff) and the Vbulletin documentation on creating plugins. Try it, it's really very easy to do your own! |
You can checkmark not to show the "what new" tab in the same screen you created your buttons in, it is at the bottom.
Here is a tutorial on how to change the button names etc.., http://www.vbulletin.com/forum/conte...me-of-Home-Tab |
Is there any way to make it so the program can parse a vb phrase for the tab name? For bilingual forums this would be very handy.
|
Quote:
i tried creating one of my own yesterday and ironically had the issue you mention here about the missing submenus, but don't have that issue with this Mod 'mostly'. i do need to create a second CMS tab though and having issues with that, as the submenu won't show on it unless the original one is highlighted - i'm not sure yet how to separate them. i guess its to do with defining a new THIS_SCRIPT value but i'm new to this using 4.1.2 |
works flawlessly in 4.1.2
|
Quote:
|
Quote:
The I went to plugins and created a plugin that referenenced that product and set the hook location to 'Process_Templates_Complete' . I then just used that small snippet of code to create my Tab and tp call the PHP page I wanted to call. As you can see from the code snippet above I am calling a php page called archives.php and telling it to show a particular Forum/category and all the subf-forums below that (these forums are all set as non-active so they don't show on the main forum page). My archives.php is simply a copy of forum.php renamed as archives.php. I found that when I called forum.php?f=14 it did show the forums and sub-forums that I wanted to see. However, the new Archives tab would not highlight and the highlight stayed on the Forum tab. I figured that this was becasue inside the forum.php file (very close to the top) the THIS_SCRIPT setting was = 'index'. As you can see from the code above the IF statement on the third line defines it as 'archives'. If I changed this in forum.php I would break the standard VB forum page. However, by making a copy of forum.php and renaming the copy to archives.php I was able to edit archives.php and make THIS_SCRIPT=archives. Now, essentially I have two forum.php files (one of which is called archives.php and cotains a minor edit). They both do the same job but forum.php calls the main forum page and archives.php?f=xx calls my hidden/non-active forums and shows them on their own page. It keeps things neat and tidy, and it all came about because the forum/category I created to contain my list of archive forums couldn't be made to appear, by default, in a collapsed configuration on the main forum page! PS The only problem I have with this way of doing it is that the sub-menu FAQ, etc is missing when I clcik on my 'Archives' tab. However, I'm working on that right now and I think I may have it working in tonight. I've just got to go and try it. |
Quote:
i am currently trying the other tab version, but i find this info very helpful and will probably look into a bit further. as i think i mentioned i had tried making my own tab but had the issue of no working sub tabs, and also had an issue with this one, which is why i abandoned it. the other one (the sstab advanced) is working better overall but am still getting a glitch with the sub tabs (made a post about it in that thread), so may have to go back to creating my own tabs anyway. |
All times are GMT. The time now is 09:13 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|