vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Display Enhancements - Show Subforum Threads (https://vborg.vbsupport.ru/showthread.php?t=324203)

MarkFL 01-13-2017 10:00 PM

Show Subforum Threads
 
1 Attachment(s)
This product is in response to a thread posted here:

Display subforum threads in parent forumdisplay thread list

by:

mchll9898

Overview:

This product allows you to designate forums in which all threads in that forum's child forums will be displayed in the thread listing. Threads that are in a child forum will display a "child forum" icon which links to the forum in which the thread resides. The mouseover tooltip for the icon is phrased in 'markfl_showsubforumthreads_icontitle'.

https://vborg.vbsupport.ru/attachmen...1&d=1484421311

Updates:

Version 1.1:
  • Resolved reported issue of child-forum icon displaying on all threads.

Version 1.2:
  • Added setting for whether to include sticky threads in subforums.
  • Added setting for cutoff in days for the date of last post to include threads in subforums.

Version 1.3:
  • Added option to hide subforums.

Compatibility:

Tested and working on VB 4.2.x and may work on all 4.x versions of vBulletin.

Backup/Warning:

This product does alter your database, however it is always good practice to make regular backups and you should make a backup before installing ANY new mod.

As always, products are USE AT YOUR OWN RISK. I will provide support and do my best to help but no absolute guarantee is offered.

To Install:
  1. Download and extract the attached .zip file.
  2. Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product.
  3. Click on "Choose File" and browse to the product .xml file that was packaged in the .zip file.
  4. Click "Import."
  5. You MUST enable the product in the settings before it will function.
  6. Configure the remaining settings to your liking. Each setting has a detailed explanation of its use.

https://vborg.vbsupport.ru/attachmen...1&d=1486051765

Support for this product can be found here:

MarkFL 01-14-2017 11:00 PM

Update - Version 1.1:
  • Resolved reported issue of child-forum icon displaying on all threads.

scottkoz20 01-19-2017 02:12 AM

hey Mark - I have this installed on my dev server at the moment and have a few questions.

1) Is there anyway to ignore sticky threads in the child forums?
2) Is there a way to have the child forums collapsed? Initially, and allow the member to expand this? (This probably is a different mod altogether or a setting that I need to flip)
3) This is probably unrealistic, if we allow posting in the main forum, is there anyway that a child forum can be selected
3a) Other than hovering over the child forum icon, is there anyway of this showing verbose (almost like a prefix).

I know this is a lot of questions, but I like this mod and I can see this becoming useful on sportscardforum.com.

Thanks for reading this.

Scott

MarkFL 01-19-2017 02:41 AM

Quote:

Originally Posted by scottkoz20 (Post 2581055)
hey Mark - I have this installed on my dev server at the moment and have a few questions.

1) Is there anyway to ignore sticky threads in the child forums?

At present, no...I would have to add a setting for that. I will think about other exclusions as well, like age of last post in threads, etc.

Quote:

Originally Posted by scottkoz20 (Post 2581055)
2) Is there a way to have the child forums collapsed? Initially, and allow the member to expand this? (This probably is a different mod altogether or a setting that I need to flip)

You can disable the listing of subforums altogether, but to make it a collapsible element as you describe would require additional coding in the form of an auto-template edit.

Quote:

Originally Posted by scottkoz20 (Post 2581055)
3) This is probably unrealistic, if we allow posting in the main forum, is there anyway that a child forum can be selected

I'm not sure what you mean here.

Quote:

Originally Posted by scottkoz20 (Post 2581055)
3a) Other than hovering over the child forum icon, is there anyway of this showing verbose (almost like a prefix).

I chose displaying an icon with a tooltip rather than using space on the page because of the variable length of forum names. :)

Quote:

Originally Posted by scottkoz20 (Post 2581055)
I know this is a lot of questions, but I like this mod and I can see this becoming useful on sportscardforum.com.

Thanks for reading this.

Scott

I will put your requests on my to-do list, but right now I am in the middle of another coding project, and I don't multi-task well. :D

scottkoz20 01-19-2017 02:51 AM

Quote:

Originally Posted by MarkFL (Post 2581056)
I'm not sure what you mean here.

Something like this

https://vborg.vbsupport.ru/external/2017/01/12.png

MarkFL 01-19-2017 02:55 AM

Quote:

Originally Posted by scottkoz20 (Post 2581059)

Ah, okay...I see what you mean now. I think that would be doable. :)

scottkoz20 01-19-2017 02:56 AM

Quote:

Originally Posted by MarkFL (Post 2581056)
I will put your requests on my to-do list, but right now I am in the middle of another coding project, and I don't multi-task well. :D

so this will be done by midnight?!?! LOL just kidding


Thank you

MarkFL 01-24-2017 04:52 PM

Update - Version 1.2:
  • Added setting for whether to include sticky threads in subforums.
  • Added setting for cutoff in days for the date of last post to include threads in subforums.

mobster46 02-02-2017 01:45 PM

How I can close chid forum display?

mobster46 02-02-2017 01:47 PM

https://vborg.vbsupport.ru/external/2017/02/20.png

I am adding a sub-forum but it is displayed in the wrong place.


All times are GMT. The time now is 04:46 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.01289 seconds
  • Memory Usage 1,749KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete