Back to vBulletin 4.x Add-ons

Prevent certain links in posts per subforum/usergroup
Mod Version: 1.00, by Disasterpiece

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

==== QUICKINFO

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.

==== WHY THIS MOD?

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.

==== INSTALLATION

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.

==== CONFIGURATION

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

File Type: %1$s product-nofilehost-en.xml (8.0 KB, 75 downloads)
File Type: %1$s product-nofilehost-ger.xml (8.1 KB, 20 downloads)

Screenshots

Click image for larger version
Name:	nofilehost1.jpg
Views:	284
Size:	48.6 KB
ID:	128304   Click image for larger version
Name:	nofilehost2.jpg
Views:	233
Size:	45.0 KB
ID:	128305   Click image for larger version
Name:	nofilehost3.jpg
Views:	219
Size:	115.0 KB
ID:	128306  


vblts.ru supports vBulletin®, 2022-2024