Forbid posting links from postimg.cc

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
gvp9000
Registered User
Posts: 60
Joined: Mon Oct 02, 2023 4:03 pm

Forbid posting links from postimg.cc

Post by gvp9000 »

Forbid users posting links from postimg.cc or similar sites.
How can I do it ?
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26798
Joined: Fri Aug 29, 2008 9:49 am

Re: Forbid posting links from postimg.cc

Post by Mick »

How are they posting the links, as they are like https://url/imagename.jpg or using BBCodes?
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72541
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Forbid posting links from postimg.cc

Post by KevC »

What problem are you trying to solve by doing that?
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
halil16
Registered User
Posts: 1372
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: Forbid posting links from postimg.cc

Post by halil16 »

You can do this with word censorship.

Go to ACP > Posting > Messages menu > Word censoring page and add new word.

Word: *postimg.cc*
Replacement: ***

Submit. Logically, you should be doing what you want with this method. Please let know the result.
Buy me a coffee
Hire me for your phpBB board.
Introducing Mobile Upgrade! Make your phpBB board like an app!
O BeldeThatTowns*for sale*
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72541
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Forbid posting links from postimg.cc

Post by KevC »

For sure that will break the link but it won't be pretty. It's better to know what the problem is first.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
ssl
Registered User
Posts: 1979
Joined: Sat Feb 08, 2020 2:15 pm
Location: Le Lude, Pays de la Loire - France
Name: Fred Rimbert

Re: Forbid posting links from postimg.cc

Post by ssl »

I think the OP is looking to disallow all external links coming from postimg.cc, the extension Prime Links allows this

forbidden domains.png
You do not have the required permissions to view the files attached to this post.
Sorry for my English ... I do my best! :anger_right:

:point_right_tone3: phpBB: 3.3.13 | PHP: 8.3.9
:point_right_tone4: [Kill spam on phpBB] - [Some French translation of extensions]
"Mistress, Mistress someone is bothering me in pm"
User avatar
halil16
Registered User
Posts: 1372
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: Forbid posting links from postimg.cc

Post by halil16 »

KevC wrote: Wed Apr 17, 2024 8:46 am For sure that will break the link but it won't be pretty. It's better to know what the problem is first.
Sure, but the OP is worried for some reason and this method solves his problem. If they are trying to block a particular site, it could be a spam problem, security concerns or personal hatred. I have never been to the website in question, but the Google searches were as follows:

postimg.jpg

I entered it by mistake while checking, but the site won't open. Or Chrme may be blocking it for security.

ssl wrote: Wed Apr 17, 2024 8:55 am I think the OP is looking to disallow all external links coming from postimg.cc, the extension Prime Links allows this

But not every URL can be in the form of a link.

postimg.cc/blabla
postimg.cc
You do not have the required permissions to view the files attached to this post.
Buy me a coffee
Hire me for your phpBB board.
Introducing Mobile Upgrade! Make your phpBB board like an app!
O BeldeThatTowns*for sale*
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa
gvp9000
Registered User
Posts: 60
Joined: Mon Oct 02, 2023 4:03 pm

Re: Forbid posting links from postimg.cc

Post by gvp9000 »

Mick wrote: Wed Apr 17, 2024 7:47 am How are they posting the links, as they are like https://url/imagename.jpg or using BBCodes?
BBcodes, for example

Code: Select all

[url=https://postimg.cc/xxxxxxxxx][img]https://i.postimg.cc/PrjjyLvP/IMG-202xxxx.jpg[/img][/url]
KevC wrote: Wed Apr 17, 2024 8:14 am What problem are you trying to solve by doing that?
Images will be deleted after some time by such services and I don't want that to happen.
ssl wrote: Wed Apr 17, 2024 8:55 am I think the OP is looking to disallow all external links coming from postimg.cc, the extension Prime Links allows this
forbidden domains.png
Seems promising ... thank you.
Last edited by gvp9000 on Wed Apr 17, 2024 11:01 am, edited 1 time in total.
User avatar
KevC
Support Team Member
Support Team Member
Posts: 72541
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: Forbid posting links from postimg.cc

Post by KevC »

There's a group forum permission
Can use [img] BBCode tag

Set that to never. Then they will only be able to attach images (as long as you have server capacity and bandwidth for it).

If you block one site, they'll just use another, like imgur or flickr or imgbb etc etc etc.
-:|:- Support Request Template -:|:-
Image
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53514
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}

Re: Forbid posting links from postimg.cc

Post by Brf »

halil16 wrote: Wed Apr 17, 2024 8:40 am You can do this with word censorship.
The word censor does not prevent them from posting it. All it does is change the display for those users who leave the censor on. By default, the Standard Feature role allows users to turn it off.
User avatar
halil16
Registered User
Posts: 1372
Joined: Fri Jul 24, 2020 11:30 pm
Location: Turkiye
Name: Halil

Re: Forbid posting links from postimg.cc

Post by halil16 »

Sorry. Since I don't usually use this option, I assumed it didn't allow the user to publish those words. So I should have tested it first. I understand now, thank you. As KevC said, one must first understand the cause.
Buy me a coffee
Hire me for your phpBB board.
Introducing Mobile Upgrade! Make your phpBB board like an app!
O BeldeThatTowns*for sale*
"The day we will need ideas more than possessions, we will find the secret to true wealth." - Peyami Safa

Return to “[3.3.x] Support Forum”