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 |
#192
|
|||
|
|||
Quote:
I installed the new getforumview.php and it is still showing the forumhome tables expanded. |
#193
|
|||
|
|||
Now this may be a bit unreadable because the code is in beta but here is one of the forumhome tables...keep in mind I am using the Template_options. hack too that adds the "Forum...Posts...Thread...Last Post" to each main section.
PHP Code:
|
#194
|
|||
|
|||
The html looks roughly correct.
When you look at the raw user table in say phpmyadmin does the "forumviewset" column for your? userid have a entry like "57|1:" if it doesn't please try this debugging version of getforumview.php which will output details to help in cureing this bug. |
#195
|
|||
|
|||
The numbers in "forumviewset" look like this: 59|:192|:
I ran the debugging getforumview.php and ran updateindex.php manually and it output this: 65Array ( [59] => [192] => ) done However, it did not set any value to "forumviewset" so now it is blank. |
#196
|
|||
|
|||
I'm having similar problems to Virtuetech on my board at http://www.shadowedsoul.com/forums.
The interesting thing to me is the hack works perfectly after following along with all the updates to files you've given as of now for 4.2.0 installs when Im not logged in. As soon as I log in I start getting page errors like this when I try to expand or contract. Line: 563 Char: 1 Error: Object expected Code: 0 URL: http://www.shadowedsoul.com/forums/index.php?s=<sessionID> When I manually call /updateindex.php?fid=6&val=0 and /updateindex.php?fid=6&val=1 the hack works properly, it just doesnt work when Im trying to click my expand and contract buttons. |
#197
|
||||
|
||||
It didn't work for me...
Can you supply me with the mysql code that will undo the changes that were made to the database with the cx_install.php file? |
#198
|
|||
|
|||
Quote:
I am aware of some problems still lingering with this hack and php 4.2.x so will be releasing a new version of the complete hack by the end of the week to correct these issues. Henry-RS: The SQL is ALTER TABLE forum DROP collapsed ALTER TABLE user DROP forumviewset |
#199
|
|||
|
|||
Thanks Dabean....I'll be anxiously awaiting your next post
|
#200
|
|||
|
|||
Quote:
EDIT: Figured out my problem. I slipped up and put my code above the } in the PHP Code:
|
#201
|
|||
|
|||
Updated the zip to include PHP 4.1.x and 4.2.x support.
Also tested this new version on vb2.2.6. This hack can now safely be used with register globals turned off and has been tested accordingly. To update from a older version just upload the new files. updateindex.php, getbrowser.php and getforumview.php. There is no need to re-run the installer, however the installer can now remove the database changes. Test configurations where - Apache 1.3.23 + PHP 4.2.0 (freebsd) - Apache 1.3.17 + PHP 4.1.1 (redhat7) - IIS5.1 + PHP 4.2.1 (winxp) |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|