The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Jump In Navbar Details »» | |||||||||||||||||||||||||
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 --> $forumNavJumpMenu <!-- /ForumJump --> 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 Show Your Support
|
Comments |
#22
|
||||
|
||||
Quote:
|
#23
|
||||
|
||||
Anybody idea - how to make the multicolumn version fluid - such that it not extend the width of used style? Or at least limit the number of columns to 4 at each row.
At forum.viparmenia.com/vb it is terrible, when table extended the width and one need horizontal scrolling |
#24
|
||||
|
||||
To make it compatible with vbadvanced find in plugin code( AdminCP-> Plugins & Products -> Plugin Manager -> ForumJump (if you used productxml from SkyCatcher or the name you give to plugin)
Quote:
Quote:
|
#25
|
|||
|
|||
I'm not that good at coding, where exactly do I put the code in the navbar template if I want it right before the User CP??
|
#26
|
|||
|
|||
Quote:
Pierce |
#27
|
||||
|
||||
Quote:
But it would be nice to have multicolums version such that one can limt the colums say 4 and then next 4 starts from a new row. The php script must put <tr> somehow checking by "if" do one reach the wished number of colums or better do one reach the WIDTH of window, to escape appearance of horizontal scrolling. Multicolum and multirow - |
#28
|
||||
|
||||
Quote:
|
#29
|
|||
|
|||
It wouldnt be that hard.
Just add a counter outside the foreach, and then an if statment, if($counter == 4) before the two lines that append the bottom of a table, if its 4, you want end of table, else you want to end the column. I am not going to add it because I would have to test it, and as I said I am happy with the script and felt like sharing it Pierce |
#30
|
||||
|
||||
A previous post that has instructions to get this to work with vbadvanced does not work for me. The menu will not pop open!
I got it to work with vBadvanced this way: In your vBa CMPS go to: Default Settings>Main Options >Portal Output Global Variables. In that box you must add: forumNavJumpMenu Then the popup for the jump menu will work on your vBadvanced CMPS v3.0 RC1. I am on vb3.6.4 and this works great now. Then I noticed in my Links (vBadvanced Links Directory v2.0.1) the jump menu urls were wrong so I just hard coded the url to my forumdisplay.php in the product like this on line #75: $jumpforumbits2[$optionvalue] .= "<a href=\"http://www.your.domain.com/forum/forumdisplay.php?f=".$forumid."\">".$optiontitle." </a>"; Just replace: http://www.your.domain.com/forum/ with your correct path. All fixed! |
#31
|
|||
|
|||
would be great to have this working the best it could possibly be for when vb 3.8 goes gold. and to have it also have multiple columns would be ideal. Anyone?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|