inherit
208720
0
Aug 30, 2023 17:47:53 GMT -8
solarbronco
Jon Snow is King of the North
152
May 2014
solarbronco
|
Post by solarbronco on Mar 25, 2017 18:34:45 GMT -8
Hi! Could anyone create a plugin to remove and/or block imgur pics from a forum?
Imgur is not https and this is causing me some issues of late. I have way too many pages and posts to go find all of the imgur pics one by one. Would it be possible to create a plugin that can block imgur and remove existing imgur image links?
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 25, 2017 18:52:44 GMT -8
Nothing can actually remove the links as far as I know (that would mean the plugin has the ability to edit posts without user interaction which I think would be disallowed as per dev guidelines) BUT you could use your censored word list to break imgur links.
If you censor the beginning part of the imgur URL, "http://i.imgur.com/", without the quotes, and set "whole words" to "no", then any URL posted will be broken with whatever content you wish.
|
|
inherit
208720
0
Aug 30, 2023 17:47:53 GMT -8
solarbronco
Jon Snow is King of the North
152
May 2014
solarbronco
|
Post by solarbronco on Mar 25, 2017 19:12:54 GMT -8
Nothing can actually remove the links as far as I know (that would mean the plugin has the ability to edit posts without user interaction which I think would be disallowed as per dev guidelines) BUT you could use your censored word list to break imgur links.
If you censor the beginning part of the imgur URL, "http://i.imgur.com/", without the quotes, and set "whole words" to "no", then any URL posted will be broken with whatever content you wish.
Thanks Kami! So, did you mean "set exact word to no"??
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Mar 25, 2017 19:27:56 GMT -8
Yep that's the one! In v4 it was called "whole words" or something to that effect.
|
|