View Full Version : BBCode help
CoffeeLovesYou
08-18-2012, 05:26 AM
I am trying to re-create the IMG bbcode, instead being named nimg. I need this for my vBAdvanced news portal (I don't feel like explaining the whole situation, only thing is I need this [nimg] bbcode to work instead of using IMG). Right now, I am using
<img src="'[url]'" /> for the Replacement.
I have tried;
<img src="'$link'" />
and a few others with no luck. What do I put for Replacement to make this BBCode work just like [img] does?
Thanks a million.
Use {param} for the text between the open and close tags, and {option} for the part after the equal sign inside the first tag (if you set "Use Option" to Yes). Note that the same tag name with and without the option are treated as two different tags (in other words, you could have [nimg] and [nimg=foo] tags that do entirely different things, although if you actually did that it would probably be confusing).
CoffeeLovesYou
08-19-2012, 01:58 AM
Tried that.
The new replacement is
<img src="{param}">
Use Option is Off.
When I post an image wrapped around [nimg], it just shows up as this on the new thread/post.
picturehere.gif">
Help?
I tried it and it works for me. You put your path to the image (or full url) between the tags, right?
Do you have any other mods that affect posted images? Maybe try disabling all mods temporarily and see if it makes any difference.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.