Register Members List Search Today's Posts Mark Forums Read

Mod Options
Prevent certain links in posts per subforum/usergroup Details »
Prevent certain links in posts per subforum/usergroup
Mod Version: 1.00, by Disasterpiece (Coder) Disasterpiece is offline
Developer Last Online: Oct 2019 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (1 vote - 5.00 average) Installs: 14
Released: 19 Apr 2011 Last Update: Never Downloads: 69
Not Supported Uses Plugins Translations Is in Beta Stage  


This mod checks each post for certain keywords if the user is not a mod/admin in a specific subforum. If a keyword is found, the post is matched against a variety of regular expressions and if at least one disallowed string is found, the post is rejected with an understandable errormessage.


I coded this mod so I could prevent users from posting filehost-images.
Reasons are slow pageload if those filehosters are overloaded and
most filehoster delete images after some time, so if you have a supportforum, the thread is practically useless if the images are missing.

So to make my users stop using those ugly filehosters, I coded this little plugin so they would use the vb attachment system with fast page load and unlimited lifetime. (I paid for the space so use it!)

You can use this mod for other things as well, however this is presented as "anti-filehost-mod" so if you want to use it for anything else, feel free to do so, support may be limited.


Download attached xml product file and upload as new addon.
You'll find all necessary settings in Settings > No Filehosts plz!
-ger for german translated addon,
-en for english translated addon.


There are already a number of filters preset from links I've captured, if you know regex it'll be easy for you to add new ones, If not ask here with the link and I'll help you out if you can't figure it out by yourself.

Keywords exist, because it's much faster to perform quick-checks for certain strings than to perform slow regex-checks. So the keywords speed-up the posting process without loosing any features.

Forumids should be self-explanatory, you'll find forum-ids in your admincp or in the url to the specific forum. For each forum-id specified in the setting, the filter-rules will apply and reject posts if they contain illegal strings.

Groupids should be self-explanatory as well, noticable is that admins and mods are already filtered out by the "can_moderate" condition, so the ids 5,6,7 are only examples. If you don't want to exclude any other usergroup than the mods/admins, leave it blank.

Error Message is the text that gets displayed when a post is rejected. Use sample text or use your own, html allowed.

==== ETC

If you find more filehosts that are frequently used, share your filters here!

If you like this mod, please click "Installed" and consider a small donation to keep me motivated spreading out helpful tools for free in the future.

Report any bugs/issues that might occur!

Download Now

Only licensed members can download files, Click Here for more information.


Click image for larger version

Name:	nofilehost1.jpg
Views:	276
Size:	48.6 KB
ID:	128304   Click image for larger version

Name:	nofilehost2.jpg
Views:	225
Size:	45.0 KB
ID:	128305   Click image for larger version

Name:	nofilehost3.jpg
Views:	211
Size:	115.0 KB
ID:	128306  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Old 19 Apr 2011, 16:38
ssslippy's Avatar
ssslippy ssslippy is offline
Join Date: Jan 2006
Is it possible to get this to check again when a user edits a post?
Immortal Guild - My Guilds Website
Reply With Quote
Old 20 Apr 2011, 01:12
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
Join Date: Apr 2007
It already does. Did you try it out yet?

If it doesn't work for you, let me know. Because it's supposed to do that too.
Reply With Quote
Old 20 Apr 2011, 09:42
Alecsmith's Avatar
Alecsmith Alecsmith is offline
Join Date: Sep 2009
Real name: 89183622986
Tagged for future

Reply With Quote
Old 22 Apr 2011, 07:05
yahooooh yahooooh is offline
Join Date: Dec 2009
thanks this will prevent new user to put links ,
i want only to prevent links betweein [URL] but not the links between [IMG]
could you help on this thanks
بيع شراء
اخبار عصام مطير البلوي
Reply With Quote
Old 22 Apr 2011, 11:59
naisho naisho is offline
Join Date: Feb 2008
Very good, I recently noticed that almost all pictures hosted by one of my members on had been deleted... I had to delete a large number of his threads and posts.

Here is the regex I added for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Possible Improvement: I think that the error message that is displayed should be phrased, so that it is displayed in the member's language.
Reply With Quote
Old 01 Jan 2013, 07:44
vb_nils's Avatar
vb_nils vb_nils is offline
Join Date: May 2012
Exactly what I'm looking for but still in beta stage since more than 1 year.
Does any one installed it on vb4.2?
Or does someone knows if a similar mod exists?
Thank you
Reply With Quote
Old 31 Jan 2014, 20:10
karabaja3's Avatar
karabaja3 karabaja3 is offline
Join Date: Jan 2008
Great mod?
What would happen to existing URL's when I ban them?
Will this work on v3.8?
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

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

New To Site? Need Help?

All times are GMT. The time now is 07:07.

Layout Options | Width: Wide Color: