News:

Wondering if this will always be free?  See why free is better.

Main Menu

how to block photobucket ?

Started by panoskouf, December 02, 2017, 08:27:36 AM

Previous topic - Next topic

panoskouf

1) I would like to block all Photobucket images from showing (other sites are ok)

2) Is there a predefined list of +18 rated sites where I can block somehow? (either make links not working or users not be able to post them)

3)How to hide all links from guests?

thanks in advance  :-*

vbgamer45

1. Easy way would be to use the word censor.
2. No there isn't a list yet.
3. Try my mod here https://custom.simplemachines.org/mods/index.php?mod=342
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

panoskouf


SusanTN

Edit the Subs.php from the sources directory

Find the function parse_bbc

Immediately after the global declarations  you will see


      // Don't waste cycles
        if ($message === '')
                return '';


After that add

        $message = preg_replace("/(\[img.*\].*photobucket.*)(\.jpg)(\[\/img.*\])/i", "", $message);


Problem solved. You can do the same thing for other image hosts.

vbgamer45

Nice tip! I would maybe add some text to say photobucket not allowed so people do not get confused.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SusanTN

I ended up with

        $message = preg_replace("/(\[url=.*photobucket.*\])(\[\/url.*\])/i", "[Link Removed]", $message);
        $message = preg_replace("/(\[img.*\].*photobucket.*)(\.jpg)(\[\/img.*\])/i", "[Image Removed]", $message);


This is the message I posted to my members...

Quote from: Susan
All photobucket images have been removed from signatures and blocked from displaying in posts (even if you have paid them for the privilege). I will not tolerate spammy images extorting their customers, my poster to pay to display their images on my site.

Posts affected will state [Link Removed] for links, or [Image Removed] for images.

My recommendation is to find another image hosting provider.

Please take note: If your image host displays a large image advertisement when a image is linked to my site, or even when simply not found, they risk all images from that hosting provider being removed or blocked from my site as well.

I am looking at you tinypic...

I then sent photobucket a email message letting them know of my action and my post to you all so you could do the same...

vbgamer45

I like it! Yeah caused issues for my users as well they used  photobucket to host many images. Then they decieded to charge an extremely high fee if you want to place them on third party sites.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

showngo

Tagged to find later.


GREAT i formation,  im blocking the ransom site too.

panoskouf

You guys rock, keep up the good work  ;)

Advertisement: