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 ethank ethank is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

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.

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

Mods: Can you move the other thread about thhis in here to a locked "old hacks" forum? Thanks

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

Anyone who installed the 2.0.3 version of this try these instructions on 2.2 yet?

Ethan
Reply With Quote
  #4  
Old 11-11-2001, 08:43 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 2.2? I believe in the title it says it does but has anyone tried it?
Reply With Quote
  #5  
Old 11-11-2001, 09:44 PM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I haven't upgraded my 2.0.3 version to 2.2 yet. I weighed the new features with what I currently had including hacks (including ethank's previous Mark Forum Read hack) and decided that there wasn't enough in the new version to warrant my upgrading.

With some time and experience using vB boards at version 2.2, I am convinced that the cookie implementation of Mark Forum read that they have included is not the least bit reliable. I have several times come back to a 2.2 vB board and found that what I had previously marked as read, is no longer displayed as read, but as new. I have also seen instances where forums I had not marked as read had suddenly become so.

Currently, I am very pleased with ethank's previous hack for 2.0.3, with a small adjustment that I made to it to send users back to the index after using a Mark forum Read link.

I have downloaded a copy of this hack, but have not installed it due to my satisfaction with how 2.0.3 is working for me.

I reviewed this hack, and liked the way that child forums could be marked as well, but the icon implementation of it seems like it may be a little complicated and confusing for my varying in age members who are most familiar with using ezboard style bulletin boards.

If the day does come that I decide to upgrade my forums to 2.2, I will in fact install this hack, because of my own issues with the unreliability of the cookie version of ?Mark Forum Read?, and the reliability I have found in ethank?s database version.

I just wanted to add my two cents and support for what ethank has provided vBulletin users.
Reply With Quote
  #6  
Old 11-12-2001, 10:17 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hack looks great and I would love to see something like this, but it's way to long to install to not know if it works. I wish I had a fresh install so I could help out, as this again is a great hack. If anyone has any luck or can help with an auto install that would be great... goodluck
Reply With Quote
  #7  
Old 11-13-2001, 09:06 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<<up>><<up>>

Can anyone try to get this working?
Reply With Quote
  #8  
Old 11-14-2001, 06:17 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the instructions for showthread.php, you say to find this:
PHP Code:
        $postbits .= getpostbit($post);

    
updateuserforum($thread['forumid']);

        eval(
"dooutput(\"".gettemplate("showpost")."\");");
        exit; 
And replace it with various stuff. The problem I had with that in my showthread.php, in that whole section of code, on the first line ($postbits .= getpostbit($post) it had no dot (it was $postbits = getpostbit($post).
Reply With Quote
  #9  
Old 11-14-2001, 06:20 AM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was just about to post a request to get this hack moving. How's the install going and how do you like the results?
Reply With Quote
  #10  
Old 11-14-2001, 07:05 AM
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Location: Glen Burnie, MD, USA
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The install was mostly OK, aside from the one issue I just mentioned, and a few instances of not being able to find things because of the equals-sign usage... what I mean by that is sometimes, original code is in the format "x=y" and the hack instructions might say to look for "x = y", or the other way around. Those spaces mean what you're searching for and what's actually there won't match, so it makes it a bit more difficult to find what you need.

As for if the hack actually works or not, that remains to be seen. First, I can't really test it at all right now, as this is a very slow time of day for my board, and there aren't a good amount of new posts to mark as read. The board itself still works, and that is always a good sign. I suspect this hack will work OK; I installed ethank's earlier version, and it worked OK, too, although there was some anomalous behavior noted by some people. But the 2.2.0 upgrade was due out soon then, and I knew that similar functionality was built in, so I didn't bother to troubleshoot it at the time. But we'll see what happens now.

I would suggest to go ahead and install it. Make sure you make a backup copy of your database first, as well as have backup copies of all files you need to modify. If you have installed any other hacks at all, make sure you actually have current backup copies of your files, and don't rely on the originals, as they will not have any hacks applied to them.
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 02:24 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.08388 seconds
  • Memory Usage 2,303KB
  • Queries Executed 23 (?)
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_php
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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