![]() |
IMG to URL BBCode Converter (In Quotes)
Hey Guys,
I know I was searching for a feature like this for the longest time and had no luck. Well I decided to do some digging and after a while I was able to find the code that you can use to remove the [IMG] Tag from Quotes in Posts under vB 3.6.0 and up. This specific Modification will change all [IMG] Tags into [URL] Tags when they are inside a Quote. I guess that's pretty self explanatory. Special thanks to masalaman for the code, I'm just posting it here for others to use it as they may be searching for it and it took me a while to find it. I guess this will just make you life's easier :up: Modification Instructions: 1) Open includes/class_bbcode.php 2) Find the following line: Code:
eval('$html = "' . fetch_template($template) . '";'); Code:
// Start IMG to URL BBCode Converter 5) Save & Overwrite the File to your Server ... That's it! Enjoy! - Danny |
Reserved, just in case I need to update something ;)
|
Subscibed first,installed later :) thanks for the mod
|
You don't really need a file modification to do this...It can be done via plugins.
|
nice thanks.
|
Glad it can be useful for others :up:
Quote:
|
thnx...would be really nice if it could be done via plugins (previously it was done by HeLLcat)
if [img] likes [Img] or [iMg] or [IMG] or [imG] will that work too? asking cos hellcat's plugin had that error ..tho later on it was fixed by him. waiting fr a plugings |
Zai, Im not going to be releasing a Plugin Version, so if you're gonna be waiting for that, you should ask someone else to see if they are willing to make a plug in. I might do it in the future, but I'm too busy right now to learn how to do Plugins, so I wont be dong it anytime soon.
As far as the error on the [img], [Img], [iMg], [IMG], [imG] that is not a problem with this Modification. It converts it anyway. |
Quote:
|
Quote:
Zia here not Zai :D any way thnx mate |
All times are GMT. The time now is 06:59 PM. |
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:
|