The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
htmlentities-ish behavior when posting from a script
Hi-
I am trying to add a post from a custom script. In these posts I want to allow links to images on other websites and to have the HTML code contained in the post honored without setting the "Allow HTML" option for the forum in question to "Yes". IOW, when you post via the vB quick reply or advanced webpage, it allows you to enter links to other websites for pictures, etc. Then when you View -> Source of that result from your browser, you see this: HTML Code:
the trend is sure<br /> catching up, my cousin shot a picture of this in my town recently <br /><br /> <p><img src="http://somewebsite/blah/blah/blah.jpg" /> </p><br /> <a href="http://somewebsite.com/" rel="nofollow" class="external">http://somewebsite.com/</a> HTML Code:
<br />the trend is sure<br /> catching up, my cousin shot a picture of this in my town recently <br /><br /> <p><img src="http://somewebsite/blah/blah/blah.jpg" /> </p><br /> <a href="http://somewebsite.com/" rel="nofollow" class="external">http://somewebsite.com/</a> Code:
<br />the trend is sure catching up, my cousin shot a picture of this in my town recently <br /> <p><img src="http://somewebsite/blah/blah/blah.jpg" /> </p> <a href="http://somewebsite.com/" rel="nofollow" class="external">http://somewebsite.com/</a> So ... anyone know how to prevent this behavior when creating a post from a script without enabling "Allow HTML" via the admincp? I know it can be done because I have that option turned off right now and I get the results shown above. Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|