Version: 1.00, by dabean
Developer Last Online: Dec 2003
Version: 2.2.x
Rating:
Released: 01-08-2002
Last Update: Never
Installs: 122
No support by the author.
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.
Browsers supported
Netscape6+/Mozilla0.6+
MS IE5+
Konqueror
Opera 7 support is included
Browsers unsupported
MS IE4 or earlier
Netscape 4 or earlier
Opera (version 6 and earlier)
Note: PHP 4.1.x or 4.2.x is required, PHP 4.0.x is now unsupported.
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
This modification may not be copied, reproduced or published elsewhere without author's permission.
ALTER TABLE forum ADD collapsed SMALLINT DEFAULT '0' NOT NULL
ALTER TABLE user ADD forumviewset varchar(250) NOT NULL default ':'
MySQL said: You have an error in your SQL syntax near 'ALTER TABLE user ADD forumviewset varchar(250) NOT NULL default ':'' at line 2
The automated file thing cX_install.php doesnt work...
Originally posted by globalwin I get this error when inserting it into the db..
SQL-query: [Edit]
ALTER TABLE forum ADD collapsed SMALLINT DEFAULT '0' NOT NULL
ALTER TABLE user ADD forumviewset varchar(250) NOT NULL default ':'
MySQL said: You have an error in your SQL syntax near 'ALTER TABLE user ADD forumviewset varchar(250) NOT NULL default ':'' at line 2
The automated file thing cX_install.php doesnt work...
The error you've posted looks suspiciously like a phpmyadmin error message, so what is wrong with cx_install.php?
As stated in the readme you can either manually change the database or use cx_install to do it for you.
As for the error you've reported you need to put a semi-colon at the end of the first line.
Working great on 2.2.6. I did notice though in the install guide it mentioned 'add the bits in red', but there were no red bits. Maybe it's just me though.
it works for me. But if i contract the forums in one category only the category is shown. That is ok, but if i reload the page it is still contracted but now there are also the headlines like Forum, Date, Posts, etc... under the category.?
If i expand it and contract it again it is without that headlines?
installed it, works fine, but what does this mean?
now
find the template you added the the Forum Posts Threads Last Post Moderator repeats per forum to and alter
<tr align="center">
<td bgcolor="
to read
<tr id="f$forum[forumid]z" align="center">
<td bgcolor="
which template???
That instruction is contained in the "template_option" file which is only to be used when you've modified the display to repeat the "forum, posts... etc" header for each group of forums. Now depending on how you've done that modification the template will be either forumhome_forumbit_level1_nopost or forumhome_forumbit_level2_nopost. If you are not using a template mod to repeat the header carrying out the instructions in template_option WILL stop the hack from working correctly.
What is wrong?
As i said before: if i ctract it, it is ok and i can only see the category!
but if i reload the page you see the category and this part: