vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Arrange Sub-Forums in columns (https://vborg.vbsupport.ru/showthread.php?t=82845)

red_baron2000 06-26-2005 10:02 PM

excellent mod sir :)

thank you .

Loki12 07-13-2005 08:20 PM

It seems includes/functions_forumlist.php has changed in Beta 4... could anyone please help update this useful modification? ;)

tamarian 07-13-2005 08:46 PM

Quote:

Originally Posted by Loki12
It seems includes/functions_forumlist.php has changed in Beta 4... could anyone please help update this useful modification? ;)

The file itself has changed, but not the portions involved. Steps 1 and 2 will be the same.

Loki12 07-13-2005 09:05 PM

Quote:

Originally Posted by tamarian
The file itself has changed, but not the portions involved. Steps 1 and 2 will be the same.

I can't find this in the new file:

Quote:

if (!empty($output))
{
$subforum = $splitter["$canpost"] . $subforum;
}
if ($depth < $vbulletin->options['subforumdepth'])
{
$output .= construct_subforum_bit($forumid, $cancontainthreads, $subforum, $depthmark . '--', $depth + 1);
}
}
}

return $output;

}

tamarian 07-13-2005 09:10 PM

Quote:

Originally Posted by Loki12
I can't find this in the new file:

Should be there around line 561

If you're using the editor's search function, try looking for the first line, some times the tabs and white space effect the results for mult-line search.

Loki12 07-13-2005 09:27 PM

Quote:

Originally Posted by tamarian
Should be there around line 561

If you're using the editor's search function, try looking for the first line, some times the tabs and white space effect the results for mult-line search.

Thanks, you're right! :) I edited instead with Wordpad, which worked better.

slank 07-22-2005 02:30 PM

am gonna do this right now, had it for 3.0.7 and loved it, now will try it out on 3.5.4 :) cheers

ConqSoft 07-30-2005 10:18 PM

Very nice. This should definately be in vBulletin as default.

Thanks

Boofo 07-30-2005 10:25 PM

Please make a text file for this so others can download and have it in case of an upgrade or re-install.

And is there any way to set it to how many subforum columns you want? I tried this mod and it looked really bad as I had some long subforum names and it went to 3 columns that were not spaced apart evenly.

ConqSoft 07-30-2005 10:34 PM

To change the number of columns, you should be able to just change this line:

if ($cols==3)

Change it to 2 for 1 column. 3 for 1 columns. 4 for 3 columns. Etc.


All times are GMT. The time now is 09:50 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.03852 seconds
  • Memory Usage 1,734KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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