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

Reply
 
Thread Tools
Selectable forums in forumjump 1.2 Details »»
Selectable forums in forumjump 1.2
Version: 1.00, by Martin64 Martin64 is offline
Developer Last Online: Jul 2020 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 02-18-2003 Last Update: Never Installs: 7
 
No support by the author.

Selectable forums in forumjump 1.2
(by Martin64, martin64@vbhackers.com)

ABOUT:

This is a quick hack I made since no one else had done it (I think...I couldn't find one ) and I needed it and I think a lot of people could find it helpful, especially those who has a ton of forums and subforums.
This hack allows you to select which forums will show up in forumjump. Note that it will automatically hide subforums in forumjump to forums that's set as invisible on forumjump.

CHANGELOG FOR 1.2:

I've added a new function that lists all forums in forumjump, regardless of forumjump "settings". We need this function for the Admin Options in showthread.php, where you need to be able to move, split and merge threads for all forums.
Optionally, you could use this new function wherever you wish to display all forums in forumjump. To do this, you have to change which function the file uses for forumjump. In example, if you wish to do this for online.php, REPLACE makeforumjump(); WITH makeforumjumpall();

UPGRADING:

See below.

Show Your Support

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

Comments
  #2  
Old 02-19-2003, 02:39 AM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know if a screenshot is needed but here goes...this a screenshot of add/edit forum in Admin CP.
Reply With Quote
  #3  
Old 02-19-2003, 03:29 AM
Edgemyster Edgemyster is offline
 
Join Date: Feb 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack - I could use it for sure.

After installing it, I discovered a limitation (at least in my setup - 2.2.9).

The hack will work well for first level forums and their subforums. But it won't work for third level forums and deeper. Instead, those forums will simply fail to appear anywhere when removed from forumjump.

I've got forums that go four levels deep with the intent of going deeper. Would be cool to clean up the forumjump display a bit.
Reply With Quote
  #4  
Old 02-19-2003, 09:30 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

VERY GOOD! I will install this next time I work on my board.
Reply With Quote
  #5  
Old 02-19-2003, 11:40 AM
007's Avatar
007 007 is offline
 
Join Date: Jan 2003
Location: United States
Posts: 872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, installed in 2.2.9 and works great. I have one question though. Is it possible to have a parent forum NOT show up in the forum jump, but have a child forum of that parent forum still show up? For example:

Normal Forum Jump:

--------Parent--------
Child 1
Child 2
etc..

What I am looking to do:

Child 1
Child 2

I just don't want the parent forums showing in forum jump.

Can this hack be modified to do this as well?
Reply With Quote
  #6  
Old 02-19-2003, 12:40 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good idea Martin

- miSt
Reply With Quote
  #7  
Old 02-19-2003, 04:05 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, all sub-forums to the one you select to be hidden will also be hidden. There's no easy way of displaying subforums only (exclude parent forums), afaik.
Reply With Quote
  #8  
Old 02-19-2003, 04:31 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Edgemyster
Cool hack - I could use it for sure.

After installing it, I discovered a limitation (at least in my setup - 2.2.9).

The hack will work well for first level forums and their subforums. But it won't work for third level forums and deeper. Instead, those forums will simply fail to appear anywhere when removed from forumjump.

I've got forums that go four levels deep with the intent of going deeper. Would be cool to clean up the forumjump display a bit.
Yes, you're correct. I will try to fix this tonight.

EDIT: Fixed, attachment updated in my first post.
Reply With Quote
  #9  
Old 02-19-2003, 06:14 PM
Edgemyster Edgemyster is offline
 
Join Date: Feb 2003
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for taking a peek at that... but, I'm unfortunately getting the same results.

I compared your new attachment and the old together and noticed that you changed "forumdisplay=1" to "forumjump=1" in the FORUMDISPLAY.PHP and ONLINE.PHP files - were there any other changes I missed?

Thanks for your help!
Reply With Quote
  #10  
Old 02-19-2003, 06:33 PM
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I'll try to be a bit clearer.

Do you still have the old attachment? If so, undo the changes you did to forumdisplay.php and online.php. If not, download the old file (post just above yours) and you'll know what changes to undo.

Once you have done this, do the new changes to forumdisplay.php and online.php, they're listed in my attachment in the first post.

Oh yeah, that forumdisplay=1 was a typo, it's supposed to be forumjump=1.
Reply With Quote
Reply


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 06:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04728 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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
  • (1)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
  • (1)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