vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Censor or replace specific URL by forum? (https://vborg.vbsupport.ru/showthread.php?t=321925)

tim330i 02-24-2016 11:29 PM

Censor or replace specific URL by forum?
 
I'm looking for a way to block a specific URL by forum. The story is that Imgur has blacklisted my site. Their issues is that my member have used it to host pictures of their items in our classifieds, which is against their TOS. As a result any Imgur images don't work on my site, and there is a lot of other locations and threads that are based on Imgur content. Apparently that is not a problem with Imgur.

Anyways Imgur policies aside how would I go about blocking their URL in my classifieds?

Thanks,
Tim

MarkFL 02-25-2016 01:52 AM

What does every such link begin and end with, and what would you like it replaced with? Also, what version of vB are you running?

blind-eddie 02-25-2016 02:56 AM

In your acp/vboptions/Censorship Options, third section down, Censored Words.

Add imgur to the box.
Save

Remember to do as instructions say:
You will need to Rebuild the Post Cache after making changes to update existing posts.

Any links or image links with imgur will no longer function nor will any added after this.

MarkFL 02-25-2016 03:15 AM

I seriously considered recommending the censorship feature, but I thought perhaps the OP just wanted the links to be removed in specific forums only, and not sitewide. :)

blind-eddie 02-25-2016 03:23 AM

oops, I did not see that part.

MarkFL 02-25-2016 03:27 AM

Quote:

Originally Posted by blind-eddie (Post 2565567)
oops, I did not see that part.

Well, I wasn't sure one way or the other, and hopefully the OP can clarify. :)

sHORTYWZ 02-25-2016 04:31 PM

I'm in the same boat as the OP. Looking to censor IMGUR in just a specific set of forums.

Edit: Not quite the same boat as OP, didn't notice was the VB3 forum. I'm on 4.2.2. Looking to disallow any text containing imgur.com period from a set of forums.

MarkFL 02-25-2016 04:33 PM

Quote:

Originally Posted by sHORTYWZ (Post 2565598)
I'm in the same boat as the OP. Looking to censor IMGUR in just a specific set of forums.

Well, I'll ask you the same questions:

What does every such link begin and end with, and what would you like it replaced with? Also, what version of vB are you running?

tim330i 02-25-2016 05:14 PM

I only need to do this for a specific sub-set of forums. I'm trying to still allow my users to use Imgur in all locations other then our classifieds. The use of Imgur images in the classifieds is how I got blacklisted.

Sample image links -

PHP Code:

http://i.imgur.com/k4yzRKP.jpg?1 

PHP Code:

http://i.imgur.com/2ry6lF2.jpg 

PHP Code:

http://i.imgur.com/l6eZYOj.jpg 

PHP Code:

http://i.imgur.com/3SFlgoU.png 

In an ideal world I would have images from Imgur.com be hyper linked [URL] instead of embedded as images [IMG] but I will take all out censoring for the time being if that is easier.

Thanks for the help,
Tim

sHORTYWZ 02-25-2016 05:23 PM

To update, I found this mod for VB4 that worked in my situation. Not sure if there is a VB3 version of this.

https://vborg.vbsupport.ru/showthread.php?t=293490


All times are GMT. The time now is 05:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01566 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete