PDA

View Full Version : Adding a vB5 Site-Builder Module to Display Certain Forums?


Pitman
11-30-2020, 06:35 AM
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.

delicjous
11-30-2020, 06:58 AM
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.

Pitman
11-30-2020, 07:10 AM
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 :D

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

--------------- Added 1606729963 at 1606729963 ---------------

If I do it that way, how could I pull $channesl?

delicjous
11-30-2020, 08:54 AM
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.

Pitman
12-02-2020, 03:32 AM
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.

In Omnibus
12-02-2020, 10:06 AM
It seems to me you're overcomplicating things.

Construct a JSON search string:

https://forum.vbulletin.com/articles/vbulletin-5-connect-aa/vbulletin-5-tutorials-aa/4280580-using-the-search-json

yilmaz
12-02-2020, 06:20 PM
The area marked in the Forum Home Module edit adjusts the depth of the forum.