KARAOKE SCENE MAGAZINE ONLINE! - Ignore certain threads? Administrative Comments, Suggestions & Questions Karaoke Scene's Karaoke Forums Home | Contact Us | Site Map  

Karaoke Forums

Karaoke Scene Karaoke Forums

Karaoke Scene

   
  * Login
  * Register

  * FAQ
  * Search

Custom Search

Social Networks


premium-member

Offsite Links


It is currently Fri Apr 26, 2024 5:44 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Ignore certain threads?
PostPosted: Sat Dec 17, 2011 6:42 am 
Offline
Extreme Plus Poster
Extreme Plus Poster
User avatar

Joined: Fri Dec 02, 2011 12:38 pm
Posts: 6085
Images: 1
Location: Redmond, WA
Been Liked: 1663 times
Is there a way to mark a thread to be ignored? I would like to mark certain threads to not show up when I select "View Unread Posts".

-Chris

_________________
-Chris


Top
 Profile Personal album Singer's Showcase Profile 
 
PostPosted: Sat Dec 17, 2011 6:49 am 
Offline
Extreme Plus Poster
Extreme Plus Poster
User avatar

Joined: Tue Apr 04, 2006 9:24 pm
Posts: 5576
Location: Cocoa Beach
Been Liked: 122 times
chrisavis wrote:
Is there a way to mark a thread to be ignored? I would like to mark certain threads to not show up when I select "View Unread Posts".

-Chris

I have a GreaseMonkey script that ignores certain forums. It could be modified to ignore threads.

Code:
// ==UserScript==
// @name           Ignore certain forums
// @namespace      http://www.inkaraoke.com/karaoke/
// @description    Ignore certain forums
// @include        http://*karaokescene.com/forums/search*
// ==/UserScript==

(function() {
   var results = document.evaluate("//a", document, null, XPathResult.ANY_TYPE, null);
   var resultNodes = [];
   var block = new Array;
   block['TheLoungeOffTopic'] = 1;
   block['KJsONLY'] = 1;
   block['KaraokeLegalitiesPiracyandmore'] = 1;
   block['NewbieIntro'] = 1;
   block['IntroductionNewbies'] = 1;
   block['NewMusicRequestampReleased'] = 1;
//   block['Announcements'] = 1;
   block['Events'] = 1;
   block['SingersForum'] = 1;
   block['SingersShowcaseDiscussions'] = 1;
   var ct = 0;
   while (aResult = results.iterateNext()) {
      resultNodes.push(aResult);
   }
   for (var i in resultNodes) {
      var containingRow = resultNodes[i].parentNode.parentNode.parentNode;
      var user = resultNodes[i].innerHTML;
      user = user.replace(/\W+/g, '');
// alert("Found forum " + user);
      // containingRow.setAttribute('class', user);
      if(block[user])
          containingRow.style.display='none';
   }

})();

_________________
[color=#ffff55]Mickey J.[/color]
Alas for those who never sing, but die with all their music in them.
-- Oliver Wendell Holmes, Sr.


Top
 Profile Singer's Showcase Profile 
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 199 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB® Forum Software © phpBB Group

Privacy Policy | Anti-Spam Policy | Acceptable Use Policy Copyright © Karaoke Scene Magazine
design & hosting by Cross Web Tech