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.
Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayorder,parentid,
parentlist,allowposting,cancontainthreads,daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allowsmilies,allowicons,
styleoverride,allowratings,countposts,moderateattach)
VALUES
(NULL,'1','test','','1','1','-1',
'','1','1','30','','',
'0','1','1','1','1','1',
'0','1','1','0','')
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
thats the error i get, This hack didnt work at all for me, i get that error when i try to add another forum.
This all started when i went thru with the altering templates, the index and /admin/forum.php files to what the readme said then i went to run the installer, it wouldnt do anything just kinda look, id lick install and it would just sit there, id click uninstall and it would just sti there so i added the install stuff manually thu phpmyadmin.
I uninstalled everything and I still cant add forums, any thoughts would be nice thanks
Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayorder,parentid,
parentlist,allowposting,cancontainthreads,daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allowsmilies,allowicons,
styleoverride,allowratings,countposts,moderateattach)
VALUES
(NULL,'1','test','','1','1','-1',
'','1','1','30','','',
'0','1','1','1','1','1',
'0','1','1','0','')
mysql error: Column count doesn't match value count at row 1
mysql error number: 1136
thats the error i get, This hack didnt work at all for me, i get that error when i try to add another forum.
This all started when i went thru with the altering templates, the index and /admin/forum.php files to what the readme said then i went to run the installer, it wouldnt do anything just kinda look, id lick install and it would just sit there, id click uninstall and it would just sti there so i added the install stuff manually thu phpmyadmin.
I uninstalled everything and I still cant add forums, any thoughts would be nice thanks
Assuming you are after uninstallation, then the colum count in that query doesn't match you need to remove the last entry, which will read " ,'$collapsed' " in fact the whole before and after for that line is in the readme. Now coming on to the installer which/what version of php are you using and could you clarrify "just sit there"? does it not progress past the first step?
I have vb 2.2.6 and when i searched for if ($forum['cancontainthreads']==1) {
$tempext = '_post';
} else {
$tempext = '_nopost';
} It wasn't found in index.php
sorry, i click on it, it says at the bottom going to step 2, but doesnt do anything. I had to manually enter the sql data, and ive removed them too. The same thing happens when i go to uninstall it.
Thanks
Originally posted by Graphics
I have vb 2.2.6 and when i searched for if ($forum['cancontainthreads']==1) {
$tempext = '_post';
} else {
$tempext = '_nopost';
} It wasn't found in index.php
Assuming your index.php is unmodified lines 305 to 309 will contain those lines.
Quote:
Originally posted by Timmmmmy
sorry, i click on it, it says at the bottom going to step 2, but doesnt do anything. I had to manually enter the sql data, and ive removed them too. The same thing happens when i go to uninstall it.
Thanks
Installer and the hack will fail to work correctly on php older than 4.0.x, PHP 4.1.x or 4.2.x is required for succesful installation.