![]() |
Ok maybe I'm on crack here but I've followed everything to the letter within the 3b release at the start of those thread, and I get 1 of 2 errors depending on what I do with the jscript file.
1) if I use the one in the readme, when y ou hit + or - nothing happens. I see it zoom by with its call to the updatethread file but notta. This occurs on two different machine though both use IE6+ with XP. 2) if I use the one that adds the document.getElementById('f'+itemID+'z').style.visi bility="visible"; line (in the template_options file included with the archive) then I get an error line 72 when I contract (object required) and at line 98 when I expand (object required). For the life of me I can't see the error so maybe you've run into it and I have yet to see this question asked in this thread which it may have but I have missed it :D Anyways thanks for any help. Site = http://forums.endlessfantasy.com |
Works like a charm
|
Master Ares, for you forum setup you need to use the version in the read me and upon visiting your site it was obvious to me that your forumhome_level2_post template had not been altered to include... id="f$forum[parentid]z$z" $fhomeexpandstyle (hint <tr align="center"> where to put those bits is discribed in the readme. Additionally you need make that modification to the forumhome_level2_nopost template because you have level2 forums that don't contain posts.
|
Hah I knew I missed something:-) Thanks muchly
Works perfectly now:-) Thanks again. I put the changes in the forumbit not forumhome section:-P |
Master Ares, easy enough mistake to make. ;)
|
Cool hack! Works like a charm! Easy to make mistakes with this one - follow the instructions CAREFULLY! :)
|
It seems to work here, but unless I've botched the install, I may have found a bug.
Lets say I go to the forums home page, and close all the sections but 2 of them. That seems to have worked fine - it remembers it, even when I revisit the site. However, if I open up a new section, then visit one of the forums inside of that section, then reload the forums home page, only my original sections are left open (i..e the 3rd one is still closed). Any ideas? |
Another update. I've closed all the sections, then reloaded, and they are still closed. I open one, reload, they are all still closed.
|
incursio, does it remeber setting for any section you open after collapsing it?
as a test try http://<yourforums>/updateindex.php?fid=<categoryid>&val=0 where categoryid is a forum you have collapsed. That should expand the the forum. |
I just can say:
Guys... THIS HACK WORKS GREAT!!! Thank you so much dabean for coding it and for your GREAT support!! Greetings StarBuG |
Yup, it works great for me too!
5 Stars |
Quote:
However, the problem is still there. Take a look: http://www.wetcanvas.com/forums |
Great hack!
Thanks. |
Quote:
Change } dostatesaveXP(itemID,1); } to dostatesaveXP(itemID,1); } } This problem was cured in later releases. |
Possible enhancement?
What about adding an option into the user's cp so they can pre-define which categories to collapse by default? I really don't know how to code it and I appreciate the current capabilities - but due to the lack of IE to save the settings this would be a great option! |
|
Quote:
Upload getforumview.php to your admin directory Once you've done that it will work.. as there is nothing syntatically wrong the code. |
Hehe, I did, I did. Theres no error coming up, just the image isnt coming up, here is my templates too:
forumhome_expandjscript forumhome_expandcontract |
Quote:
|
aye aye matey! I have, images just wont show up, I will reupload and try again, I got all the files saved in a folder, and didn't even re-edit the templates to switch them back to normal
wait, i was supossed to edit forumhome_lvl_one_post? the instructions only say nopost |
just for the record:
forumhome_forumbit_level1_nopost: PHP Code:
PHP Code:
|
level1_post should only be edited if you don't have parent forums as categories, which generally seems a rare configuration.
|
NM i misunderstood, anyway, i guess this hack just wont work with 2.2.1, thanx for ur help anyway
|
This hack will and does work with vb 2.2.1.
|
apparently not for me
I gave u links to everyone of my files, posted my edited templates here, and if u looked through them and approved, not much more I can do to fix |
Shenlong : try this attached style, upload it as a NEW style and change your style to use it. Do not upload it on top of your existing style(s) as it will overwrite them.
|
what shall I name it?
|
Quote:
|
Quote:
Just a little annoying though that settings are not saved for users - that's why I asked for the enhancement on the previous page. Dabean, any comment on this? |
Quote:
|
Quote:
have you uploaded updateindex.php to your forums directory? When i visited your site I received a 404 page not found when requesting that file, suggesting it has not been uploaded. Shenlong: The name that you give the provided style set is not important what is important is that when you view your site via the the provided style the collapse/expand buttons should appear. |
I feel like a little dumbass...
I uploaded it to the admin dir.... Now it's working, thx a lot ;) |
I installed the hack and works the way it was written for. Great job!
It would be very usefull if users could edit their user settings so that the forums status are remembered: 1- select if all the forums should be collapsed or expanded 2- select the categories they want collapsed or expanded 3- choose to use the default settings defined by the admin or not... Since only the settings defined by the Admin for the default collapse/expand status of categories are remembered it would be nice if the users could edit their settings that way changes are remembered. Since changes arent remembered on the fly it would be a good way around the problem it seems. |
Quote:
Item 2. how is this different to the current behaviour? Item 3. ditto. Both item 2 and 3 should be satisfied by hack as it exists currently when correctly installed. Common installation errors are: - updateindex.php not being uploaded to the forum directory. - old version of the forumhome_expandjscript template.. not 100% sure why people are still having problems with this as the current zip contains a working version of the template. |
I was talking about the Users them selves and not only the Admin of the board. ;)
I mean have the members edit their options and be able to use the settings the Admin selected by default or just not to use it at all if they dont want to. And also have the members be able to select what category they want collapsed or expanded like the Admin but in their own user options and be keept in the db since Collapsing and Expanding the forums on the fly doesnt work well. (the changes arent remembered) Right now the hack keeps in the db the settings the Admin selects but not what the Members select thats what i was wanting to say. My bad if i wasnt clear. :( |
Quote:
To make it clear exactly how this is achived I'll go through the function found in the current version line by line PHP Code:
|
dabean,
After I reread the instrustions and applied the changes specified to "forumhome_forumbit_level2_post" instead of "forumhome_forumbit_level1_post" it worked like a charm. (Perhaps I should stop smoking crack :stupid: ) Thanks again for the great hack!!! |
Just for clarity before I install this what exactly is Template_Option.txt in the instructions? What option does this refer to? Have no idea what you mean by
Quote:
|
Quote:
For a example Scroll back towards the begining somewhere around page 2 or 3 for posts by sirsteve. |
Great hack!
Just installed it, followed the well written instructions and worked perfect on 2.2.1 I tested it on IE on the PC and it works fine...BUT...tried it on IE 5.0 on the Macintosh and when you collapse a forum all the forum titles, thread titles, descriptions and tables below the collapsed forum get squeezed to the left (take up maybe 30% of the left hand side of the table instead of running normally to fill the whole table left to right). If you have a Mac with IE you can test it at my forum to see it. http://www.rcuniverse.com Any idea how to fix? Also attached some images to match the default vbulletin style for anyone who wants them. marc |
All times are GMT. The time now is 04:17 AM. |
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:
|