vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Arrange Sub-Forums in columns (https://vborg.vbsupport.ru/showthread.php?t=63498)

tamarian 05-04-2004 11:37 PM

Quote:

Originally Posted by ph03nIX
Hi!
What could be the reason for this? It had never had a problem before finding code that was there. Has the code changed or something?

What version of vB are you using?

Smike 05-05-2004 07:37 AM

Great hack ! thx

Erwin 05-11-2004 11:45 AM

No need any template changes for smallfont. :)

In functions_forumlist.php, in the code you added, replace:

PHP Code:

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

with

PHP Code:

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

You basically put the <span class=smallfont> </span> in the php file rather than the template. Why not? You've put the <td> tags there already. This way, you don't have to modify the template.

GamerJunk.net 05-23-2004 11:17 PM

How would I stop this from doing it to certain forums?

what would the coding be? I want it for all my forums except ID46 because that forum is going to have over 100 sub forums lol

tamarian 05-25-2004 03:04 AM

Quote:

Originally Posted by RasMasta
How would I stop this from doing it to certain forums?

what would the coding be? I want it for all my forums except ID46 because that forum is going to have over 100 sub forums lol

Should be easy to do with a hard coded if statement just berfore the subforum stuff.

Post in the request forum, and I (or anyone else is welcome) can take a crack at it. I just don't to confuse others at to which code to use :)

Michael2 05-25-2004 09:28 PM

Installed, thanks! I do have one question...

Rather than having the sub-forums in two columns, how can I have them all in the same column? Something like this...

http://www.veggieboards.com/exchange/cats.gif

tamarian 05-25-2004 09:40 PM

Quote:

Originally Posted by Michael2
Installed, thanks! I do have one question...

Rather than having the sub-forums in two columns, how can I have them all in the same column? Something like this...

http://www.veggieboards.com/exchange/cats.gif

That should be easy, and you don't even need this hack to do it :) Just use <br \> as a seperator instead of a comma.

That would be in the "forumhome_subforumseparator_" templates.

jcr 05-25-2004 10:56 PM

Thank you for a great hack btw!!

Now i just have one simple questions, how can I remove the header like you have done on the demo site?

See screenshot

( for some reason I cannot upload gif files to this forum btw )

tamarian 05-25-2004 11:03 PM

Quote:

Originally Posted by jcr
Thank you for a great hack btw!!


Now i just have one simple questions, how can I remove the header like you have done on the demo site?

See screenshot

( for some reason I cannot upload gif files to this forum btw )


https://vborg.vbsupport.ru/showpost....3&postcount=38

:)

jcr 05-25-2004 11:18 PM

Quote:

Originally Posted by tamarian

Thank you! :D , this was exactly what i was looking for! *installed*


All times are GMT. The time now is 02:36 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.01178 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)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