Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by Doom9 Doom9 is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-23-2001 Last Update: Never Installs: 1
 
No support by the author.

I recently moved from ezboard to vbb. One of the features my moderators (and some other users, too) really missed was the ability to mark certain forums as read manually as in vbb that only works globally and after your cookie times out everything is marked read so you may miss posts.

Attached are the diff files and a description on how the hack works. Registered users can now manually mark forums as read and the forums are marked as read by what the user read and marked as read rather than by timeout. For unregistered readers the behaviour remains the same as before.

Anyways.. feel free to make comments about our implementation (I didn't write it.. hopefully you'll let the author comment even though he has no vbb license himself)

We've tested the hack a bit.. seems to be working just fine but so far we haven't implemented it into the "production" forum.. and we'd love to get some feedback by the community. We're also hoping that jelsoft might consider including the hack or a modification thereof in a future version.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-26-2001, 12:53 PM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by guillep2k
The problem of the "lastpost" column is exactly what I was talking about in previous posts (what you can not remember is that when a child forum is mark as read, the parent keeps the unread status). I personally think we should change vB behavior on this matter: it should not update parent forums at all, because you may want to mark the posts at the parent level as read and not at child's. Besides, it would make much more efficient queries.

Guille
Yeah, you can do it either way. Still need to query on the parent forum to see if there are any unread children forums within it though. My rather unweildy code block for "lightbulb" does that, but it can probably be compressed down to one SQL statement instead of multiple.

Ethan
Reply With Quote
  #13  
Old 10-26-2001, 12:57 PM
guillep2k
Guest
 
Posts: n/a
Default

I don't think the bulb should be on for the parent if any child has unread posts!!! That's because the parent and the children are all displayed in the index.php page, so you can get confused thinking that the parent itself has unread posts, which may and may not be. Or there's something I'm missing?

Guille
Reply With Quote
  #14  
Old 10-26-2001, 05:36 PM
guillep2k
Guest
 
Posts: n/a
Default

Quote:
They aren't displayed on the main page if they are deep enough or you have it set to only show one level of depth on the homepage (as we do). I tried this behavior out and users had a fit, because they missed new posts within children conferences.
I already sent you a query that solves this in one single DB operation. Here's the copy:

Code:
select a.forumid as forumid, max(b.lastpost) as lastpost, min(ifnull(m.timestamp,0)) timestamp
  from forum a
  inner join forum b
     on instr( concat(',',b.parentlist), concat(',',a.forumid,',') ) > 0
  left outer join forumread m
     on m.userid = $user and m.forumid = b.forumid
 group by a.forumid;

Guille
Reply With Quote
  #15  
Old 10-31-2001, 05:46 PM
Zeoran Zeoran is offline
 
Join Date: Oct 2001
Location: Sillicon Valley
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it's absolutely wonderful that you two are working so hard on this project. As an Ez-board convert, I myself and the rest of my board have been dearly missing this feature. And in Q's defense, it is very important to have it timestamped properly so that it's based on the last time I refreshed my list so that I don't miss posts that were made while I was reading.

Can you guys let me know when you get this all worked out?

Thx!

~Z
Reply With Quote
  #16  
Old 10-31-2001, 09:44 PM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Zeoran
I think it's absolutely wonderful that you two are working so hard on this project. As an Ez-board convert, I myself and the rest of my board have been dearly missing this feature. And in Q's defense, it is very important to have it timestamped properly so that it's based on the last time I refreshed my list so that I don't miss posts that were made while I was reading.

Can you guys let me know when you get this all worked out?

Thx!

~Z
I decided just to release my code as is, as when I dug through it, the integration was too cumersome. I'm adding two more features (mark read parent + children and new messages parent + children) as well as testing with 2.2

Ethan
Reply With Quote
  #17  
Old 11-01-2001, 01:16 PM
Zeoran Zeoran is offline
 
Join Date: Oct 2001
Location: Sillicon Valley
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's great. Just let us all know when you're done. I'm sure it will be a high-demand feature/hack.

~Z
Reply With Quote
  #18  
Old 11-01-2001, 01:43 PM
MrLister's Avatar
MrLister MrLister is offline
 
Join Date: Oct 2001
Posts: 434
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

too bad there's no more use for it.... vB 2.2.0 already has this.
Quote:
Originally posted by Zeoran
That's great. Just let us all know when you're done. I'm sure it will be a high-demand feature/hack.

~Z
Reply With Quote
  #19  
Old 11-01-2001, 03:36 PM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by MrLister
too bad there's no more use for it.... vB 2.2.0 already has this.
Not so, this uses persistent database storage, vBulletin still uses cookies, so after the cookie expiration, everythings read.

Ethan
Reply With Quote
  #20  
Old 11-01-2001, 03:41 PM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm a suppoter of the database method that Ethank employs, and am eagerly awaiting his re-release for the 2.2.0 version, so I can go ahead with my upgrade.

Besides the fact that it is more reliable, to me at least, than using cookies, it also allows me to place "Mark Forum Read" links on the Forum index, and oh how I love redundancy and multiple ways to do the same thing.
Reply With Quote
  #21  
Old 11-01-2001, 03:50 PM
ethank's Avatar
ethank ethank is offline
 
Join Date: Oct 2001
Location: Toluca Lake, CA
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SWFans.net
I'm a suppoter of the database method that Ethank employs, and am eagerly awaiting his re-release for the 2.2.0 version, so I can go ahead with my upgrade.

Besides the fact that it is more reliable, to me at least, than using cookies, it also allows me to place "Mark Forum Read" links on the Forum index, and oh how I love redundancy and multiple ways to do the same thing.
CHeck the other Mark Read thread later today. I'm going to reedit the first post and hopefully put a prettier version of the instructions up. Not much changed for version 2.2 really, just one template.

Ethan
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05807 seconds
  • Memory Usage 2,306KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (9)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete