Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2016, 11:29 PM
tim330i tim330i is offline
 
Join Date: Apr 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-25-2016, 01:52 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 02-25-2016, 02:56 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 02-25-2016, 03:15 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 02-25-2016, 03:23 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oops, I did not see that part.
Reply With Quote
  #6  
Old 02-25-2016, 03:27 AM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
oops, I did not see that part.
Well, I wasn't sure one way or the other, and hopefully the OP can clarify.
Reply With Quote
  #7  
Old 02-25-2016, 04:31 PM
sHORTYWZ sHORTYWZ is offline
 
Join Date: Jan 2002
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 02-25-2016, 04:33 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sHORTYWZ View Post
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?
Reply With Quote
  #9  
Old 02-25-2016, 05:14 PM
tim330i tim330i is offline
 
Join Date: Apr 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 02-25-2016, 05:23 PM
sHORTYWZ sHORTYWZ is offline
 
Join Date: Jan 2002
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10051 seconds
  • Memory Usage 2,280KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete