Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Release 0.1 Mark Forum Read/Mark All Read from database hack Details »
Release 0.1 Mark Forum Read/Mark All Read from database hack
Mod Version: 1.00, by ethank (Member) ethank is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: Rating: (0 vote - 0 average) Installs: 0
Released: 05 May 2001 Last Update: Never Downloads: 0
Not Supported  

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 05 May 2001, 01:03
Mike Sullivan Mike Sullivan is offline
 
Join Date: Feb 2002
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).
Reply With Quote
  #3  
Old 05 May 2001, 01:06
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
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
Reply With Quote
  #4  
Old 05 May 2001, 05:43
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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...:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #5  
Old 05 May 2001, 13:19
Onslo
Guest
 
Question

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
Reply With Quote
  #6  
Old 05 May 2001, 16:39
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Originally posted by Onslo
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
That happened with Webboard too.. I guess the way we could do it is set a timestamp in a cookie on page load, then when they mark read, use that instead of the time they click the Mark Read. Maybe have it as an option?

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
Reply With Quote
  #7  
Old 07 May 2001, 14:36
Onslo
Guest
 
Hows it coming Ethan?

Onslo
Reply With Quote
  #8  
Old 07 May 2001, 15:25
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
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
Reply With Quote
  #9  
Old 19 May 2001, 21:29
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
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
Reply With Quote
  #10  
Old 20 May 2001, 07:00
Onslo
Guest
 
Excellent!

I await your masterpiece.

Top sport Ethan

Onslo
Reply With Quote
  #11  
Old 23 May 2001, 16:07
Onslo
Guest
 
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 :

onslo@worldmailer.com

Ta!

Onslo
Reply With Quote
  #12  
Old 23 May 2001, 16:30
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Originally posted by Onslo
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 :

onslo@worldmailer.com

Ta!

Onslo
I successfully implemented it on the release version, but I still have some bugs and things I need to fix that just popped up. The most challenging is that damn "new post" indicator when dealing with subconferences. I'm heading home tonight to work on it.

Anyhow, I'll e-mail you later.

EThan
Reply With Quote
  #13  
Old 06 Jun 2001, 16:16
Onslo
Guest
 
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
Reply With Quote
  #14  
Old 10 Jun 2001, 06:17
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
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
Reply With Quote
  #15  
Old 19 Jun 2001, 05:09
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Originally posted by ethank
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
I have the change list updated for 2.0.1, but I graduated college this weekend so I didn't get to it. Might get to it tommorow.

Sorry for the delay everyone and thanks for your patience.

EThan
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:43.

Layout Options | Width: Wide Color: