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.
[QUOTE]Originally posted by bira If you switch it on for ALL users, people logging on your Bulletin Board with Netscape WILL NOT BE ABLE TO EXPAND THE POSTS.
They will be stuck with entire threads contracted, and with absolutely no way to expand any post at all.
FWC the expand all/contract all will work, because it reloads the page and changes the display setting to show/none. What WON'T work is the javascript function to change between show/none without loading the page.
Theoretically, I could write a more complex hack so that non-IE users could also use the +/-, whereby the page reloads on every click and changes the display setting for that specific post. But it will be a much bigger hack, and I don't think it's very convenient - having to reload the page every time you want to expand or contract a post.
I would also add that there is a way in javascript to write an expand/contract function for Netscape as well, using layers. It will, however, add a lot more code to the page (and therefore more bandwidth) and since the behaviour of layers is very different to dhtml, it will also mean heavily editing the templates, if not creating two template sets.
Since I abhore Netscape with all my heart, I decided quite consciously not to put that effort. 90% of my users are IE users. All I can do for the remaining 10% is make sure they don't get hurt or disabled. That's all
[QUOTE]Originally posted by inetd When the message is minimized, number of the message and the first line from the message is not shown. What to do make?
[QUOTE]Originally posted by inetd When the message is minimized, number of the message and the first line from the message is not shown. What to do make?
[QUOTE]Originally posted by bira Since I abhore Netscape with all my heart, I decided quite consciously not to put that effort. 90% of my users are IE users. All I can do for the remaining 10% is make sure they don't get hurt or disabled. That's all