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.
I wanted to check what you're saying, so I ran &explain=1 on a thread with 29 posts, on a limited resources server. First I did it on an "out of the box" vb 2.2.1:
Quote:
Page generated in 1.5668079614639 seconds with 19 queries,
spending 0.098392963409424 doing MySQL queries and 1.4684149980545 doing PHP things.
The I did with with only this hack added:
Quote:
Page generated in 1.57904504776 seconds with 19 queries,
spending 0.098688006401062 doing MySQL queries and 1.4803570413589 doing PHP things.
I am the only user on this server, so it's pretty much "lab tested".
Also, the load average on my server right now is 0.66, 0.73, 0.75 with ~80% CPU idle and 334 processes.
There are currently 67 members on my BB. I don't know how many guests (my who's online page doesn't seem to count guests, always saying 0 for that :/)
So from my own standpoint, I haven't noticed a change in load. But I really don't know much about this stuff so I'm all ears if you have suggestions.
I think your correct. I do know that is causes a slight bandwidth increase...thus possiblity of a smaller load increase for the web server...but I don't know off hand.
Lionel, look for FireFly's instructions, in post #50 of this thread.
GameZilla - sounds like the selection is not stored in the database. Check to see if you edited member.php fully and whether you ran the installer as requested.