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)

Rich 08-04-2005 08:34 PM

Hello,

Is it possible for us to make the <td> larger than what it is? I have 2 rows set, but it is cutting some of the names and starting a new line. I would prefer it didn't do that. How can this be modified so that it will allow larger forum names?

tamarian 08-04-2005 09:00 PM

You can try a nowrap attribute.

Find this:

PHP Code:

$output .= '<td width="50%">' construct_subforum_bit($forumid$cancontainthreads$subforum$depthmark '--'$depth 1) . "</td>"

Replace with:


PHP Code:

$output .= '<td width="50%" noWrap>' construct_subforum_bit($forumid$cancontainthreads$subforum$depthmark '--'$depth 1) . "</td>"


Rich 08-04-2005 09:03 PM

Hello,

I new it was a simple edit. Thanks, it worked like a charm.

Boofo 08-04-2005 09:36 PM

Again, please make a text file for this. ;)

tamarian 08-05-2005 04:42 PM

Quote:

Originally Posted by Boofo
Again, please make a text file for this. ;)

I thought there was one alread :)

Rich 08-05-2005 06:21 PM

Hello,

Not sure if that was a joke or not, so I figured I would respond. When i downloaded it, there wasn't anything that informed to use a "noWrap" function. (I was over-thinking this to the extreme and was looking for a way to set widths. lol)

tamarian 08-05-2005 08:31 PM

Quote:

Originally Posted by iguanairs
Not sure if that was a joke or not, so I figured I would respond. When i downloaded it, there wasn't anything that informed to use a "noWrap" function. (I was over-thinking this to the extreme and was looking for a way to set widths. lol)

I think many are better off without the noWrap attribute, and it's only useful to those really need it. I don't use it, since it allows members with lower resolution to still be able to view the entire page without scrolling sideways.

Brinnie 08-10-2005 08:07 AM

Hey, was there a plug in for this?

I thought I saw another version of this, but I may be wrong.

Not that I'm implying anything, I'm just trying to figure out if there's another one, so I can make a choice.

Brinnie 08-10-2005 08:22 AM

Quote:

To install, edit the file includes/functions_forumlist.php

1. Find

PHP Code:
foreach($vbulletin->iforumcache["$parentid"] AS $forumid)
Yea, dude...
I have 2 instances of that exact code.

Replace them both?!?!?

Brinnie 08-10-2005 09:12 AM

Hi,

I applied this hack to RC2 and came out with this:

I don't know if it has anything to do with haveing multiple instnaces of that code or not, but I only replaced the first one. :)


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.01171 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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