Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mark All Forums Read Confirmation Details »»
Mark All Forums Read Confirmation
Version: 1.2, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.x Rating:
Released: 03-17-2007 Last Update: 09-18-2007 Installs: 29
Uses Plugins Template Edits
 
No support by the author.

Mark All Forums Read Confirmation

Description:
This mod asks for confirmation when marking forums read.

Request:
https://vborg.vbsupport.ru/showthread.php?t=142371

Installation:
All the installation information is in the package.

Changes:
4 Plugins
4 Phrases

Change Log:
19/09/2007 - Version 1.2
- Automatic Template Edits
- Added Confirm When Double-Clicking Forum Icon
- Updated ReadMe

20/03/2007 - Version 1.1
- Extended Functionality Globally

18/03/2007 - Version 1.0
- Initial Release

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 03-18-2007, 05:44 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suggest to remove the link from there because it won't ever work

Quote:
Originally Posted by Tralala View Post
Actually, this works for me everywhere, except the QuickLinks pulldown in the standard vBulletin skin. I select the "Mark Forums Read" menu option, confirm the dialog that pops up, then nothing happens; no page refresh like I am used to.

(Ironically enough it works fine in my custom skin, in the QuickLinks pulldown, and all the other spots.)

Any clues? Here's the code:

Before:
Code:
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
After:
Code:
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow" onclick="return mark_all_read()">$vbphrase[mark_forums_read]</a></td></tr>
Reply With Quote
  #13  
Old 03-18-2007, 06:48 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ziki View Post
I suggest to remove the link from there because it won't ever work
Yeah, since I discovered the code mod wasn't working there I removed it and put it back to the "original" way. I also moved the "Mark Forums Read" to a different position of the QuickLinks menu, so it would be less likely to be selected by user mistake.


The confirmation mod DOES work properly in the QuickLinks pulldown of my other (customized) skin... at least, when I am in forumhome. (The confirmation dialog doesn't seem to pop up when I choose it from UserCP, or Threadview, or Search. But even with that, the menu command still works, just no confirmation dialog.) It didn't work in vBulletin at all.

Why is there no way to get it to work as desired in the the QuickLinks pulldown? Why can it work (somewhat, ie: in forumhome, but not elsewhere) in one skin... but not in vB skin at all? I tried making a seperate "Mark Forums Read" link in navbar template, and noticed the same weirdness. The confirmation dialog only appears when accessing it from forumhome.

Just wondering, trying to learn.



Would it make sense to introduce this confirmation dialog into the "do=markread" command instead? That way it'd be universal to it's invocation everywhere. Make a preference option in UserCP so visitors could choose whether or not they get the Confirmation dialog... and I'd nominate this for MOTM.
Reply With Quote
  #14  
Old 03-18-2007, 07:39 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome, never thought to do this. Nice job

/me clicks Install
Reply With Quote
  #15  
Old 03-18-2007, 07:49 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great idea. Installed.
Reply With Quote
  #16  
Old 03-18-2007, 08:06 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So wait, this works, but it don't in the QL?
Reply With Quote
  #17  
Old 03-18-2007, 08:16 PM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works fine here.
Reply With Quote
  #18  
Old 03-18-2007, 08:55 PM
Tralala's Avatar
Tralala Tralala is offline
 
Join Date: Jan 2006
Posts: 1,207
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Smoothie View Post
works fine here.
Test it further, kemosabe. It works on your forumhome's QuickLink menu only... but NOT when you try it from anywhere else (ie: inside a forum, a thread, UserCP, etc.)

I just checked on your forum (macfora.com) and see it doesn't work. In fact, choosing the command from those other places does nothing on your forum... it breaks the menu item completely.
Reply With Quote
  #19  
Old 03-19-2007, 12:36 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tralala View Post
Test it further, kemosabe. It works on your forumhome's QuickLink menu only... but NOT when you try it from anywhere else (ie: inside a forum, a thread, UserCP, etc.)

I just checked on your forum (macfora.com) and see it doesn't work. In fact, choosing the command from those other places does nothing on your forum... it breaks the menu item completely.
That's funny, because I never thought to check those. I only checked forumhome. And you're correct, it no worky on those other pages.
Reply With Quote
  #20  
Old 03-19-2007, 12:39 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So, we have a half working mod here. Works only from forumhome and not anywhere else.
Reply With Quote
  #21  
Old 03-19-2007, 12:42 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One other thang. When clicking forum icons to "mark this forum and contents as read", you should get a confirmation box for that too, no? I gotta uninstall until this gets fixed.
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 11:05 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.08253 seconds
  • Memory Usage 2,313KB
  • Queries Executed 26 (?)
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
  • (2)bbcode_code
  • (4)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
  • (3)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
  • (11)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