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)
-   -   Forums arranged in columns on forumhome (https://vborg.vbsupport.ru/showthread.php?t=59958)

M1th 01-11-2004 04:11 AM

very nice Stefan, but you forgot to add 'forumhome_forumbit_columncell' to the global templates in index.php. It doesnt get cached atm. :)

MaDCaT75 01-11-2004 04:11 AM

Now all we need are custom on/off icons for it and then i'll port my custom header bit hack :p

Xenon 01-11-2004 12:55 PM

Quote:

Originally Posted by M1th
very nice Stefan, but you forgot to add 'forumhome_forumbit_columncell' to the global templates in index.php. It doesnt get cached atm. :)

i know, i was just to lazy to write this step into the install file ;)

Defray Prod 01-12-2004 12:26 AM

Thanks very good hack

Cassidy 01-13-2004 06:54 PM

If it doesnt already can we have the latest post underneath the name and maybe a shorter version of the description?

Xenon 01-13-2004 07:50 PM

the last post info is parsed, so you can add it to the template yourself if you want to

for a shorter description find this:
PHP Code:

            if (!$vboptions['showforumdescription'])
            { 
// blank forum description if set to not show
                
$forum['description'] = '';
            } 

and below add:
PHP Code:

                $forum['description'] = substr($forum['description'], 050); 

to just get the first 50 chars of a description

Indy 01-17-2004 11:15 PM

Interesting looking hack! I have one category that has grown and now has 23 forums in it.

Question 1: "Sub-Forums" has been referred too, but by looking at the screen shot it appears that is puts all forums in a category into the column mode. Is this correct or just a forum that has 1 or more sub-forums?

Question 2: If it indeed only works with forums that have sub-forums, can you specify which forum(s) that you want to do this in?

Sorry for the dumb questions, but it's been one of those days. Maybe I'm not seeing the forest for the trees!

Thanks all!
Dan

MindTrix 01-17-2004 11:36 PM

All sections are meerly put into the way it is shown in the screenshot, if these sections have sub sections, i believe you will have to go inside to see them.

As for specifying what forum you want to do this with, the answer is yes :)

Xenon 01-17-2004 11:56 PM

As Mindtrix already posted, you can specify which forums have their subforums ordered in columns.

on that screenshot i entered to show the subforums of my 2 categories to show up in that specific columns, but you can change which one's subforums show up that way.
But note, this just works on Forumhome, on forumdisplay it will show all forums the traditional way.

also i have not tested about how nested forums will look like if you have enabled to display more than two levels on forumhome, maybe it would be worth a try someday :)

MaDCaT75 01-20-2004 05:19 AM

Quote:

Originally Posted by Xenon
@corsacrazy: if you look closer into the construct_column function, you will see, that postcount/threadcount/description is parsed, so you just have to add it to the columncell template and it'll show :)

I really do not understand where to find the construct_column function :confused:


All times are GMT. The time now is 12:20 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.01342 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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