View Full Version : Change IMG tag to URL tag
Tmnoonan
12-02-2008, 05:26 PM
I have a forum in which people are constantly typing in the img tag even though we disable it. We would like it so that the img tag just does the same thing as the url tag, since people are always posting huge images that screw up people on dial-up.
Is there any way to make it so a IMG tag just turns into a URL tag? Leaving a link to the picture is our most desired result.
Tmnoonan
12-05-2008, 04:22 PM
Is there some way to mess with the phraser? Does anyone know which file it is?
Lynne
12-05-2008, 04:36 PM
How can they be using it if it is not allowed? Did you disable it in your vboptions - disable bbcode? or what? What is the exact code they are using - http://something.com/picture.jpg ?
If so, you can make a plugin just for posts and replace [ img] with [ code] and also [ /img] with [ /code] (no spaces).
Tmnoonan
12-10-2008, 08:54 PM
Thanks for the reply! How would I go about making a plugin of that nature?
Lynne
12-10-2008, 09:04 PM
You can try something like this - Word Replacement (https://vborg.vbsupport.ru/showthread.php?t=93758)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.