Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-30-2020, 06:35 AM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Adding a vB5 Site-Builder Module to Display Certain Forums?

I love vBulletin 5, but it has a lot of downfalls...

I want to create a "New Page" in the Site Builder and use a module to display specific forums.

I know this can be done by simply linking to a category forum, but the display on the FORUM page does not work for me like I need for it to by default.

By default, I would need to do the following:
Main Category (link I would need by default for a new page)
Sub Category
Sub Forum (Shown as a "Sub Forum")
Sub Category2
Sub Forum2 (Shown as a "Sub Forum")
But I want the Forum page to show
Sub Category
Sub Forum
Sub Category2
Sub Forum2
AND the NEW page to show:
Sub Category
Sub Forum
Sub Category2
Sub Forum2
I would rather be able to create a new page and display a certain group of forums to display as a new forum page without using display order of 0 to hide the forums.

If that doesn't make sense, please let me know and I'll try to make a few screenshot examples.
Reply With Quote
  #2  
Old 11-30-2020, 06:58 AM
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That needs a little custom coding to tell the forums-template which templates you want to show.

Some new mods here use only sql to fetch stuff, without any permissions or caches been used. That will also show admin- / mod-stuff (like posts in a not user-permitted channel) and do not use cache so performance will decrease.

You could look into display_Forums_tab -> display_Forums -> display_Forums_list

And please do not change one of that templates... if you know what you could change, create your own tmeplates and show them with template-widget.
Reply With Quote
  #3  
Old 11-30-2020, 07:10 AM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, you give me something to work on... I might be able to figure that out with a bit of work. I've not used vBulletin in 5-6 years, so I'm rusty on things. I just wish there was a better way, but I'll attempt what you suggested and try to get it to work

I'll definitely need some help getting started though :\

--------------- Added [DATE]1606729963[/DATE] at [TIME]1606729963[/TIME] ---------------

If I do it that way, how could I pull $channesl?
Reply With Quote
  #4  
Old 11-30-2020, 08:54 AM
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
Posts: 352
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Depends and I have not the time to explain that fully. You could create an array by doing search for the needed channels or use your own api-class.
Reply With Quote
  #5  
Old 12-02-2020, 03:32 AM
Pitman's Avatar
Pitman Pitman is offline
 
Join Date: Dec 2001
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been able to only pull the display of categories using those templates. I've not yet figured out how to display the forums I want or the regular forum display of any forums.
Reply With Quote
  #6  
Old 12-02-2020, 10:06 AM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to me you're overcomplicating things.

Construct a JSON search string:

https://forum.vbulletin.com/articles...he-search-json
Reply With Quote
  #7  
Old 12-02-2020, 06:20 PM
yilmaz's Avatar
yilmaz yilmaz is offline
 
Join Date: Sep 2004
Posts: 751
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The area marked in the Forum Home Module edit adjusts the depth of the forum.
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 11:12 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
  • Page Generation 0.04116 seconds
  • Memory Usage 2,238KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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_postinfo_query
  • fetch_postinfo
  • 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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete