![]() |
Quote:
Quote:
Next, up have you uploaded getforumview.php to your admin directory. If you have then open updateindex.php?fid=<forumid>&val=1 - you should see the word "done" appear - no results a file isn't uploaded (reread the instructions) - error means your not a logged in user. |
Quote:
When ever i view forum and changed expand contract my setting are never remembered? |
Quote:
|
|
Quote:
|
There's no way of making this compatible with Opera, is there... just wondering.
|
Quote:
|
Quote:
after chaging forum expand state it changed to 1|1:4|1:9|2: after freshing page and or going into forum and retuning to main forum page, changing expand state it stayed the same, and forum catagory expand state always returns to default setting My admin account stayed the same at 1|2:9|1:20|1:13|1:<forumid>|1:4|1: It seems to enter 1st data but does remeber it or replace it? thanks for help |
Is there a way to make a link where when it is clicked ALL forums are expanded or contracted?
|
Quote:
My gut feeling is that another hack is somehow conflicting with this one. To test this theory I've attached modified version a one file which would cure such a problem. This file is direct replacement for the existing one in the zip file. Quote:
|
Quote:
works a treat :) many thanks |
Instead of contracting all the forums to just the category titles, it would be cool if you could also contract to just the category + forum titles (so without the forum descriptions, and maybe the moderators)
I think the forum descriptions are only needed for new visitors. Once you are a regular visitor to a board, you don't really read the forum descriptions anymore, thus they take up a lot of space, which forces the (lazy) user to scroll more :). What do you think? It would be a cool addition to this hack IMHO. |
Quote:
template: forumhome_expandcontract PHP Code:
PHP Code:
|
I have been playing about with adding sub catagories to some of my forum catagories, however this does not work with this hack.
Sub catagory does not collapse with main catagory and the forums in the sub catagory do not have collapse contact options. If you understand what i am talking about, is it possible to acheive this? cheers |
Quote:
Qouting from it.. 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/show...0465#post250465 Q: Can sub-forums be collapsed? A: Yes. See the above answer for example templates. |
cheers, i will give it a go
|
PHP Code:
|
can someone help???
|
Quote:
To fix the error you need to look at what is wrong with line(s) mentioned, which in these cases are lines 435 and 4? The PHP interpreter is trying to help you fix this by telling you what it expected to find ( '] ). The problem and the solution is unique to your index.php, I would assume due to mispasting from the readme. If you don't know what you did wrong or can't find the problem then you need to revert index.php (just index.php not the db) to the backup version you should have taken before attempting to make the modifications required by this hack. Then re-add the changes this hack requires. When the readme is followed to the letter this hack will and does work "out of the box" so to speak. |
i uninstalled and reinstalled it 3 times, i couldnt have messed up 3 times
|
i just tried again, i even replaced my index.php with the original file and it still shows the error
|
MY FORUMS HAVE BEEN CURRUPTED AHHHHHHHHHHHHHHHH
i unistalled every step, took out and unedited template, took out the tables, unedited the file AND IT STILL SHOWS THE ERROR!!! |
Quote:
Paste the contents of the line(s) mentioned in the error message. If as a suspect the line is some like eval("\$blahblah = \"".gettemplate('sometemplate')."\";"); Paste the contents of the template named too. And do you still get a parse error when using the default stock index.php supplied with vB? |
error
PHP Code:
PHP Code:
PHP Code:
|
Quote:
"forumhome_forumbit_level1_nopost", "forumhome_forumbit_level2_post" & "forumhome_forumbit_level2_nopost" |
forumhome_forumbit_level1_nopost
PHP Code:
forumhome_forumbit_level2_post PHP Code:
PHP Code:
|
o wait, there was a space between a variable in the template, THANK YOU SO MUCH FOR POINTING THAT OUT!!!!
I LOVE YOU :banana: |
<snipped> figured out the error I see.
|
Hello,
Anyone installed this on 2.2.7? I've tried and it does not seem to work. No errors. The forum display just remains as is. The only thing I can see that might be the problem is that global $bbforumview; is no longer in the index.php for 2.2.7 Hence, will these lines below that still be there, as per the hack instuctions? // expand collapse hack global $BrowserDOM, $collapsedstate; // end expand collapse hack Thanks in advance. Herby |
Quote:
PHP Code:
If your not sure what I mean by this then the readme's inside the zip have been updated to reflect 2.2.7. |
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 |
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. |
1. No + - icons?
All solution steps checked. I've just PMed a temp username/pass Many thanks, Herby Quote:
|
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. |
Oops!
Running PHP Version 4.0.6 Will get that upgraded and see what happens. Thanks, Herby |
Quote:
PHP Code:
PHP Code:
|
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? |
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. |
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 |
Quote:
You need to run "ALTER TABLE forum ADD collapsed SMALLINT DEFAULT '0' NOT NULL" to add the additional field to the database. |
All times are GMT. The time now is 05:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|