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.
Haven't been spoken to like that since my undergraduate days!!
Fair enough though - you have been fantastic, and your support is great. Wouldn't blame you in any way - I'm grateful for the effort you've put in - I suspect the errors are due to problems I had uploading the changes whereby old files overwrote the changed files. Your instructions are very clear - although a few jokes and doctored images of Ralf Schumacher's girlfriend wouldn't go amiss.
First off I would like to say Bira you are the man.
Everything works great except for the member.php3.
I'm assuming that this is the problem.
I get the following error message when trying to use the member.php for logging out, usercp, or anything for that matter.
I have ran through all instructions numerous times and still a no go.
Here is the error:
Parse error: parse error in D:\Inetpub\users\dssheadquarters\forum\member.php3 on line 752
1) You had an error in one location of pasting the code. The instructions said find
PHP Code:
$newemailaddress=0;
}
And AFTER THAT paste a code. Instead, you pasted the code BEFORE the }
2) On three different locations, you have pasted the hack code on the same line as an existing code, which meant you were in effect COMMENTING OUT the existing code. Example:
your code:
Code:
// Contract Old Posts in Thread (v1.0)
if ($bbuserinfo[hideposts]) {
$hidepostschecked="checked";
$hidepostsnotchecked="";
} else {
$hidepostschecked="";
$hidepostsnotchecked="checked";
}
// Contract Old Posts in Thread (v1.0)if ($bbuserinfo[receivepm]) {
$receivepmchecked="checked";
$receivepmnotchecked="";
} else {
$receivepmchecked="";
$receivepmnotchecked="checked";
}
SHOULD BE:
Code:
// Contract Old Posts in Thread (v1.0)
if ($bbuserinfo[hideposts]) {
$hidepostschecked="checked";
$hidepostsnotchecked="";
} else {
$hidepostschecked="";
$hidepostsnotchecked="checked";
}
// Contract Old Posts in Thread (v1.0)
if ($bbuserinfo[receivepm]) {
$receivepmchecked="checked";
$receivepmnotchecked="";
} else {
$receivepmchecked="";
$receivepmnotchecked="checked";
}
I have edited your file and corrected your mistakes and will now e-mail it back to you.
However, I cannot stress enough to you and others - please follow installation instructions accurately or your scripts may be rendered useless.