Carter1984 Posted December 29, 2013 Share Posted December 29, 2013 I think there should be a way to ignore a person in chat. To that end I made a small script you can insert into the console of your browser. Simply copy/paste it and hit enter. Then just type: block('USER_NAME_HERE'); It is case sensitive. It basically just polls the chat and anytime a comment is made by the person you enter, it removes it from view. Have not tested this over long periods of time, but I think it is performant enough to work well in most use cases. Once you refresh your browser you'll have to repeat the process. Don't worry about screwing anything up as you can always refresh page and start over. I would be curious how it works with multiple ignores. Maybe I'll make this into a chrome extension if anyone else finds it useful. function block(userName){ window.setInterval(function(){ var items = jQuery('li.post'); items.each(function(){ if(jQuery(this).find('label').text() === userName){ jQuery(this).hide(); if(jQuery(this).next('li.post').length > 0){ checkNext(jQuery(this)); } } }); },500);}function checkNext(theItem){ if(theItem.next('li.post').length > 0 && theItem.next('li.post').find('label')){ theItem.next('li.post').hide(); if(theItem.next('li.post').next('li.post').length > 0){ checkNext(theItem.next('li.post').next('li.post')); } }} Link to comment Share on other sites More sharing options...
Freedomain Posted December 29, 2013 Share Posted December 29, 2013 There is a way to ignore people in the chat room. My Profile, Edit Profile, Ignore Preferences. Link to comment Share on other sites More sharing options...
TheRobin Posted December 29, 2013 Share Posted December 29, 2013 Michael, unless something has changed recently, the "ignore chat" doesn't work for that. All it does afaik is that you don't get private chat invites, but you still see the text afaik. Link to comment Share on other sites More sharing options...
JamesP Posted December 29, 2013 Share Posted December 29, 2013 Thanks for that code snippet, Carter. I might be able to integrate that into the code for the chatroom. I will also probably submit it as a patch to the originators of the software. And Robin is right, there is currently no way to ignore people in the chat, you can only block them from initiating private chats. Link to comment Share on other sites More sharing options...
Carter1984 Posted December 29, 2013 Author Share Posted December 29, 2013 I found what you are talking about Mike. There is a "chats" checkbox in the "ignore preferences" section of the "edit profile" section. It is buried rather deep. I never would have found it unless you pointed it out. I'll see if I can add the option as a context menu item available from the chat room. UPDATE: I did test the ignore functionality. Checking the chat ignore check box does not actually block messages from appearing in the chat window. Link to comment Share on other sites More sharing options...
PatrickC Posted December 29, 2013 Share Posted December 29, 2013 Good job Carter Link to comment Share on other sites More sharing options...
cherapple Posted December 29, 2013 Share Posted December 29, 2013 Thank you. I would use a Chrome extension. Link to comment Share on other sites More sharing options...
Freedomain Posted December 30, 2013 Share Posted December 30, 2013 Whoops, my mistake! Thanks again Carter! Link to comment Share on other sites More sharing options...
Carter1984 Posted January 2, 2014 Author Share Posted January 2, 2014 This should be easier to use than the above posted code which needed to be pasted into your console. It's a Chrome Extension! This is my first Chrome Extension so just be aware this is considered alpha! I've tested it quite a bit though and it seems to work pretty well I think. Just make a note: *Once you install the extension you will need to refresh your browser for this to work. *Whenever you close your browser and open it back up, you will need to click the extension button in order to start blocking your saved list of ignored users (why run the blocker when there is no need?). *If you remove a user from your ignore list you may have to refresh the browser. Here is a link to install the extension via the Chrome Web Store: https://chrome.google.com/webstore/detail/fdr-chat-block/mglableldfdmgfmfjhlcfnmnbabjdoeh This file is the source code: block/mglableldfdmgfmfjhlcfnmnbabjdoehFDRChatBlock.zip Link to comment Share on other sites More sharing options...
cherapple Posted January 2, 2014 Share Posted January 2, 2014 Installed and it works. I didn't have to refresh. I love it. Link to comment Share on other sites More sharing options...
JamesP Posted January 15, 2014 Share Posted January 15, 2014 Hey, I just integrated the user settings for "Ignore chat" into the chat room so that now you can ignore users without having to use Chrome. Make sure you're using the correct language or the text might be a little confusing. You should see "English (USA)" instead of "English (USA) -- obsolete" I also fixed the position of the menu that pops up when you click on a user. Link to comment Share on other sites More sharing options...
FriendlyHacker Posted January 15, 2014 Share Posted January 15, 2014 Hey Carter, nice work with the jQuery, but the best way to deal with this feature on an Invision Boards integrated chat, is to actually pull the preselected blocked list from the database. If anyone wants to use custom chat features, it should become an extra incentive for people to register and join the community, instead of doing extra work for front end only. Link to comment Share on other sites More sharing options...
JamesP Posted January 15, 2014 Share Posted January 15, 2014 With a google chrome extension, he did the best he could with the tools available. Also, I implemented a solution which does just that anyway. Also, the chat is only available for registered users, except during the call in shows, so that observation also wouldn't apply in this case. Link to comment Share on other sites More sharing options...
Carter1984 Posted January 18, 2014 Author Share Posted January 18, 2014 You the man James! Link to comment Share on other sites More sharing options...
TheRobin Posted March 13, 2014 Share Posted March 13, 2014 Just wanted to say thanks. Really great, works even better than the ignore option we had in the old chat. Very useful at times So thanks again Link to comment Share on other sites More sharing options...
Psychophant Posted August 29, 2014 Share Posted August 29, 2014 You the man James! There is plenty of room for improvement. You cannot distinguish people who ignore you from people who blocked you, cannot distinguish an mature approach from an immature one. One idea is an autoblock option, people who blocked you are invisible to you - saves time and energy. Next idea is a lock symbol with a transparency effect on the user who blocked you - the same applies here. Link to comment Share on other sites More sharing options...
JamesP Posted August 29, 2014 Share Posted August 29, 2014 There is plenty of room for improvement. You cannot distinguish people who ignore you from people who blocked you, cannot distinguish an mature approach from an immature one. One idea is an autoblock option, people who blocked you are invisible to you - saves time and energy. Next idea is a lock symbol with a transparency effect on the user who blocked you - the same applies here.I don't follow. Why is ignoring without using the technology to automatically screen that person's chats mature? Link to comment Share on other sites More sharing options...
Psychophant Posted August 29, 2014 Share Posted August 29, 2014 I don't follow. Why is ignoring without using the technology to automatically screen that person's chats mature? In "real life" those people don't have a function to ignore others, so they are most likely emotionally a little bit immature and it is a continuum, not a black and white thing. Like Stef said, not to be a bad person doesn't make you a good person. What about the actual criticism that your posts end up in nirvana, because you don't know, who is actually ignoring you? Link to comment Share on other sites More sharing options...
AustinJames Posted August 29, 2014 Share Posted August 29, 2014 In "real life" those people don't have a function to ignore others Yes we do. It's called "walking away." Link to comment Share on other sites More sharing options...
JamesP Posted August 30, 2014 Share Posted August 30, 2014 In "real life" those people don't have a function to ignore others, so they are most likely emotionally a little bit immature and it is a continuum, not a black and white thing. Like Stef said, not to be a bad person doesn't make you a good person. What about the actual criticism that your posts end up in nirvana, because you don't know, who is actually ignoring you? That still doesn't answer why it's immature (or less mature, really, that's just splitting hairs) to use the technology of the chat room, which doesn't have a real life analogue. Regarding your posts ending up in nirvana, some, but not all, will give you more than adequate feedback before you go on an ignore list. Link to comment Share on other sites More sharing options...
Psychophant Posted September 3, 2014 Share Posted September 3, 2014 Yes we do. It's called "walking away." How about calling things by their proper name? That would be like leaving the chatroom + there are situations you cannot leave, in real life, the internet is part of. That still doesn't answer why it's immature (or less mature, really, that's just splitting hairs) to use the technology of the chat room, which doesn't have a real life analogue. That's being precise and correct. It is not like you have to answer someone or read someone's comment and if you are emotionally drawn to do it, you are most likely emotionally a little bit immature. Regarding your posts ending up in nirvana, some, but not all, will give you more than adequate feedback before you go on an ignore list. That proves my point. It is actually rather paretoish 20/80 20% do it 80% don't. Link to comment Share on other sites More sharing options...
Recommended Posts