vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Sorky - SubForum List Control (https://vborg.vbsupport.ru/showthread.php?t=181939)

Sorky 06-07-2008 10:00 PM

Sorky - SubForum List Control
 
Purpose
This plugin allows extensive control of how SubForums are displayed.
  • Use any mix of between 0 and 10 columns
  • Different layouts can be used on specified forums
  • Change formatting
  • Display Thread/Post counts
  • Limit the number of SubForums shown (Show More/Less)
  • Collapse entire display
  • plus more!

Acknowledgement
Thanks (and apologies) to Cybernetec for the ideas & inspiration to generate this Mod.

Installation
Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

Options
To set hack options go to: AdminCP > vBulletin Options > Sorky - SubForum List Control

Versions
v1.0.0 - 28th of April, 2008 = Launch (click here)
v1.1.0 - 8th of June, 2008 = Added functionality (click here)
v1.2.0 - 15th of June, 2008 = Removed (small bug found)
v1.3.0 - 6th of July, 2008 = Removed (small bug found)
v1.3.1 - 8th of July, 2008 = Added functionality (click here)
v1.4.0 - 12th of July, 2008 = Added functionality (click here)
v1.4.1 - 27th of July, 2008 = Added functionality (click here)
v1.5.0 - 28th of September, 2008 = Removed (small bug found)
v1.5.1 - 30th of September, 2008 = Added functionality (click here)

More versions available for 3.8.x (still work for 3.7.x though)

Hall Of Fame (Donations)
Budweiser US$20
Fungsten US$25

Settings & Demonstration Screenshots
See v1.0.0 post (click here)

If you like this Mod please click INSTALL.

Sorky 06-08-2008 09:50 PM

V1.0.0 Features
  • Hide or edit the SubForums: display
  • Add thread & post counts after SubForum names
  • Allow a DEFAULT layout of between unchanged, 0 or 1 to 5 columns
  • Allow INDIVIDUAL SubForums to be specifically set as unchanged, 0 or 1 to 5 columns
Tips
To get it on the Forum Home page, set the "vBulletin Options" > "Forum Listings Display Options" > "Depth of Forums - Forum Home" to "1".

For all other pages, set the "vBulletin Options" > "Forum Listings Display Options" > "Depth of Forums - Forum Display" to "1".

You should also set the "vBulletin Options" > "Forum Listings Display Options" > "Depth of Sub-Forums" to "1". Setting it higher will also work, however, beware that the grandchildren & indenting does not integrate well if using alphabetic sorting (use Forum Display Order sorting instead).

If the following templates have been modified from their original, either "revert" them or test this Mod carefully before use:
  • forumhome_forumbit_level1_nopost
  • forumhome_forumbit_level1_post
  • forumhome_forumbit_level2_nopost
  • forumhome_forumbit_level2_post
  • forumhome_subforumseparator_post (ignored)
  • forumhome_subforumseparator_nopost (ignored)
  • forumhome_subforumbit_post (append only)
  • forumhome_subforumbit_nopost (append only)
  • header (append only)
WishList - Other Ideas
  • Remember collapse state [eg : cookie] (high)
  • Number of people viewing count (med)
  • Enable/Disable for certain styles (med)
  • Different formatting for each SubForum depth [child/grandchild/etc] (low)
Settings & Demonstration Screenshots

Brian30fl 06-08-2008 09:51 PM

no demo or screenshots?

Alfa1 06-08-2008 09:54 PM

Thanks!

Please add the function to: apply a different depth of sub-forums to specific sub-forums.

Sorky 06-08-2008 09:55 PM

Version 1.1.0 Changes

1) Added ability for user to set the characters containing the thread and post counts

2) Added ability to alphabetically sort the SubForum list by row (horizontal) OR by column (vertical)

3) Added blank cell padding so that the entire grid is fully populated no matter how many elements so that coloured backgrounds look better

4) Added an option for the main icon alignment

5) Added an option to push the table width to the full 100% of the cell

6) Added an option for formatting of the forum description

7) Changed the code so that it works with forums with ", " (comma followed by space) in the name

8) Other minor coding and commenting adjustments

Sorky 06-08-2008 09:58 PM

Quote:

Originally Posted by Alfa1 (Post 1544473)
Please add the function to: apply a different depth of sub-forums to specific sub-forums.

You can specify a default for all forums AND you can specify individual forums to have specific settings that are different from the default.

Options are:
  1. Leave as original (screen2.jpg)
  2. Apply formatting only (screen3.jpg)
  3. Put in 1 column
  4. Put in 2 columns (screen4.jpg)
  5. Put in 3 columns (screen8.jpg)
  6. Put in 4 columns
  7. Put in 5 columns

The "formatting" is the addition of the (thread/post) counts as well as the ability to style various aspects of the SubForum display.

If that is not what you mean... can you please explain?

Alfa1 06-08-2008 10:08 PM

For an example, please go to AdminCP -> vb options -> forum listing display options -> Depth of Forums - Forum Display

This function defines whether sub-forums below a certain depth are shown on forumdisplay.

And:
AdminCP -> vb options -> forum listing display options -> Depth of Sub-Forums

I have several forums where I would like to handle this different from the rest of my forums. It would be nice if you would add settings for this.

Sorky 06-08-2008 10:20 PM

I see...

It is only designed for 1 at this stage, but if you enter more, the grandchildren, etc get listed also (no differentiation though) .

How exactly would you expect this to work?

Alfa1 06-08-2008 10:29 PM

One of my forums; forum X has a subforum Y, with about 50 subforums below that. So the display of this subforum Y takes so much space in the forumdisplay of forum X, that forum to reach the threads in forum X, one must browse all the way down.

I would like to just display subforum Y, without listing its 50 subforums.

So instead of:

- Forum X
- - SubForum Y
- - - SubForum 1
- - - SubForum 2
- - - SubForum 3
- - - SubForum 4
- - - SubForum 5
- - - SubForum 6
- - - SubForum 7
- - - SubForum 8
- - - etc
- - Subforum Z

- Threads

I would like to display:

- Forum X
- - SubForum Y
- - Subforum Z

- Threads

Ljusya 06-08-2008 11:47 PM

hmm, i have some problem with this hack - if i choose "show in two columns" I look this:
https://vborg.vbsupport.ru/external/2008/06/55.jpg
I thought that my template wrong, but it is in any templates


All times are GMT. The time now is 03:15 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.01173 seconds
  • Memory Usage 1,750KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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