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 |
#272
|
|||
|
|||
Thanks.
I've pretty much followe the instructions to the letter, but no joy on the collapsing. >> http://iafma.org/gm/forums/ Where are the obvious places to look under the hood? Thanks, Herby |
#273
|
|||
|
|||
Quote:
1. No + - icons? 2. The icons exist but groups don't collapse? 3. Collapsed state is not remebered? Solutions 1. Sounds very much like your missing a template check that forumhome_expandcontract exists and that forumhome_forumbit_level1_nopost contains "$expandcontract" 2. Check the template "forumhome_expandjscript" exists and "forumhome" contains $expandcontractscript. 3. Check "updateindex.php" is in your forums directory. I would look at your site but the registration system requiring multiple accounts put me off. |
#274
|
|||
|
|||
1. No + - icons?
All solution steps checked. I've just PMed a temp username/pass Many thanks, Herby Quote:
|
#275
|
|||
|
|||
Quote:
Firstly what PHP version? Secondly does PHP Code:
now does PHP Code:
does PHP Code:
Is getbrowser.php in your admin directory? What is the output of phpinfo.php (included in the vBulletin archive)? If you don't want to post the output of phpinfo then PMing it is fine. |
#276
|
|||
|
|||
Oops!
Running PHP Version 4.0.6 Will get that upgraded and see what happens. Thanks, Herby |
#277
|
|||
|
|||
Quote:
PHP Code:
PHP Code:
|
#278
|
|||
|
|||
Perfect. That did the trick.
I assume that after upgrading to the latest version PHP, I have to reverse the above again? Cheers, Herby PS How can I make the forums collapsed by default? |
#279
|
|||
|
|||
Quote:
Collapsing forums by default can be done in your admin cp by selected "collapsed" for the parent forum. Currently forums can't be collapsed based on usergroups. |
#280
|
|||
|
|||
I was getting the mysql 1054 error when navigating the forums.
Running the following seems to have cured that. ALTER TABLE user ADD forumviewset varchar(250) NOT NULL default ':' However. when setting the "collapsed" option in the parent forum via the CP, I'm getting this... Database error in vBulletin Control Panel 2.2.7: Invalid SQL: UPDATE forum SET styleid='1', title='iAfma.org Manifesto', description='', active='1', displayorder='5', parentid='-1', parentlist='69,-1', allowposting='0', cancontainthreads='0', daysprune='30', newpostemail='forums@iafma.org', newthreademail='forums@iafma.org', moderatenew='1', allowhtml='0', allowbbcode='1', allowimages='0', allowsmilies='1', allowicons='1', styleoverride='0', allowratings='1', countposts='1', moderateattach='1', collapsed='1' WHERE forumid='69' mysql error: Unknown column 'collapsed' in 'field list' mysql error number: 1054 |
#281
|
|||
|
|||
Quote:
You need to run "ALTER TABLE forum ADD collapsed SMALLINT DEFAULT '0' NOT NULL" to add the additional field to the database. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|