Wahrscheinlich funktioniert immer noch was nicht richtig, aber das hier sollte alle Posts und Threads von Leuten entfernen, die auf der Ignorierliste stehen.
Wer unter Firefox Greasemonkey hat kann einfach auf den Affen klicken, dann "Neues Benutzerscript" anlegen, dann diesen Code reinkopieren, speichern und gut ist.
Wer schon das alte Script hat, selektiert und kopiert den untenstehenden Code, klickt auf den Affen, -> vBulletin Total Ignore -> bearbeiten -> STRG A (alles markieren) -> STRG+V (drüberkopieren) -> STRG+S (speichern)
Ich übernehme keine Garantie.
PHP-Code:
// ==UserScript==
// @name vBulletin Total Ignore
// @include */index.php*
// @include */search.php*
// @include */forum.php*
// @include */forumdisplay.php*
// @include */showthread.php*
// @include */showpost.php*
// @include */private.php*
// @include */member.php*
// @version 2.1.2
// @date 2014-01-27
// @creator Tjololo
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @namespace https://greasyfork.org/users/710
// @description Remove all mention of ignored people (except thanks)
// @grant GM_log
// ==/UserScript==
var plonk = (localStorage["plonk"] ? localStorage["plonk"].split(',') : new Array());
if (jQuery.inArray("OTER",plonk) == -1)
{plonk.push("OTER")};
localStorage["plonk"] = plonk;
console.log("Array of Ignored " + plonk);
$('li[class*=postbitignored]').each(function() {
var name = $(this).find(".postbody").find("strong").html();
if ($.inArray(name,plonk) == -1)
plonk.push(name);
localStorage["plonk"] = plonk;
$(this).hide();
console.log("Found "+name);
});
$(".bbcode_quote").each(function() {
var name = $(this).find("strong").html();
if ($.inArray(name,plonk) > -1){
console.log("Found quote from "+name);
$(this).html("Quote from "+name+" hidden");
$(this).hide();
}
});
$('li[class*="threadbi"]').each(function() {
var name = $(this).find(".username").find("strong").html();
if ($.inArray(name,plonk) !== -1){
$(this).hide();
console.log("hiding "+this)};
});
$('li[class*="threadbi"]').each(function() {
var name = $(this).find(".author").find('a[href^="https://www.gleitschirmdrachenforum.de/member.php/"]').html();
if ($.inArray(name,plonk) !== -1){
$(this).hide();
console.log("hiding "+this)};
});
$('li[class*="threadbi"]').each(function() {
var name = $(this).find(".memberaction").find("strong").html();
if ($.inArray(name,plonk) !== -1){
$(this).hide();
console.log("hiding "+this)};
});
$('li[class*="threadbi"]').each(function() {
var name = $(this).find(".threadlastpost").find('a[href^="https://www.gleitschirmdrachenforum.de/member.php/"]').html();
if ($.inArray(name,plonk) !== -1){
$(this).hide();
console.log("hiding "+this)};
});
$('li[class*="forumbit_post"]').each(function() {
var name = $(this).find(".username").find("strong").html();
if ($.inArray(name,plonk) !== -1){
$(this).hide();
console.log("hiding "+this)};
});
$("#pagination_top").before($("<a></a>").addClass("newcontent_textcontrol").text("Clear totalignore list").click(function() { if(confirm("Clear the totalignore list? It will add each user it finds an ignored stub for.")) localStorage.removeItem("plonk"); }));