MU Soapbox

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Muxify
    • Mustard

    So not only is there no "ignore" feature...

    Suggestions & Questions
    14
    31
    9822
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Ninjakitten
      Ninjakitten last edited by

      No idea if it's any good or covers what needs covering here, but https://github.com/exo-do/nodebb-plugin-ignore-users exists.

      1 Reply Last reply Reply Quote 1
      • TNP
        TNP last edited by

        Is there an ignore thread plugin?

        Ninjakitten 1 Reply Last reply Reply Quote 0
        • Ninjakitten
          Ninjakitten @TNP last edited by

          @TNP
          I don't know what or where it is, but I think so. One forum I saw when I was looking around seemed to have an 'ignore' button at the thread level.

          1 Reply Last reply Reply Quote 0
          • Luna
            Luna last edited by

            It's less about asking for things and more about being a twat while doing so.

            Fun? What is this fun thou speakest of?

            1 Reply Last reply Reply Quote 1
            • WTFE
              WTFE last edited by

              This was asked for quite a long while ago with no response outside of a metaphorical shrug.

              I've said it before many, many times. I'll probably wind up saying it again many, many times. "You get the behaviour you reward."

              Thenomain 1 Reply Last reply Reply Quote 0
              • Glitch
                Glitch last edited by

                I looked at that plugin before, when it was asked for last time. It was incomplete at the time. Looking at it again, I'm not sure it matches with the version of the forums we're running. Finally, I haven't felt like making it compatible/finishing it. So no, there's no ignore user feature.

                1 Reply Last reply Reply Quote 1
                • Ninjakitten
                  Ninjakitten last edited by Ninjakitten

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • Thenomain
                    Thenomain @WTFE last edited by

                    @WTFE

                    So now, a literal shrug.

                    “If you wish to make an apple pie from scratch, you must first invent the universe.”
                    ― Carl Sagan, Cosmos

                    1 Reply Last reply Reply Quote 1
                    • Ninjakitten
                      Ninjakitten last edited by Ninjakitten

                      The previous version was too half-assed, so I removed it. Then I actually got interested in making things work better, so here's version 2 of the userscript, which is about three-quarters-assed. It seems to work in Greasemonkey in Firefox, and will probably work in Tampermonkey in Chrome as well. Put users you want to ignore in the users array, and threads in the threads array. Spelling, capitalization, and punctuation matter. It doesn't eliminate users entirely (they can still message you, you'll still see quotes of them, threads they reply to will still pop up as having a new post, etc.) but it hides their posts and optionally threads they started.

                      If I get bored/inspired maybe I'll make a version 3 with more bells and whistles, but for now, here you go.

                      // ==UserScript==
                      // @name        Go Away
                      // @namespace   MSB
                      // @include     http://musoapbox.net/*
                      // @version     2.0
                      // @run-at      document-end
                      // @grant       none
                      // ==/UserScript==
                      
                      'use strict';
                      
                      (function ($) {
                      
                          // Users you want to ignore
                          var users = ["Name1","Name2","NameN"];
                      
                          // Threads you want to ignore
                          var threads = ["Thread1","Thread2","ThreadN"];
                      
                          // Ignore threads started by ignored users? (true or false)
                          var hideStartedBy = true;
                      
                          function cleanUsers() { 
                            $.each(users,function(index,value) {
                                $('li[data-username="'+value+'"]').css('display','none');
                                $('strong:contains("'+value+'")').closest('.card').css('display','none');
                            });
                          }
                          function cleanThreads() {
                              $.each(threads,function(index,value) {
                                  $('meta[content="'+value+'"]').parent('li.row').css('display','none');
                              });
                              if (hideStartedBy) {
                                  $.each(users,function(index,value) {
                                      $('.pull-left img[data-original-title="'+value+'"]').closest('li[component="category/topic"]').css('display','none');
                                  });
                              }
                          }
                      
                          cleanUsers();
                          cleanThreads();
                      
                          $(window).on('action:ajaxify.end', function(data) {
                              cleanUsers();
                              cleanThreads();
                          });    
                          $(window).on('action:posts.loaded', function(data) {
                              cleanUsers();
                          });
                          $(window).on('action:topics.loaded', function(data) {
                              cleanUsers();
                              cleanThreads();
                          });
                      })(jQuery)
                      
                      Ninjakitten 1 Reply Last reply Reply Quote 2
                      • Alzie
                        Alzie last edited by

                        Well that was a roller coaster ride of emotions and bad decisions.

                        Alzie's Too Long Playlist

                        1 Reply Last reply Reply Quote 1
                        • Ninjakitten
                          Ninjakitten @Ninjakitten last edited by

                          Since I actually have someone I want to ignore now, here's a slight update of the script to fix the bit that I see broke with the new version of the forum. It's still not fancy, but it does a basic job. Works in Firefox with Greasemonkey, probably works in Chrome with Tampermonkey but I've not tested that.

                          // ==UserScript==
                          // @name        Go Away
                          // @namespace   MSB
                          // @include     http://musoapbox.net/*
                          // @version     2.0
                          // @run-at      document-end
                          // @grant       none
                          // ==/UserScript==
                          
                          'use strict';
                          
                          (function ($) {
                          
                              // Users you want to ignore
                              var users = ["Name1","Name2","NameN"];
                          
                              // Threads you want to ignore
                              var threads = ["Thread1","Thread2","ThreadN"];
                          
                              // Ignore threads started by ignored users? (true or false)
                              var hideStartedBy = true;
                          
                              function cleanUsers() { 
                                $.each(users,function(index,value) {
                                    $('li[data-username="'+value+'"]').css('display','none');
                                    $('span[data-original-title="'+value+'"]').closest('.card').css('display','none');
                                });
                              }
                              function cleanThreads() {
                                  $.each(threads,function(index,value) {
                                      $('meta[content="'+value+'"]').parent('li.row').css('display','none');
                                  });
                                  if (hideStartedBy) {
                                      $.each(users,function(index,value) {
                                          $('.pull-left div[data-original-title="'+value+'"]').closest('li[component="category/topic"]').css('display','none');
                                      });
                                  }
                              }
                          
                              cleanUsers();
                              cleanThreads();
                          
                              $(window).on('action:ajaxify.end', function(data) {
                                  cleanUsers();
                                  cleanThreads();
                              });    
                              $(window).on('action:posts.loaded', function(data) {
                                  cleanUsers();
                              });
                              $(window).on('action:topics.loaded', function(data) {
                                  cleanUsers();
                                  cleanThreads();
                              });
                          })(jQuery)
                          
                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 2 / 2
                          • First post
                            Last post