Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Move forumjump to the navbar with javascript Details »
Move forumjump to the navbar with javascript
Mod Version: 1.00, by Lea Verou (Member) Lea Verou is offline
Developer Last Online: Jul 2012 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.7 Rating: (1 vote - 5.00 average) Installs: 5
Released: 07 Jul 2007 Last Update: Never Downloads: 1
Not Supported  

I wanted as many others do, to move the forumjump menu to the navbar, in the pages that it appeared.
If you just put $forumjump in the navbar, it only works in showthread. I had to think of something else.

Pros:
  1. The original vbulletin's forumjump is used and not another re-created version.
  2. The template edits are only 3 and the templates edited just 2: navbar and forumjump!
  3. No vb html code is changed, the template edits are about adding code.
  4. Very little and simple code
  5. No plugins
Cons:
  1. This hack does not work if the forumjump is not meant to appear on a vb page, it just moves it in those pages that it would appear anyway.
  2. The page has to load till the bottom for the forumjump to appear in the navbar. In fact it is firstly loaded at its original position and then moved via javascript in the new one, so in order for the javascript to be executed it has to be loaded at the original postion. This causes the delay.
  3. <script> tags in the body and not in head as the standards command
  4. If javascript is disabled, the forumjump will remain at its original position.
Instructions
1. Put in the navbar where you want the forumjump to appear this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. In template forumjump add in the start (before any code):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

3. In template forumjump add in the end (after any code):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you want it to remain at its original position as well remove the
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's it!

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
End-User Options Navbar Forumjump- Adds a DHTML "Forum Jump" menu to your Navbar Analogpoint vBulletin 3.6 Add-ons 207 06 Feb 2015 05:45
Miscellaneous Hacks navbar forumjump dropdown Floris vBulletin 3.6 Add-ons 14 03 Apr 2007 13:29

Comments
  #2  
Old 07 Jul 2007, 04:50
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Could you post a screenshot please? I have an idea of what it would look like, but not sure if it would fit.
__________________

Reply With Quote
  #3  
Old 07 Jul 2007, 05:06
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Originally Posted by Magnumutz View Post
Could you post a screenshot please? I have an idea of what it would look like, but not sure if it would fit.
Sorry, I can't provide a screenshot as I'm working on a private style atm.
Scroll down to the bottom of this page and you will see a small form consisting of a dropdown and a button with the words "Forum Jump". This is forumjump.
Reply With Quote
  #4  
Old 07 Jul 2007, 05:29
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Yeah, i know what it is
But wasn't sure on how it would look on the navbar... visually.
__________________

Reply With Quote
  #5  
Old 07 Jul 2007, 06:02
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
You wouldn't benefit from my screenshot about it, the templates on the style I'm working on are heavily modified...
Reply With Quote
  #6  
Old 07 Jul 2007, 08:28
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Real name: Alex
Oh... ok, thanks anyways.
__________________

Reply With Quote
  #7  
Old 24 Aug 2007, 07:13
obetyance's Avatar
obetyance obetyance is offline
 
Join Date: Jul 2007
Real name: Obet
i Love it!
Reply With Quote
  #8  
Old 24 Aug 2007, 07:14
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
wow, somebody else installed it :P
thanks obetyance!
Reply With Quote
  #9  
Old 24 Aug 2007, 23:49
obetyance's Avatar
obetyance obetyance is offline
 
Join Date: Jul 2007
Real name: Obet
yes, ma'am! look here. www.filairsoft.com .

what i don't like about it is that, its not permanent on the navbar. meaning, it only shows on the navbar when it shows on its original spot.

anyhow, its what i'm really looking for and its good enough.

Last edited by obetyance; 25 Aug 2007 at 22:19.
Reply With Quote
  #10  
Old 01 Nov 2007, 18:08
FastCougar FastCougar is offline
 
Join Date: Aug 2005
The only downside to this hack is that the code block doesn't show until the page is fully loaded ... other than that ...great hack!
__________________
vBulletin Admin: current version = 3.5.4
Reply With Quote
  #11  
Old 10 Nov 2007, 12:18
perfphysio's Avatar
perfphysio perfphysio is offline
 
Join Date: Sep 2006
</span>
<script type="text/javascript">
document.getElementById('forumjump_span').innerHTML = document.getElementById('forumjump_originalspan').innerHTML;
document.getElementById('forumjump_originalspan').innerHTML = '';
</script>
As this file already ends in a </span> comment do we still add another one berectly below it so the page ends up ending like???

</span>
</span>
<script type="text/javascript">
document.getElementById('forumjump_span').innerHTML = document.getElementById('forumjump_originalspan').innerHTML;
document.getElementById('forumjump_originalspan').innerHTML = '';
</script>
Reply With Quote
  #12  
Old 10 Nov 2007, 16:23
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Real name: Lea Verou
Originally Posted by perfphysio View Post
As this file already ends in a </span> comment do we still add another one berectly below it so the page ends up ending like???

</span>
</span>
<script type="text/javascript">
document.getElementById('forumjump_span').innerHTML = document.getElementById('forumjump_originalspan').innerHTML;
document.getElementById('forumjump_originalspan').innerHTML = '';
</script>
I don't think so, but I don't remember the template that well now.

@FastCougar: Same goes with some vBulletin features, such as the popup menu arrow in pagenav.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 21:52.

Layout Options | Width: Wide Color: