The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How To Stop Link Parsing In BBcode?
I am trying to create a BBcode to force an image to the left of text by creating a new BBcode called [IMGL]. (I'm updating an old mod from borgs8472 with his approval).
The problem I am having is that the editor automatically parses the text and inserts it's own [url] tags. As an example. In the Replacement input box for creating a new BBcode : HTML Code:
<div style="float: left; padding-right: 8px;"> {param} </div> HTML Code:
[IMGL][url]http://url to image[/url][/IMGL] The only way I know to do this is to turn off auto parsing for links. But I don't see that as an option for me to do. What can I do to make the software do what I need without turning off parsing? Here...try this at home.... Create New BBcode: Title .... Float Left BB Code Tag Name.....imgl Replacement.......<div style="float: left; padding-right: 8px;">[IMG]{param}[/IMG]</div> Example...... [imgl]url to image[/imgl] Description.... Float an image to the left, wrap text around it! Button Image (Optional) .... Any 21 x 20 image for testing this. Then use the new bbcode with a url to an image and type a few paragraphs of text. The text will float to the right but it's a link, instead of an image. I've tried all the tricks I know and I am hoping someone out there will give me a few pointers on what the system is doing and how to work around it. Thanks for any and all help --------------- Added Wednesday 24th of February 2010 at 11:53:26 PM --------------- Digging around I found what should be a cool BBcode. It's supposed to stop the forum from parsing between the code....I think. HTML Code:
[noparse][/noparse] Any ideas? |
#2
|
|||
|
|||
Did you ever figure this one out?
Brandon |
#3
|
|||
|
|||
I think this..
Code:
<div style="float: left; padding-right: 8px;">[IMG]{param}[/IMG]</div> Code:
<div style="float: left; padding-right: 8px;"><img src="{param}" /></div> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|