Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Skip a Forums New Posts - Add "Mark Forum Read" to New Posts search Details »»
Skip a Forums New Posts - Add "Mark Forum Read" to New Posts search
Version: 1.00, by Greebo Greebo is offline
Developer Last Online: Jan 2011 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 10-31-2005 Last Update: Never Installs: 4
Template Edits
Code Changes  
No support by the author.

Skip a Single Forums New Posts
Add "Mark Forum Read" to New Posts search

When doing a New Posts search (and only on a New Posts search), this hack adds a "Mark This Forum Read" link to the forum column. Users can click this link to mark a single forum read from the New Posts search results, thus "skipping" that forum from the new posts search.

When the link is clicked, the selected forum is marked read and the user is redirected back to a new New Posts search.

Negatives: If forum has a time limit on searches, the user will get the message about having to wait to conduct a search if they didn't wait that long before clicking the mark read link.

Version 1.0
vBulletin Compatibility: 3.5.0

Required changes: 1 Template Edit, 1 Code File Edit

Show Your Support

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

Comments
  #12  
Old 10-10-2006, 10:36 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As an update to this, Firefox RC1/2 run the html nicely.

However I noticed a slight anomaly under the circumstances. The ling string in the mark read url can potentially break the tables so I created a simple phrase to put things back into order.

(I have also been thinking of adding this as an icon instead of text to keep things cleaner.)
In any case it's a great hack, very useful to have. - thx

Code:
<if condition="$show['forumlink']">
		<td class="alt1"><a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]">$thread[forumtitle]</a><br><if condition="$display['getnew']">$vbphrase[mark_forum_read]</if></td></if>
Reply With Quote
  #13  
Old 10-11-2006, 08:10 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Correction... id still does not work with Firefox properly.

Looks as though for some reason the browser is not able to process a single search request but marks the entire lot as read instead. ( no clue why but thats what I found during testing)

Most of my members use FF so I had to remove it again
To bad the hack has lots of potential imo.
Reply With Quote
  #14  
Old 11-08-2006, 11:14 AM
Canis Firebrand Canis Firebrand is offline
 
Join Date: Jun 2006
Location: Michigan
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would love to see this updated and the issues fixed. I had it in place before and it sort of worked. It had the issues as mentioned above where it would mark an entire forum read.
Reply With Quote
  #15  
Old 11-09-2006, 01:03 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Canis Firebrand
Would love to see this updated and the issues fixed. I had it in place before and it sort of worked. It had the issues as mentioned above where it would mark an entire forum read.
Actually this is how it works
Turns out this marks the entire forum as read and not the individual posts display'd in the new post search results. (to bad) I removed the hack since it was not what I was trying to achieve, as far as I know there is no modification that can do that.

PS. there is an html error in the template change. where it ends with <td> but it should be </td> messes up the layout.
Reply With Quote
  #16  
Old 10-02-2007, 02:53 AM
jeremyalyea jeremyalyea is offline
 
Join Date: Feb 2007
Location: Detroit
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried this with v3.6 but it does not work. Does anyone know how to make this work or is there another mod that does something similar. It is exactly what I'm looking for.
Reply With Quote
  #17  
Old 11-13-2007, 01:55 AM
jeremyalyea jeremyalyea is offline
 
Join Date: Feb 2007
Location: Detroit
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone else find this hack useful? It is exactly what I need but it doesn't work on 3.6.x
Reply With Quote
  #18  
Old 11-22-2007, 10:42 PM
dvbusuario's Avatar
dvbusuario dvbusuario is offline
 
Join Date: Oct 2007
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In 3.6.8 don't work
Reply With Quote
  #19  
Old 11-15-2010, 03:50 PM
Greebo Greebo is offline
 
Join Date: Dec 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just reapplied this to 3.8.6 - works fine but the text to search in forumdisplay.php has changed:
Search for
Code:
        eval(print_standard_redirect($mark_read_result['phrase']));
replace with
Code:
        if (empty($_REQUEST['returnToSearch']))
        {
            eval(print_standard_redirect($mark_read_result['phrase']));
        }
        else
        {
            exec_header_redirect('search.php?do=getnew');
        }
Reply With Quote
Reply

Thread Tools

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 09:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04351 seconds
  • Memory Usage 2,281KB
  • 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
  • (3)bbcode_code
  • (1)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
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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