Thread: Rant troll special!!
View Single Post
Old 03-11-2016, 11:15 AM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,600
Quote:
Originally Posted by brassmonkey View Post
Update march 11th 2016 happy troll hunting
You should replace this part :

Code:
     /**   $('div[style^="margin:"]').each(function (post_index, post_value) {
            var post_block = $(this);
            var post_author = $('strong', this).text();
            $(hide_users).each(function (hide_index, hide_user) {
                if (post_author === hide_user) {
                    post_block.remove();
                }
            });
        }); //removes any quotes someone may have made of a person on ignore, even if quotes multiple times but they have to have the name in the quote
**/
with this to remove their quotes and turn it into a pile of poo.


Code:
$('div[style^="margin:"]').each(function (post_index, post_value) {
   var post_block = $(this);
   var post_block_quote = $('div[style^="font-style:italic"]', this);
   var post_author = $('strong', this).text();
   $(hide_users).each(function (hide_index, hide_user) {
       if (post_author === hide_user) {
           //post_block.remove();
           $(post_block_quote).html("<br><font color=#998877><i>I'm a useless piece of </i></font><font size=6>&#128169</font>");
       }
   });
}); //removes any quotes someone may have made of a person on ignore, even if quotes multiple times but they have to have the name in the quote
blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote