![]() |
Forum Jump In Navbar
Okay a few notes first.
A. I wont support this software B. I dont plan to improve it unless I have a requirement to do so personally for www.minimins.com C. If you want to modify it, change it, make it something like DigitalPoint.com drop down, and charge for the modification be my guest, ill even pay for it :) D. Thanks to the original idea at http://forums.digitalpoint.com E. I dont know how to make a plugin so dont say anything about it not being a plugin. F. It wont work as guest on my forum for SEO reasons. But please dont register on my forum just to see it in action, the screenshot says it all. G. Dont complaine about my code, it works, but I accept it may not be the best way to do this. H. Its the code for the Forum Jump menu, so its dynamic. If you have admin forums thoes who can see thoes forums will be able to see it in the jump menu, thoes who dont, wont simple :) So, right, theres various other attempts at making this dropdown but to be honest they were not adequait. As such I spent 4/5 hours making my own one from the Forum Jump menu function. The code! 1. Plugin Mangager 2. Add New Plugin hook location : global name : whatever, i called it "navbar jump menu" This is the code: PHP Code:
Code:
<td id="navbar_forumjump" class="vbmenu_control"><a href="$show[nojs_link]#forumjump" accesskey="j">Forum Jump</a> <script type="text/javascript"> vbmenu_register("navbar_forumjump"); </script></td> Code:
<!-- Forum Jump --> If you have any general questions about the code Ill try and help. But the one part and dont ask me, is the recursvie function in construct_jump2 I barely understand it myself. Enjoy :) |
In tradition i reserve the first post :)
|
How is it different from this ?
https://vborg.vbsupport.ru/showthread.php?t=133277 |
see the last box of code on that post?
You have to manually define every forum url and forum name. The one above fully automatic/dynamic content. For me, with 100 forums, that was just totaly impractical. I did start and got through 20 forums and just got sick of it. Because I knew I would be moving forums around, renaming etc, so this semi-mod was created :) Pierce |
Heh... very nice. Good job !!
*Clicks install* Later edit: Damn... my skin is too modified to use it :| Hope i can modify it some way. |
Awesome! Thank you very much! :D
|
I took a look at it and made you a nice little product file. The code is unchanged from what you've posted. Users still need to make the 2 template edits.
I played with this for about an hour coming up with a simple if($i = 6) {$pagenavthingy .="<br />";} but it doesn't work that way :/ The way the HTML is coded, it will count the categories and forums as the same thing so: Lobby (Category) Forum1 Forum2 That would be 3 loops instead of 1 :( Which means it needs an extra check... if act as forum = 0 then counter+1.. then when counter = 6, throw in a <br /> and reset to 0. Then clean up the html code and you should be on your way if you care to make it resemble the other site. Edit: Good lord my spelling is off! |
Quote:
|
does it work with 3.6.5.?
|
Quote:
|
All times are GMT. The time now is 02:33 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|