The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
This hack adds expansion and contraction support to the forum home page (index.php). The current version of this hack has been tested on vBulletin 2.3.2
Only supported browsers gain the ability to expand and collapse forum groups, non supported browsers do not gain anything, but no errors will be displayed. Each users preference is saved to the database, additionally admins can select which forums are to be collapsed by default.
Note: PHP 4.1.x or 4.2.x is required, PHP 4.0.x is now unsupported. Instructions inside attachment. Updated 4:18 PM 1/12/2002 - Packaged Post, Thread template Addon Updated 7:53 PM 1/11/2002 - corrected installer Updated 4:23 PM 1/11/2002 - Added DB support - Added Per forum Collapsed Pref to admin cp Updated 01/10/02 01:39am. - Fixed missing line. Updated 04/06/02 01:30am. - Version 1.2 - PHP 4.1.x, 4.2.x support with or without register globals off. - Performance tweeked javascript Updated 06/06/02 11:20pm. - Corrected templatecache bug Updated 06/25/02 - Corrected formatting errors in readme Updated 09/01/02 - vB 2.2.7 compatiblity statement, updated readme. Updated 30/08/03 - vB 2.2.x and 2.3.x compatiblity statement, added new automatic testing script. FAQ Q: what exactly is Template_Option.txt? A: Basically that exention was provided as a request to cover sites with the template modification that adds a "header" to each grouping. Q: How do I show a forum depth greater than 2? A: Open vB Admin cp set forum depth to your required level. Then create the additional templates. For template examples see https://vborg.vbsupport.ru/showthrea...465#post250465 Q: Can sub-forums be collapsed? A: Yes. See the above answer for example templates. Q: XYZ doesn't work help. A: Check that all the template changes required have been made, 99% of problems are due to incorrect template alteration. Also use the cx_test.php to automatically check your installation! Show Your Support
|
Comments |
#72
|
|||
|
|||
That did it! Very cool and I (we) really appreciate your quick support on this!
|
#73
|
|||
|
|||
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 |
#74
|
|||
|
|||
Quote:
forumhome_expandcontract exists and that forumhome_forumbit_level1_nopost contains "$expandcontract" Hack has been repackaged to include optional addon. |
#75
|
||||
|
||||
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 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? |
#76
|
||||
|
||||
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. |
#77
|
||||
|
||||
this hack is a little corrupt, I was getting erros on the top saying stuff so I uninstalled the hack
|
#78
|
||||
|
||||
I think I'm with you, Shenlong. I had to uninstall so I could reopen the site. :s
|
#79
|
|||
|
|||
Follow the instructions, it works. Check it out at www.sirstevesguide.com/vbportal/forums
|
#80
|
||||
|
||||
Quote:
As far as I know, I did follow the instructions, and rechecked them twice. |
#81
|
|||
|
|||
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) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|