Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2020-04-20 18:14:18

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Ignore post and topics by a user

Please give us or me this function. It would lead to a better forum.

Offline

#2 2020-04-20 18:21:57, last edited by ZeldaXD (2020-04-20 18:22:24)

ZeldaXD
EE Homeboy
From: Cyprus
Joined: 2015-02-15
Posts: 1,539
Website

Re: Ignore post and topics by a user

Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:

// ==UserScript==
// @name         Peacefier
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Ignores Peace's posts in EE Forums.
// @author       SirJosh, modified by ZeldaXD
// @match        https://forums.everybodyedits.com/viewtopic.php?id=*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    Array.from(document.getElementsByClassName("uid1440")).forEach(post => {
        if (post.nodeName === "SPAN") {
            const element = post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
            element.parentNode.removeChild(element);
        }
    })
})();

gLjTZE1.png

Offline

#3 2020-04-20 18:23:08

2b55b5g
Formerly 2B55B5G TNG
Joined: 2016-08-27
Posts: 3,002

Re: Ignore post and topics by a user

ZeldaXD wrote:

Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:

// ==UserScript==
// @name         Peacefier
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Ignores Peace's posts in EE Forums.
// @author       SirJosh
// @match        https://forums.everybodyedits.com/viewtopic.php?id=*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    Array.from(document.getElementsByClassName("uid1440")).forEach(post => {
        if (post.nodeName === "SPAN") {
            const element = post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
            element.parentNode.removeChild(element);
        }
    })
})();

does it work with other people?


she/her

also known as DevilCharlotte

search 2bisniekitastan if you wanna find my worlds on ArchivEE

pfp: https://picrew.me/image_maker/1272810

Offline

#4 2020-04-20 18:24:01

TaskManager
Formerly maxi123
From: i really should update this
Joined: 2015-03-01
Posts: 9,457

Re: Ignore post and topics by a user

2B55B5G TNG wrote:
ZeldaXD wrote:

Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:

// ==UserScript==
// @name         Peacefier
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Ignores Peace's posts in EE Forums.
// @author       SirJosh
// @match        https://forums.everybodyedits.com/viewtopic.php?id=*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    Array.from(document.getElementsByClassName("uid1440")).forEach(post => {
        if (post.nodeName === "SPAN") {
            const element = post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;
            element.parentNode.removeChild(element);
        }
    })
})();

does it work with other people?

no you need to install a different plugin for each person


i8SwC8p.png
signature by HG, profile picture by bluecloud, thank!!
previous signature by drstereos

Offline

#5 2020-04-20 18:24:46

ZeldaXD
EE Homeboy
From: Cyprus
Joined: 2015-02-15
Posts: 1,539
Website

Re: Ignore post and topics by a user

2B55B5G TNG wrote:
ZeldaXD wrote:

Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:

...

does it work with other people?

You would need to change "uid1440" (that's peace's uid)


gLjTZE1.png

Offline

#6 2020-04-20 18:52:35, last edited by capasha (2020-04-20 19:01:47)

capasha
Member
Joined: 2015-02-21
Posts: 4,066

Re: Ignore post and topics by a user

ZeldaXD wrote:

Use TamperMonkey or GreaseMonkey with this user script to ignore all Peace's posts:

Thank you so much. Now I can enjoy the forum.

Offline

#7 2020-04-20 18:58:38

Tomahawk
Forum Mod
From: UK
Joined: 2015-02-18
Posts: 2,824

Re: Ignore post and topics by a user

.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode

what on earth


One bot to rule them all, one bot to find them. One bot to bring them all... and with this cliché blind them.

Offline

#8 2020-04-20 18:59:08, last edited by Pqwerty (2020-04-20 18:59:46)

Pqwerty
Member
From: 'Murica
Joined: 2015-10-09
Posts: 1,997

Re: Ignore post and topics by a user

ZeldaXD wrote:

post.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode;

What a family tree

Edit: sniped

Offline

#9 2020-04-20 19:04:15

ZeldaXD
EE Homeboy
From: Cyprus
Joined: 2015-02-15
Posts: 1,539
Website

Re: Ignore post and topics by a user

Tomahawk wrote:
.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode

what on earth

I don't even know ask SirJosh


gLjTZE1.png

Offline

#10 2020-04-20 19:45:26

TundrumMax
Formerly Memomemo
Joined: 2017-10-26
Posts: 447

Re: Ignore post and topics by a user

Tomahawk wrote:
.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode

what on earth

From what I've read of the HTML code of this page, it first creates a list using the "uid" class tag. This "uid" class is to do with your username being displayed (the one above everyone's pfp, you know what I mean). The program finds all of the matching uids, and it has to go up the tree of HTML elements until it selects the entire post.
unknown.png?width=263&height=191
Underlined in red is what the the program will find (note that is says "uid"). Then, it has to go up that tree until it reaches the highlighted blue section. That highlighted blue section is the entirety of the post. If that is deleted, then the entire thing gets deleted, and it'll be like it never existed.

That is pretty much the only way you could possibly delete an individual user's post, unfortunately. If there was an easier way to do so, then he would be doing that instead. Unfortunately, due to how the HTML code is written, he has to add '.parentNode' multiple times.

Hope this explains it.


I can speak by breathing in but it sounds like a dying horse

TundrumMax.png

Signature by HG

Offline

Wooted by:

#11 2020-04-20 20:09:44

peace
Member
From: admin land
Joined: 2015-08-10
Posts: 9,226

Re: Ignore post and topics by a user

yeah and have double posts happening?


peace.png

thanks hg for making this much better and ty for my avatar aswell

Offline

#12 2020-04-20 20:11:08

2b55b5g
Formerly 2B55B5G TNG
Joined: 2016-08-27
Posts: 3,002

Re: Ignore post and topics by a user

peace wrote:

yeah and have double posts happening?

it's not


she/her

also known as DevilCharlotte

search 2bisniekitastan if you wanna find my worlds on ArchivEE

pfp: https://picrew.me/image_maker/1272810

Offline

#13 2020-04-21 08:59:15

peace
Member
From: admin land
Joined: 2015-08-10
Posts: 9,226

Re: Ignore post and topics by a user

2b i mean for example what if caapasha mutes me and i suggest rainbow spikes capasha doesnt see it wants rinabow spieks aswell makes a new topic and boom double post


peace.png

thanks hg for making this much better and ty for my avatar aswell

Offline

#14 2020-04-30 18:13:38

SirJosh3917
Formerly ninjasupeatsninja
From: USA
Joined: 2015-04-05
Posts: 2,095

Re: Ignore post and topics by a user

Tomahawk wrote:
.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode

what on earth

code fast write trash

Offline

Wooted by:

#15 2020-05-03 16:59:04

Meep805
Member
From: Null Island
Joined: 2015-07-05
Posts: 48

Re: Ignore post and topics by a user

peace wrote:

2b i mean for example what if caapasha mutes me and i suggest rainbow spikes capasha doesnt see it wants rinabow spieks aswell makes a new topic and boom double post

You're missing the obvious solution here, Piece. If only Capasha mutes your posts, then sure, we might have a problem. But if everyone mutes you, then the issue is solved.
As the old saying goes.
If a Peace posts on the forums but no one can see his posts, did he really post?


_____
| Hi. |
  V
__________                    _____
| Help me! |                    | No. |
  V                                        V
//ee.failforums.me/img/smilies/sad                                         //ee.failforums.me/img/smilies/big_smile

Offline

#16 2020-08-17 21:13:00

John
Member
Joined: 2019-01-11
Posts: 1,972

Re: Ignore post and topics by a user

Thanks! Very helpful!


PW?scale=2

Offline

#17 2020-08-17 22:22:39

Andymakeer
Member
From: Nine-tails Vale
Joined: 2016-05-29
Posts: 672

Re: Ignore post and topics by a user

Meep805 wrote:

If a Peace posts on the forums but no one can see his posts, did he really post?

Peace of Schrodinger


F

Offline

Wooted by:
Andymakeer1597699359784263

Board footer

Powered by FluxBB

[ Started around 1711656223.3162 - Generated in 0.092 seconds, 12 queries executed - Memory usage: 1.76 MiB (Peak: 2.01 MiB) ]