![]() |
Restrict external images in [img] BBCode
For what?
If u have your own imagehost and you hate the speed of other hosts like imageshack, this will be great for you ;) For which version? Tested only on vBulletin 3.6.10 and works fine for me it`s simple php so it should work on all versions Where does this work? It`s global, so it works for posts and signatures How does it work? It checks the url in every picture included by [img] bbcode and replaces the image with a text if the host is not you or the one you want File edits: 1 Supported: no Time to install: <1 minute Level: easy You have to replace YOUDOMAIN.com with your own domain ;) If you like it, please click as installed Update: -Images will be replaced with a message AND linked to the wrong uploaded image! -Images will be scaled to 400x300 (if liked) -Resized images will be displayed using lytebox (if wanted) |
Not a Product and File edits. :down:
|
so sad there is no hook in the in class_bbcode so this really could be done using a plugin... but I know there is NO other way to do this, so *cheers*
|
hopefully if enough people request that hook, vb will include that hook within 8 weeks ^^
|
Why not make use of any global hooks or a postbit-hook meanwhile ?
|
is there a way to make it display the text in a popup before actually making the post so that I dont have a bunch of threads with just the message in it?
|
Quote:
then making a post/thread will display a popup...but popups just suck so a textmessage near the postingbutton would be better ;) |
This only allows one URL/imagehost? If I have a list of allowed imagehosts, say 10 URLs, how do I allow those?
|
All times are GMT. The time now is 01:10 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|