![]() |
@bira man u working overtime here hehe g/j anyways good too see u aint lost ya cool yet i woulda :D
|
Stupid question alert!!!
Will this work on 2.2.5? Thanks in advance Rick |
[QUOTE]Originally posted by tzlvazrael
Will this work on 2.2.5? |
Thanks much for the reply...
Time to install.. :) |
We installed the expand and contract hack and it works great except that we are having a problem now when we contract the posts that if the user doesn't put in a post subject, the message doesn't show anything when it's contracted except the name on the left and the time of day on the right. We notice in here that if there's not a post subject it pulls part of the message out when it's contracted. Does anyone know how we can fix this so it will work like it does on here? Thanks in advance!
|
It's in this post:
https://vborg.vbsupport.ru/showthrea...627#post206627 It'salways a good idea to read the whole thread before installing a hack. :) |
I thought I had read everything that I needed at the time (Sorry about that). I guess I should have re-read it a little closer. Thanks for pointing it out to me. I have one last question though. Where in the postbit template do I put $post[shortmsg]? I can't find a place that just has $post in it to replace it (or did I miss something else in the thread that I should have read?) Thank you in advance.
|
I am curious to know if there is any way that when a post is collapsed that we can prevent all the images files including the avatars, smilies etc. from being downloaded - and make these images only download when a post is expanded. This way, a lot of bandwidth can be saved if collapsed posts do not have the image files downloaded, only expanded posts. (At the moment, everything is downloaded whether the post is contracted or expanded, which is good because when you hit the plus image you see all the images, but does waste server bandwidth if the person doesn't expand the post).
|
[QUOTE]Originally posted by Boofo
I thought I had read everything that I needed at the time (Sorry about that). I guess I should have re-read it a little closer. Thanks for pointing it out to me. I have one last question though. Where in the postbit template do I put $post[shortmsg]? I can't find a place that just has $post in it to replace it (or did I miss something else in the thread that I should have read?) Thank you in advance. |
Worked great, thank you!
|
Installed Flawlessly... Thanks
|
Very nice, really nifty,
will install this soon :) |
Is there any way to make the censored words work when you are using $shortmsg? It works when the messages are expanded but not when they are contracted. Thank in advance.
|
I am wondering if you are planning on supporting Mozilla under the IE type because from my test on the forum when i come to this site and even my site the post are contracted when i go to view the posts and it is a pain in the button have to click on the (post #XXX) when ever i want to read a post. just a suggestion.
ok i just made a few changes to get it to show up for Mozilla but when ever i click on the Plus or Minus buttons it does not work. is that a problem with the div tags or something? i tried switching them to layer tages but that still didnt' work. i know there has to be a way to get this to work for mozilla and netscape 6.x if anyone has anymore info on how i can get this working it will be much appricated. thanks in advance. |
Does anyone have a vbhacker file for this?
|
[QUOTE]Originally posted by Erwin
I am curious to know if there is any way that when a post is collapsed that we can prevent all the images files including the avatars, smilies etc. from being downloaded - and make these images only download when a post is expanded. This way, a lot of bandwidth can be saved if collapsed posts do not have the image files downloaded, only expanded posts. (At the moment, everything is downloaded whether the post is contracted or expanded, which is good because when you hit the plus image you see all the images, but does waste server bandwidth if the person doesn't expand the post). |
FYI: This doesn't work on Mac OS9.x in IE5 or 5.1
In OSX on IE5.1 it works fine, just in Classic Mac, it's stuffed.. something to do with the layers.. I'm working on what's wrong with it. |
Found it ... was me.
Be carefull when you put the <a> anchor tag in the first <DIV> that you close the tag with a </a> directly after the anchor. Ug. Sorry about the false alarm. |
Thanks for this great hack, Bira! I installed the hack without any problems. :)
|
Looks like a great hac, but is it compatible with version 2.2.6?
|
Hi Bira!!
This is a great Hack!!! Ive installed it on 2.2.5 and it works perfect!! :D |
[QUOTE]Originally posted by HappyPike
Thanks for this great hack, Bira! I installed the hack without any problems. :) |
|
nice hack bira :)
thanx |
I think I've found a bug in this hack (not really a bug, but read on).
If you enable this hack on MSIE6, it works just fine. Then, use it on Mozilla, and it also works... it contracts old posts. The problem is, it doesn't give you the + and - buttons. This means that you are unable to expand the already contracted threads using Mozilla. Because the user control panel portion only appears, like the rest of the hack, when using MSIE, I can't go and turn off this behaviour, either, since it's invisible. Could I suggest... 1. That Mozilla users, or non-supported browsers, get all messages expanded anyway -and/or 2. That if the user control panel option is "on", it always gets displayed. What does anyone else think? |
[QUOTE]Originally posted by James Cridland
I think I've found a bug in this hack (not really a bug, but read on). If you enable this hack on MSIE6, it works just fine. Then, use it on Mozilla, and it also works... it contracts old posts. The problem is, it doesn't give you the + and - buttons. This means that you are unable to expand the already contracted threads using Mozilla. Because the user control panel portion only appears, like the rest of the hack, when using MSIE, I can't go and turn off this behaviour, either, since it's invisible. Could I suggest... 1. That Mozilla users, or non-supported browsers, get all messages expanded anyway -and/or 2. That if the user control panel option is "on", it always gets displayed. What does anyone else think? |
Ok I seem to have a problem here.
View any of m y posts at my board and the plus/minus image comes up before the users name, then the users name is put below that like with a br, but there is no br. I think it's because I use glow around names. How can i get it to be on the same line? http://forums.ambex.net |
Sweet hack - installed without problems. :)
Did some postbit modifications since mine has been altered quite a bit from the original and now it's working great. :D |
I don't know if this is possible, but it would be sweet if in the contracted posts, it would parse links, output bold/italic text, show smilies etc. Know what I mean? Not a big deal, but it would look better. :P
|
Hi there :)
For some reason I'm not seeing Expand All|Contract All anywhere :( Also, I tried the modifications to make the first post stay open, but it didn't seem to work for me :( I'm using 2.2.6 I love this hack, I just wish I could get it right. Could I please get some help if anyone wouldn't mind? Sincerely, Heineken |
Please help mine is messed up it looks like the attachment
also here is my postbit code whats wrong with it PHP Code:
also the + and - aint showing :( please help me |
/me Bumps This Thread And Crys For Help
|
Only just found this hack and think its one of the most useful I have come across. Really easy to install as well. Thanks a lot bira :)
L8R |
Hmm, I remember a "Collapsable forums on forum home" hack that does a similar thing, but also works with MoZilla. I wish this one would work with MoZilla, too ...
|
[QUOTE]Originally posted by FireFly
place $post[shortmsg] in the posbit template. :) |
Nice hack, installed and works perfectly!
|
[QUOTE]Originally posted by SiXXGuNNZ
where abouts to I put it? do I replace anything in postbit? or do I just add it wherever I feel like it? |
I do havea agree that this is a nice hack, though I know I have messed up on the install, nothing seems to be broken though the expand all / contract all does not work. I have tried to go through the reg process to see if there were any problems there and I have found none. The board is up and working fine other than that one problem.
I am running 2.2.6 and I have a few mods installed already any help with this would be welcomed and my thanks for this in advance. |
Well I went back after a good nights sleep and found that I had left one of the steps out. So this was totally my error and this is one of those hacks that are a must have :)
|
I really wanted an expand/contract all that is client side. This will not hold state when moving from page to page.
Note that the object I am referencing to get the DIV collection has the id of "tblResults". You will have to modify the "postbit" tempate and add a name to the parent table that encapsules all of the threads. id="tblResults" JavaScript Code [QUOTE] <script language="JavaScript" type="text/javascript"> <!-- function ExpandAll(){ var objDivs = tblResults.all.tags("DIV"); for(i = 0; i < objDivs.length; i++){ if (objDivs(i).style.display=="none") { objDivs(i).style.display=""; }else { objDivs(i).style.display="none"; } } } function ContractAll(){ var objDivs = tblResults.all.tags("DIV"); for(i = 0; i < objDivs.length; i++){ if (objDivs(i).style.display=="show" || objDivs(i).style.display=="") { objDivs(i).style.display="none"; }else { objDivs(i).style.display=""; } } } </script> |
All times are GMT. The time now is 04:07 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:
|