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 05-13-2002 03:44 PM

Khepri, the forumhome_forumbit_level2_nopost template needs to be modified.

so the first line reads
PHP Code:

<tr id="f$forum[parentid]z$z$fhomeexpandstyle class="cat"

then the forumhome_forumbit_level2_post template needs to be modified to remove the <smallfont>? before $expandcontract

As a example of what happens once said afterations are made, I've grep'd your index page and attached pre modified version to compare against.

Khepri 05-13-2002 10:47 PM

Thanks a TON!!!

They work GREAT!

Khepri

VirtueTech 05-14-2002 05:18 AM

I'm having some problems with this hack on 2.2.5 saving the preferences of a user. It does not write to the "forumviewset" field.

I have read through the readme and this thread looking for answer and I reinstalled. I have updateindex.php in my forums directory, and the other two files in my admin directory. I also made the changes for the Template_options.php

Any ideas?

dabean 05-15-2002 01:30 AM

Quote:

Originally posted by VirtueTech
I'm having some problems with this hack on 2.2.5 saving the preferences of a user. It does not write to the "forumviewset" field.

I have read through the readme and this thread looking for answer and I reinstalled. I have updateindex.php in my forums directory, and the other two files in my admin directory. I also made the changes for the Template_options.php

Any ideas?

Hmm, sounds like the installation is good.

Out of interest what happens when you manually collapse a forum by using the url:

updateindex.php?fid=<forumid>&val=1

CdaKnight 05-15-2002 01:38 AM

I'm having problems getting mine to collapse. I hit the minus, and it doesn't close, Then I notice the javascript error go off in the corner.

the address is: http://forums.yosc.net/index.php

I installed it to the readme, and I updated/added the templates. And where do I add the stuff in the "Template_Options.txt" file go?

Thanks,
CDknight

dabean 05-15-2002 01:55 AM

Quote:

Originally posted by CdaKnight
I'm having problems getting mine to collapse. I hit the minus, and it doesn't close, Then I notice the javascript error go off in the corner.

the address is: http://forums.yosc.net/index.php

I installed it to the readme, and I updated/added the templates. And where do I add the stuff in the "Template_Options.txt" file go?

Thanks,
CDknight

Regarding the template_option, if you don't know what it is then you don't need it. It is provided strictly as option to collapse forums with a heavly modified style.

Moving on to the javascript error, you are not including the required javascript onto the page and acordingly need to modify the forumhome template to include $expandcontractscript. That is if the forumhome_expandjscript template is present. Both of which are discribed in the readme.

VirtueTech 05-15-2002 03:43 PM

Quote:

Originally posted by dabean

Hmm, sounds like the installation is good.

Out of interest what happens when you manually collapse a forum by using the url:

updateindex.php?fid=<forumid>&val=1

I get a blank screen. Seems like it worked.

My "forumviewset" is still set to the default " : " for my userid after I ran updateindex.php

I'm a bit confused here.

dabean 05-15-2002 09:08 PM

Quote:

Originally posted by VirtueTech


I get a blank screen. Seems like it worked.

My "forumviewset" is still set to the default " : " for my userid after I ran updateindex.php

I'm a bit confused here.

Okay, that explains things nicely.

The blank page you recieved means the file was unable to include one of its required files. For this getforumview.php needs to be in the admin directory eg ./admin/getforumview.php.

VirtueTech 05-15-2002 10:16 PM

Quote:

Originally posted by dabean


Okay, that explains things nicely.

The blank page you recieved means the file was unable to include one of its required files. For this getforumview.php needs to be in the admin directory eg ./admin/getforumview.php.

Sadly ... I have both "getforumview.php" and "getbrowser.php" in the /admin directory.

dabean 05-15-2002 11:36 PM

Quote:

Originally posted by VirtueTech


Sadly ... I have both "getforumview.php" and "getbrowser.php" in the /admin directory.

Hmm, find attached a debugging version of updateindex which will echo its output as it goes along. Please tell me the point at which it stops. To use this version remove the .test from the filename and replace the version of updateindex contained in the forum root, and then reattempt to manually collapse a forum as described in the post a further back.


All times are GMT. The time now is 02:29 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.01448 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (6)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