The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Prepend redirection URL to IMG tags
I've set up a mirrored image redirection page, like that at http://imgred.com/ and would like it to be automatically prepended to any URL in an [IMG] tag, e.g. http://www.google.com/intl/en_ALL/images/logo.gif would become something like http://imgred.com/http://www.google....mages/logo.gif if wrapped in an [img] tag - I suspect this could be done at bbcode_parse_complete but I don't have the background to actually write the plugin to do it. Currently, we're using a custom BBCode [img2] to do this, but it'd be nice to get this integrated into the default [img] tags for ease of use.
(The purpose of the image redirection site is to automatically locally rehost images rather than leeching bandwidth from the source page) |
#2
|
||||
|
||||
Possible with tweaking of a hack. Search for hacks that anonymize links (such as my vbAnonymizer) and change some of the code to get it working with images.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|