Version: , by bira
Developer Last Online: Jun 2013
Version: 2.2.x
Rating:
Released: 12-08-2001
Last Update: Never
Installs: 141
No support by the author.
Hi all,
This is a brand new addition to my own BB, so I don't even know how my own users will react to it, let alone how you guys would
Hack Description:
Posts you have already read in a thread, will show up with their header only (a row that includes the username, post subject and date only). New posts only will appear in full.
This is user selectable via the 'Edit Options' page: each user can decide if he wants this option on or not. (By default all existing and new users will have this turned Off).
A link at the top of the thread offers to "expand all" posts or "contact all" posts.
by clicking on the + sign on a shruk post, it will expand without the page reloading. By clicking on the - sign on an expanded post, it will shrink without the page reloading.
[high]this option is available for your IE users only! Netscape users will see no difference and will not be affected anyway at all by the change[/high]
How to install:
Please download the attached zipfile.
Upload plus.gif and minus.gif to your images directory
Upload install_contractposts.php to your admin directory and run that script.
Note: there are quite a few changes to make (primarily additions, not replacements) to the vb scripts and templates. The process should take you several minutes, so I recommend you close your Bulletin Board while installing the hack.
Demo:
You are welcome to visit my Bulletin Board, at http://www.atlasf1.com , to see what the additions look like. To test it in full (ie, the option of old posts being shrunk by default), you will have to register and modify your options after you have received your password.
Cheers,
Bira
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
We installed the expandand 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!
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.