vb.org Archive

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

Thomas P 12-29-2009 10:34 AM

Quote:

Originally Posted by Sorky (Post 1941157)
Strange - I have previously done just that and cleaned up anything I saw - maybe a variation in options shows up an issue - can you PM me a link to look at or email me the html produced (turn on the debug option)

Thanks, awesome
Quote:

Originally Posted by Sorky (Post 1941157)
NO SQL at all. Just extra php code to adjust the information provided - amount of code it executes depends on the options you choose. See above answer ;-)

Ok, fair enough for me :)

Sorky 01-02-2010 10:53 AM

Quote:

Originally Posted by Thomas P (Post 1941399)
Thanks, awesome :)

Bit of a delay - holiday season and all ;-)

I had a look at your main & test boards and there is a variation in content, and the first validation error is in the content, not in due to my PlugIn - Would be a good idea for you to do a validation with my PlugIn uninstalled (or simply disabled) and then enable it and re-validate.

The next error look like an old rule violation (that actually worked) that I fixed a long time ago - what version of my PlugIn did you install? Make sure it is the latest, turn the debug option on and I will then take another look.

Thomas P 01-02-2010 03:58 PM

Thanks, ok.

I will send you PN as soon as we've installed your PlugIn. We use v1.8.0.

Thomas P 01-04-2010 06:42 AM

Ok, it's installed.

We had to change the following (last) line in the Plugin Sorky03 - SubForum List Control - forumbit_display
PHP Code:

    // If the SubForums can be collapsed (ShowOrHide) then set the HTML that is inserted in the parse_templates section
    // ----------------------------------------------------------------------------------------------------------------
    
if ($Sorky03_SubForumsExist = ($Sorky03_SubForumListText != ''))
    {
        
// Starts the ShowOrHide div
        // -------------------------
        
$Sorky03_SubForumShowOrHideStart_HTML .= "\r\n" '<!-- Sorky03 - vvvvv -->';
        
$Sorky03_SubForumShowOrHideStart_HTML .= "\r\n" '<div id="Sorky03_ShowOrHide_div_' $forumid '">';

        
// Finish the ShowOrHide div
        // -------------------------
//Comment here        $Sorky03_SubForumShowOrHideFinish_HTML .= "\r\n</div>";
        
$Sorky03_SubForumShowOrHideFinish_HTML .= "\r\n"

Since we don't use collapsible subforums the extra </div> caused many validation errors

Thanks, your AddOn works great.

linuxututs 01-08-2010 06:05 AM

Quote:

Originally Posted by Sorky (Post 1922765)
I do intend to.

Upgrading:

Thank you so much !
I need this like BAD Sorky.
I've created about 1,600 forums, and There'll just about ALL sub-forums.

Bless You,

Thanks,

Sorky 01-10-2010 04:07 AM

Quote:

Originally Posted by Thomas P (Post 1946676)
We had to change the following (last) line in the Plugin

Now that you have pointed it out, I remember noticing that my PlugIns subforum table start mark was not in your original page source and therefore the start div would have been omitted as well! Your solution of removing the ending div works by virtue of the fact that the start was not inserted, but it doesn't really solve the problem safely. The most likely cause for the start div not being inserted is a manual edit of the templates or using a style that is not fully compatible [I mention this in the release notes]. I'd be interested in hearing which it was for you.

My plugin inserts the start div where the <strong>$vbphrase[subforums]</strong>: is in these templates:
  • forumhome_forumbit_level1_nopost
  • forumhome_forumbit_level1_post
  • forumhome_forumbit_level2_nopost
  • forumhome_forumbit_level2_post

To go back to using an unedited version of my PlugIn you can either (a) revert the templates to their original or (b) insert <strong>$vbphrase[subforums]</strong>: into the mentioned templates just before the $forum[subforums] // Don't worry as my PlugIn has an option to then edit/remove it!

joe1989 01-10-2010 05:23 AM

I really like this modification, so I tagged it. I will download and install it when I know if this is compatible with vB 4.0 -- can you update it for compatibility?

Thanks!

Thomas P 01-11-2010 05:24 AM

@Sorky: I agree, it definetely could be our style. I'll check - thanks.

Sorky 01-14-2010 12:20 PM

New update available for 4.0.x (WILL NOT WORK WITH ANY 3.x version of vBulletin)

No changes to the current version for those still on 3.8.x - just letting those wanting it on 4.0.x know I have migrated it across.

The current version (this thread) is for 3.8.x and also works for 3.7.x and 3.6.x

Alfa1 01-23-2010 04:33 PM

Quote:

Originally Posted by Alfa1 (Post 1800414)
Please add the function to display sub-forum moderators.

Has this functionality been added since then? If not, then could you please add it? I really need this.


All times are GMT. The time now is 07: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.01363 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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