![]() |
|
Mod Options |
![]() |
|||||||||||
Release 0.1 Mark Forum Read/Mark All Read from database hack
![]() Developer Last Online: Jun 2010 ![]() ![]() ![]() This modification is in the archives.
Here's the hack I worked on this week, in rough and not too pretty form. I'll be beautifying it soon.
You can download an rtf with all the code changes listed at http://murmurs.com/codechanges.rtf. Also in that file is the table creation statement. Attached is a zip of all the changed files. Comments are included, but not consistant yet. You can see this in action at http://tony.murmurs.com. Only two forums, but still. I'll pretty up the code this weekend and make better install instructions. This is way beta, so if there are any problems just post. Don't put this on a production board yet Ethan Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
Comments |
#2
|
|||
|
|||
ethank,
I had to remove your codechanges.zip file because it is in violation of the licensing agreement -- you may not post full files. You have to release them as instructions (or if you come up with a better way). No members have liked this post.
|
#3
|
||||
|
||||
Doh! OK. Well, the rtf has the changed code, not full source. I'll figure out a better way to indicate where the changed code should go.
Anyhow, look at the rtf, as that will give you most of what you need, although its not as clear as it should be yet. EThan No members have liked this post.
|
#4
|
||||||||
|
||||||||
Two more additions. These two blocks assure that people get an initial Mark Read entry in the database if they don't have one. Its set to 0:00AM for the day they enter without one.
This goes in the login method in member.php, before the URL portion:
And this goes in register.php, after the initial databse insert after the Start Add Member comment. This goes right before the big insert method...:
No members have liked this post.
|
#5
|
|||
|
|||
![]()
One general inprovement that would be usefull (in general) for VBulletin.
If the link that marks read contained a timestamp of the time when you displayed the page, then anything posted after you read that page would still show as unread. For instance..... If you display the page at 12:00 .. then sit there for an hour .. then press Mark Read .. anything posted after 12:00 will still be shown as unread. The way that VB does it is it marks stuff as read from the moment that you hit the link, so there is a possiblity that you could miss postings made inbetween the period of actually displaying the page and hitting the read link. Onslo No members have liked this post.
|
#6
|
||||
|
||||
The other bug I found was that if you mark a child forum read, the parent forums still are flagged "new" cause they just look at the "lastpost" from all their children. I need to have it make sure that that last post wasn't in a forum that was marked read, and if it was look at the second to the last post, etc. I'll work on that bug tonight. EThan No members have liked this post.
|
#8
|
||||
|
||||
I wasn't home all weekend so didn't have a chance to compile it all. I'll be working on it today as well as doing one last bug fix. There's a weird thing with subconferences....
Ethan No members have liked this post.
|
#9
|
||||
|
||||
I'm back from Georgia and seeing as how final is being released Monday, I'll post an updated instructions document and the current iteration of the hack here on Tuesday (hopefully)!
Thanks for your patience. EThan No members have liked this post.
|
#10
|
|||
|
|||
Excellent!
![]() I await your masterpiece. Top sport Ethan ![]() Onslo No members have liked this post.
|
#11
|
|||
|
|||
In the process of setting up a test board so we can test this hack. Hope everything ok Ethan.
Let me know when it's done. Can email me here : [email protected] Ta! Onslo No members have liked this post.
|
#12
|
||||
|
||||
Anyhow, I'll e-mail you later. EThan No members have liked this post.
|
#13
|
|||
|
|||
Hi Ethan,
Have you tried emailing me? My inbox was full and so it may not have got through. It's clear again now ![]() Any news? Regards Onslo No members have liked this post.
|
#14
|
||||
|
||||
I just finished the first document of code changes based on my comparison between the 2.0 release and the modified code I'm running using a DIFF type tool.
I'll do the same for 2.0.1 this week. Here's the preliminary change list. Don't use it yet, cause I haven't had a chance to test it using a fresh copy of 2.0.1 yet. But at least you get a preview. Please forgive any sloppy code, as I learned PHP while doing this. Also, template changes are coming, but they are pretty self explanatory when you dig into the code. You can also see them on my boards at http://tony.murmurs.com You can see the HTML documentation (since I can't upload it) at: http://tony.murmurs.com/attachment.php?postid=21438 EThan No members have liked this post.
|
#15
|
||||
|
||||
Sorry for the delay everyone and thanks for your patience. EThan No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 00:48.