Version: , by ethank
Developer Last Online: Jun 2010
Version: 2.2.x
Rating:
Released: 11-02-2001
Last Update: Never
Installs: 25
No support by the author.
Hack: Persistent Mark Forum Read Version of VB: 2.2.5 Current version: 1.3 Description: This hack replaces the bahavior of vBulletin's "Mark Forum Read" and "Mark All Forums Read" with a system that uses a database to track when forums are set read. By eliminating the use of cookies for this feature, a user can come onto your boards, read a bit, mark forums read as they go through and logout. The next time they come into the forums, the status of which forums they've read and which they haven't, as well as new posts since the last time they read is preserved.
This functions a lot like EZBoard and Chatspace's Webboard.
Included in this hack are three search routines: searing the entire forum for new messages, an individual forum and a section of the hierarchy (parent + children)
Also: Mark All Forums Read, Mark Individual Forum Read and Mark Hierarchy Section (Parent + Children) Read
Note: The install is not all pretty yet and requires a degree of knowledge of MySQL (to add a table) and PHP (as it requires heavy modifications to core files). It is recommended that you backup everything before using this.
After installation, behavior might be a bit odd until a default "markread" record is created for users. This is created when they first login if one does not exist.
This hack has been tweaked to now not add more than two queries to your index page. It will add load on sub-forum pages currently if you have a lot of nested forums. This will be fixed in the next release.
Instructions:
Follow the instructions in the included text file TO THE LETTER. If you run into problems, post here so we can work through them and improve the instructions. Look for a better install utility soon.
I recommend doing the text editing using a DIFF utility to see where you made changes, it honestly helps.
Place the images in your vbulletin image folder. I included PSD files for them if you want to change colors.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Originally posted by ethank
Anyhow, has anyone else been installing it?
Ethan
I installed in on a test board, and it appears to work as advertised.
My concern is with the hand editing of the files. Is it allowable under the vbulletin license for you to offer diffs from the original source? If so, that would speed up installation and eliminate the typo element that can make troubleshooting something like this very difficult.
diff -u old new > file.diff
then you can use 'patch < file.diff' to update the file, and avoid problems caused by copy/paste.
I installed in on a test board, and it appears to work as advertised.
My concern is with the hand editing of the files. Is it allowable under the vbulletin license for you to offer diffs from the original source? If so, that would speed up installation and eliminate the typo element that can make troubleshooting something like this very difficult.
diff -u old new > file.diff
then you can use 'patch < file.diff' to update the file, and avoid problems caused by copy/paste.
If its OK with Jelsoft, then I'll do that. The only issue is my files are hacked with other enhancements as well, so the DIFF might not be accurate.
Originally posted by LDT Just installed this on vBB 2.2.1 and it works fine. Hack instructions aren't accurate for that version, but I found my way through it.
I noticed that when I call search.php?action=getallnew, posts which were moved while leaving a redirect would show twice: once correctly, and the other one (probably the redirect), is shown as a poll, and is clickable. When you click on it, you get an empty thread.
I first want to confirm the problem is on your hack, before I complain in the vBulletin forum, and if it is, can you please fix it?
Thanks! I said it once, and I'll say it again: without your hack, I wouldn't have bought vB
Originally posted by Tommy Boy I noticed that when I call search.php?action=getallnew, posts which were moved while leaving a redirect would show twice: once correctly, and the other one (probably the redirect), is shown as a poll, and is clickable. When you click on it, you get an empty thread.
I first want to confirm the problem is on your hack, before I complain in the vBulletin forum, and if it is, can you please fix it?
Thanks! I said it once, and I'll say it again: without your hack, I wouldn't have bought vB
Not sure where the problem lies yet. Probably in my hack I'll look into it later, but I'm swamped right now.
It uses cookies to login, yes, but it does the checking for unread/read posts by comparing your last visit time(in the DB) with the lastpost times in the posts(in the DB)...
Originally posted by DarkReaper It uses cookies to login, yes, but it does the checking for unread/read posts by comparing your last visit time(in the DB) with the lastpost times in the posts(in the DB)...
No, the time you marked read is not set in the database, it just uses last visit, which is set based on cookies.
So for instance, if you were idle for more than 900 seconds, it'd mark everything read. Its not persistent, hence "Persistent Mark Forum Read"