vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Mark All Forums Read Confirmation (https://vborg.vbsupport.ru/showthread.php?t=142376)

Smoothie 03-24-2007 04:18 AM

Slight problem, I think it's because my links are in the header, not the navbar.

First edit says to find this in forum home, but when I search, it appears in forum home, header and navbar:
Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>
Second edit is fine. Third edit says to find this in navbar, but it's not there:
Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>

Dismounted 03-24-2007 04:23 AM

Quote:

Originally Posted by Smoothie (Post 1210811)
First edit says to find this in forum home, but when I search, it appears in forum home, header and navbar:
Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>

Only the modification of FORUMHOME is required.
Quote:

Originally Posted by Smoothie (Post 1210811)
Second edit is fine. Third edit says to find this in navbar, but it's not there:
Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>

As you said before, this is probably caused by the dropdown being in your header.

Smoothie 03-24-2007 04:28 AM

So, I'm a bit confused. Besides replacing the forum home in the first edit and the forum display in the second edit, what do i find and replace in the navbar?

Dismounted 03-24-2007 04:29 AM

Do you have a 'Quick Links' drop-down in your navbar?

Smoothie 03-24-2007 04:34 AM

Quote:

Originally Posted by Dismounted (Post 1210821)
Do you have a 'Quick Links' drop-down in your navbar?

The QL's are in the header. The code I believe is in the navbar.

Actually I just looked, the QL's are in the header and this bit of code is in the QL's:
Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>

Dismounted 03-24-2007 04:41 AM

That's the one, edit that one :p.

Smoothie 03-24-2007 04:46 AM

Quote:

Originally Posted by Dismounted (Post 1210830)
That's the one, edit that one :p.

And replace with?? :)

Dismounted 03-24-2007 04:47 AM

The navbar edit.

Smoothie 03-24-2007 04:58 AM

Confirmed, installed and working on all pages.

BTW, when searching for this code, it appears in header, navbar and forum home as mentioned above and it does need to be replaced in all 3 instances.
Code:

<a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a>

Tralala 03-25-2007 03:59 PM

Thanks for your continued work and improvement on this, Dismounted. I did all the edits/updates you've shared here, and it now appears to be working for me everywhere (in both the default vB skin as well as my custom skin.) As the original requester, I certainly appreciate this enhancement!

There's one last location to "Mark All Forums Read" though that could use the confirmation pop-up, though. New in vBulletin 3.6.x is the ability to double-click the icon to the right of a Forum name... that marks that particular forum as "read."

See here:
https://vborg.vbsupport.ru/attachmen...2&d=1145289561

I'd like to get a confirmation pop-up there too, to keep things consistent.


All times are GMT. The time now is 08:01 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.01444 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete