vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forums arranged in columns on forumhome (https://vborg.vbsupport.ru/showthread.php?t=41529)

Xenon 07-28-2002 08:39 PM

please follow the installinstructions correctly.
The ammount of } is correct in the installfile i posted

i have rechecked it and it's correct, you must have made a mistake

jeffj 07-28-2002 08:47 PM

you are right oh great vb master....

I was about about to delete the post... knee deep in modifying "colforumbit " to have it display number of Posts, Threads plus name & date of last post/poster.

- jeff

Xenon 07-28-2002 09:57 PM

:)

ok have uploaded a new version
changes: you can now set up more than one categorie as a parent of columns

screenshot below (with extra mod-table starts...)

hope you'll like it

Brad 07-28-2002 11:27 PM

Xenon, i would like to make it so categories have a differnt level death template then normal forums, i hope you understand.

basicly i made a new template named forumhome_colbit_level1_nopost

and changed

PHP Code:

}
          eval(
"\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";"); 

to

PHP Code:

}
          eval(
"\$forumbits .= \"".gettemplate("forumhome_colbit_level$depth$tempext")."\";"); 

but that set the colbit template to all forums, can you help me?

Xenon 07-28-2002 11:39 PM

yeah i see the point (i think ;))

change the line
PHP Code:

eval("\$forumbits .= \"".gettemplate("forumhome_colbit_level$depth$tempext")."\";"); 

to this:
PHP Code:

if(strstr(" ".$columnparent." "" ".$forum['forumid']." ")) {
  eval(
"\$forumbits .= \"".gettemplate("forumhome_colbit_level$depth$tempext")."\";");
} else {
  eval(
"\$forumbits .= \"".gettemplate("forumhome_forumbit_level$depth$tempext")."\";");


hope i have understood right what you wanted to do ;)

can you post a screenshot when it works?
i'm intrested what exactly you want to do ;)

Brad 07-28-2002 11:56 PM

Thanks, that did it, ill post a screeny soon. but im in a rush right now so if its not up tonight expect it friday :)

PiZi 07-31-2002 01:24 AM

Nice idea for you, try showing users-favourite forums in columns
a user can pick until 6 favourite forums, and those will be shown coulmned.

or try thinking of showing only forums a user subscribed to

hope those are good ideas.

CRego3D 07-31-2002 01:25 AM

I was lookign for a hack like this, so I installed it, it did not do exacly what I needed so with a little hlp from Firefly and modifying the templates myself this is what I got

http://www.yaxay.com/yack/index.php

(check it out, it is worthed) .. look at the "Gallery"

It's hacked so the on/off images reflect the forum topic (when read the image shows grey)


LOVE IT :D

Smoothie 07-31-2002 06:24 AM

should/could those queries be run separately, or together?

Xenon 07-31-2002 10:38 AM

CRego: looks very good

Smoothie: What do you mean? There are no extra queries in my hack..

@PiZi: Would be possible, but i don't think it's a good idea, design of the board should be a tghing just for admins ;)

the other thing would be a seperat hack, because it has nothing to do with columns in general. Showing just subscribed can be used on a normal board to


All times are GMT. The time now is 07:53 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.01851 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_php_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