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)

SirSteve 01-12-2002 04:24 AM

That did it! Very cool and I (we) really appreciate your quick support on this!

:D

net ba 01-12-2002 10:35 AM

The + and - images don't show up so I can't expand or contract it. I know its working though because when I set a forum to be contracted on Admin CP it contracted, I just couldn't open it manually. I am running windows 98 Second Edition and using version 5.50 of MSIE.

net.ba

dabean 01-12-2002 02:09 PM

Quote:

Originally posted by net ba
The + and - images don't show up so I can't expand or contract it. I know its working though because when I set a forum to be contracted on Admin CP it contracted, I just couldn't open it manually. I am running windows 98 Second Edition and using version 5.50 of MSIE.

net.ba

sounds very much like your missing a template check that
forumhome_expandcontract exists and that
forumhome_forumbit_level1_nopost contains "$expandcontract"


Hack has been repackaged to include optional addon.

Rose 01-12-2002 04:56 PM

I'm getting a couple errors with this. :(

The first is in the cx_install - I looked and this looks slightly different from the error reported earlier.
Code:

Warning: Cannot add header information - headers already sent by (output started at /home/simpson/public_html/admin/cx_install.php:1) in /home/simpson/public_html/admin/functions.php on line 1498
ALTER TABLE forum ADD collapsed SMALLINT DEFAULT '0' NOT NULL ALTER TABLE user ADD forumviewset varchar(250) NOT NULL default ':'



And the second is on my forum home page I get:
Code:

Warning: Cannot add header information - headers already sent by (output started at /home/simpson/public_html/admin/getbrowser.php:57) in /home/simpson/public_html/admin/functions.php on line 1498
This is right above my header banner. :( I haven't messed with the functions.php.


Line 57 of the getbrowser.php is blank, so I deleted it leaving the "?>" as the last line. Reuploaded and reran the cx_install. But still errors. :(

Any help?

Rose 01-12-2002 04:58 PM

Now I'm getting a database error. :(Database error in vBulletin Control Panel 2.2.1:
______________
Invalid SQL: ALTER TABLE forum ADD collapsed SMALLINT DEFAULT '0' NOT NULL
mysql error: Duplicate column name 'collapsed'

mysql error number: 1060

Date: Saturday 12th of January 2002 01:59:01 PM
Script: http://www.simpsonsboard.com/~simpso...all.php?step=2
Referer:
______________

I have the little icons next to the forum descriptions, and if I click on 'expand' the 'collapse' button will appear, but nothing changes other than the picture.

Shenlong 01-12-2002 05:04 PM

this hack is a little corrupt, I was getting erros on the top saying stuff so I uninstalled the hack

Rose 01-12-2002 05:45 PM

I think I'm with you, Shenlong. I had to uninstall so I could reopen the site. :s

SirSteve 01-12-2002 06:05 PM

Follow the instructions, it works. Check it out at www.sirstevesguide.com/vbportal/forums

Rose 01-12-2002 07:14 PM

Quote:

Originally posted by SirSteve
Follow the instructions, it works. Check it out at www.sirstevesguide.com/vbportal/forums

As far as I know, I did follow the instructions, and rechecked them twice. :)

dabean 01-12-2002 08:14 PM

The installation script makes all the important changes on its first run... rerunning it will throw a error. That is not important however, the error mysql error: Duplicate column name 'collapsed' does show that the installer worked.

Now as for the collapse not working check that the javascript contained in "forumhome_expandjscript" has been added to the page and that forumhome_level2_post does contain
<tr id="f$forum[parentid]z$z" $fhomeexpandstyle align="center">
and yes there should be two 'z''s (only in v1.11)


All times are GMT. The time now is 01:07 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.01235 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_code_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