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)
-   -   Collapsable forums on forum home (https://vborg.vbsupport.ru/showthread.php?t=33961)

dabean 06-25-2002 03:55 PM

Quote:

Originally posted by Birdie501

What is wrong?

<tr id="f$forum[forumid]z" $fhomeexpandstyle align="center">
<td background="{ imagesfolder }/col_backing.gif" width="5%"><smallfont>&nbsp;</smallfont></td>
<td background="{ imagesfolder }/col_backing.gif" width="65%" align="left"><smallfont color="#EEEEFF"><b>Forum</b></smallfont></td>
<td background="{ imagesfolder }/col_backing.gif"><smallfont color="#EEEEFF"><b>Beitr?ge</b></smallfont></td>
<td background="{ imagesfolder }/col_backing.gif"><smallfont color="#EEEEFF"><b>Themen</b></smallfont></td>
<td background="{ imagesfolder }/col_backing.gif" nowrap><smallfont color="#EEEEFF"><b>Letzter Beitrag</b></smallfont></td></tr>


Your missing a $fhomeexpandstyle in there (highlighted), which um should be in the instructions.

Birdie501 06-25-2002 04:06 PM

aaarrggh, that was it sorry!!!! I read it that much but couldn't find it?
Sorry and thanks for this nice hack!

fixer 06-28-2002 12:14 PM

ok

i have 2 styles

templeats are created in both of them.
it works great in one style while gives (error on page) in the defult style.

dabean 06-29-2002 03:50 PM

Quote:

Originally posted by fixer
ok

i have 2 styles

templeats are created in both of them.
it works great in one style while gives (error on page) in the defult style.

error? a javascript error?

You need to make sure $expandcontractscript appears in your "forumhome" template. Details of where it should be are included in the readme.

fixer 06-29-2002 08:22 PM

yes it is.

i am sure of that.

the $expandcontractscript appears in forumhome template for the both styles at the same place.

dabean 06-30-2002 09:54 PM

Quote:

Originally posted by fixer
yes it is.

i am sure of that.

the $expandcontractscript appears in forumhome template for the both styles at the same place.

hmm the "forumhome_expandjscript" template exists in both styles?

If it does could you supply me a url to your forums or attach the output of your index page.

69-FLy-gUy 07-06-2002 07:49 AM

Ok. I am having a little problem with this hack..

I tried installing it on my forums.. and it doesn't show the + or - sign.... I can manually collapse it from the admin panel... but i can't get the + or - image to show in order to click on it. i am running 2.2.6.. the images are in the images folder...

The only thing i can think of is it may be because i have an image as my category backing.. (kind of like these forums) is there any way i can get this to work?

fixer 07-06-2002 12:19 PM

Quote:

Originally posted by dabean


hmm the "forumhome_expandjscript" template exists in both styles?

If it does could you supply me a url to your forums or attach the output of your index page.


here is the output of my index page.

dabean 07-07-2002 02:17 AM

fixer: your using the javascript contained in "template_option.txt" when you should be using the javascript contained in the main readme :).

69-FLy-gUy: you've modified the "forumhome_forumbit_level1_nopost" template as required? refer to the readme to see what modifications are nessesary. As you'll have altered that line it won't look exactly as shown in the readme.

69-FLy-gUy 07-07-2002 09:08 AM

thanks it worked. sorry for wasting your time.


All times are GMT. The time now is 09:32 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.01300 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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