Announcement

Collapse
No announcement yet.

"Mark Channels Read" Is Missing From The Sub-Navbar

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Glenn Vergara View Post

    I noticed that you commented out some lines in my original code. That means all unread posts in all channels will be unread whenever you click the link while on any page. That code was originally intended to work in Search pages only. But what if you are in a Forum channel page? Shouldn't the Mark Channels Read link make all posts unread under that forum channel only? I'm thinking of updating the code that will make all posts unread in the appropriate channel (if exists), otherwise in the root channel.
    What happened there was, I kept getting requests for it to (a) work on every page and (b) mark everything read regardless of page. In my experience, that's what most people think it is....a button to mark *everything* read, regardless of the page it appears on. So I tweaked the code to make it do exactly that. That's how it used to work on vB3 / vB4 so it seemed to be the 'expected behaviour'.

    Obviously it can be amended to make more specific mark read buttons.
    MARK.B | vBULLETIN SUPPORT

    TalkNewsUK - My vBulletin 5.6.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • Glenn Vergara
      Glenn Vergara commented
      Editing a comment
      I see. It should be renamed "Mark All Posts Read" or something similar then to avoid confusion.

  • #17
    That is, in fact, how I expected it to work as well.

    In vb3/4, if you want to just mark the single forum as read, there was another link elsewhere to do that, the one in the nav always does them all.
    Baby, I was born this way

    Comment


    • #18
      On sites I've done it for, I've renamed it 'Mark Forums Read'. I know it technically does more than just forums, but the average user has no idea what a 'Channel' is.
      MARK.B | vBULLETIN SUPPORT

      TalkNewsUK - My vBulletin 5.6.2 Demo
      AdminAmmo - My Cloud Demo

      Comment


      • #19
        "Mark All Posts Read" sounds more clear and appropriate. And it applies not just to forums.

        GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

        Comment


        • #20
          Its absence was driving me crazy.

          I dont have time to look at new code atm, so I've just added the "Mark Channels Read" option, which replicates what the link at the bottom of the page does.

          Baby, I was born this way

          Comment


          • #21
            This has been added back to vBulletin.com It should really be added back to the download package.

            Comment


            • #22
              It was taken off the navbar because it didn't work on every page.
              MARK.B | vBULLETIN SUPPORT

              TalkNewsUK - My vBulletin 5.6.2 Demo
              AdminAmmo - My Cloud Demo

              Comment


              • #23
                Originally posted by Mark.B View Post
                It was taken off the navbar because it didn't work on every page.
                If it works on the index page that's good enough for most people. I have a site where all of the forums are hidden on tabs, so the only other option is to go into every tab individually and scroll to the bottom of the page to click "Mark Read." That's a ridiculous solution.

                Comment


                • #24
                  Not sure why it was added back to the Navigation Bar here. It doesn't work in the Navigation Bar and that is why it was removed in the first place.
                  Translations provided by Google.

                  Wayne Luke
                  The Rabid Badger - a vBulletin Cloud demonstration site.
                  vBulletin 5 API - Full / Mobile
                  Vote for your favorite feature requests and the bugs you want to see fixed.

                  Comment


                  • #25
                    Originally posted by In Omnibus View Post

                    If it works on the index page that's good enough for most people. I have a site where all of the forums are hidden on tabs, so the only other option is to go into every tab individually and scroll to the bottom of the page to click "Mark Read." That's a ridiculous solution.
                    There is a Mark Channels Read link at the bottom of the main forum listing page. You can see it on vBulletin.com/forum. This is the exact same place it existed in vBulletin 2, 3, and 4. If you hid this, you would have to come up with a new solution.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud demonstration site.
                    vBulletin 5 API - Full / Mobile
                    Vote for your favorite feature requests and the bugs you want to see fixed.

                    Comment


                    • #26
                      This article will allow self-hosted customers to add it back to the navbar:
                      https://www.adminammo.com/articles/v...-channels-read
                      Not for Cloud though I'm afraid.
                      MARK.B | vBULLETIN SUPPORT

                      TalkNewsUK - My vBulletin 5.6.2 Demo
                      AdminAmmo - My Cloud Demo

                      Comment


                      • #27
                        Originally posted by Mark.B View Post
                        This article will allow self-hosted customers to add it back to the navbar:
                        https://www.adminammo.com/articles/v...-channels-read
                        Not for Cloud though I'm afraid.
                        A workaround for vBCloud is ro add the JS code to the Google Analytics setting in AdminCP.

                        GIPHY for vB5 AutoLinker Auto-Create Flag Report Topic Social Icons in Postbit Clear Cache Cron DragDrop Upload Topic AJAX AutoUpdate Custom Avatars Selector Stop Links in Posts...and more!

                        Comment


                        • #28
                          Originally posted by Mark.B View Post

                          Code does work. I'm using it on www.talknewsuk.com. The Mark Channels Read link in the sub-navbar works on every page.
                          Old thread, but this is what I found. I added the code in the navigation bar, and it works for my site. Thanks.

                          Comment


                          • #29
                            This has been added back to vBulletin.com It should really be added back to the download package.

                            Comment


                            • #30
                              Originally posted by alfred0809 View Post
                              This has been added back to vBulletin.com It should really be added back to the download package.
                              The forums here do not have a "Mark Channel Read" link in the sub-navigation bar within the header of the site.
                              Click image for larger version  Name:	2020-06-10_09-23-13.png Views:	2 Size:	54.0 KB ID:	4442271



                              The link was removed because it didn't work. It did not have access to the proper variables for the JavaScript to know what channel to mark read. When it did work, it would break because people edited the text of the link. Instead, we have added a "Mark Channels Read" link towards the footer of the page (just like older versions of vBulletin) that is in a position where it does have access to the correct variables and is phrased based so it doesn't break on editing.

                              This change has been in place for quite a few years now and I don't foresee it changing back in the immediate future. As such, I am going to close this topic.

                              If you feel an additional link is necessary then you can create a feature request for it. If we can add it without forcing a page load, then we will consider it.
                              Translations provided by Google.

                              Wayne Luke
                              The Rabid Badger - a vBulletin Cloud demonstration site.
                              vBulletin 5 API - Full / Mobile
                              Vote for your favorite feature requests and the bugs you want to see fixed.

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              X