Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Forum Links Details »»
Forum Links
Version: 1.00, by JJR512 JJR512 is offline
Developer Last Online: Jun 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-09-2002 Last Update: Never Installs: 3
 
No support by the author.

This hack puts links to all forums a user has access to at the top of the page (or anywhere else you want it). I've been using hard-coded links on my own forums ever since my site opened over two years ago, and many people love them. For the record, the idea of having links to all forums at the top of the page is not my original idea; I originally saw it at Hardware Central. This is also something I requested once, long ago, at vbulletin.com, and Tubedogg came up with something that worked fairly well. However, his version never had any permission-checking features, so links to all forums were displayed. My version, written from the ground up by myself, does check permissions.

Some assistance was also provided by FireFly, who showed me how to keep the separation character from appearing after the last link. Thanks, FireFly!

This hack is basically very simple. You just add a few lines of code to one file, and a variable to your header template to show the output. But you can take this and customize it greatly, by formatting how the output is displayed, by surrounding the variable with various tags to center it or control the font style and size, or you could make it into a table; it's all up to you.

For a simple example, look at http://testvb.jjr512.com All I've done there is put the variable at the top of the header template, inside smallfont and center tags. For a more elaborate example, take a look at http://www.jjr512.com I've built it into a table with a different background color and a thin line border with curved corners. It's also duplicated in the footer. How you do it on your site is up to you. The possibilities are endless. If you come up with something you feel is neat and unique, maybe you could share it with us to give others an idea or two.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-10-2002, 12:41 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one mate
Reply With Quote
  #3  
Old 08-10-2002, 12:43 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

neo is right, nice idea m8
Reply With Quote
  #4  
Old 08-10-2002, 12:46 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im ganna use this in a drop down , kinda like a forum jump on any page! , this is so useful. props on this on
Reply With Quote
  #5  
Old 08-10-2002, 12:59 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're going to use it as a drop-down, like the forum jump, why not just use the forum jump instead?

(I don't use forumjump anywhere on my board because before we ever started using vBulletin, everyone was used to these links, which I had hard-coded back in our UBB days. So, basically, I see this as an alternative to the forumjump feature...an easier-to-use alternative, since it just takes one click, rather than opening up the drop-down, scrolling if needed, etc. But if you like both, good for you! )
Reply With Quote
  #6  
Old 08-10-2002, 01:03 AM
Mr_P Mr_P is offline
 
Join Date: Jan 2002
Location: Uk.
Posts: 202
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

side menu to board ????

seems best place for it (cant you tell i want a side menu)
Reply With Quote
  #7  
Old 08-10-2002, 01:17 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea. This would add a query to every page on the forum though. But it's a great way of listing out all forums on all pages.
Reply With Quote
  #8  
Old 08-10-2002, 01:19 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Mr_P
side menu to board ????

seems best place for it (cant you tell i want a side menu)
It would be very easy to set up a side menu, by adding the appropriate < td> tags in your header. Then adding the correct < /td> tags in yourfooter.

It's just modifying the header and footer templates.
Reply With Quote
  #9  
Old 08-10-2002, 01:33 AM
Destee's Avatar
Destee Destee is offline
 
Join Date: Oct 2001
Location: destee.com
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey JJR512 ... thank you for this ... but it's displaying every forum in my cp ... including a long ago deleted one, that isn't in my cp. It's also displaying the forums that are marked with a zero, that I don't want displayed. I logged out to be sure it wasn't just showing them to my userid.

I only want the forums listed that are currently showing on the forum home page. Is it suppose to display more than that?

Destee
Reply With Quote
  #10  
Old 08-10-2002, 01:41 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly how and where would you add those tags to make it on the side?

Quote:
Originally posted by Erwin


It would be very easy to set up a side menu, by adding the appropriate < td> tags in your header. Then adding the correct < /td> tags in yourfooter.

It's just modifying the header and footer templates.
Reply With Quote
 


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

Forum Jump


All times are GMT. The time now is 09:00 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
  • Page Generation 0.04997 seconds
  • Memory Usage 2,289KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete