Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Simple PHP question for someone :-)
Hi all... two things.
Firstly... I'm using Vanilla 1.1.10
1) I've been using fckEditor extension and I want to use something else (as it isn't working across browsers) but when I turn it off the data comes back to the page with all the html tags
2) I'm wanting to add a PHP string replace when the data comes back from the db - I'm wanting to replace youtube URLs with embed code and a couple of other things... Where can I put this? I'm not sure what functions the code goes through on its way to the page (apologies for my poor terminology!)
Thanks in advance...
Rob
Firstly... I'm using Vanilla 1.1.10
1) I've been using fckEditor extension and I want to use something else (as it isn't working across browsers) but when I turn it off the data comes back to the page with all the html tags
<p>
etc - rather than formatted. How can I change this? Please say it isn't find+replace on the db!? :S2) I'm wanting to add a PHP string replace when the data comes back from the db - I'm wanting to replace youtube URLs with embed code and a couple of other things... Where can I put this? I'm not sure what functions the code goes through on its way to the page (apologies for my poor terminology!)
Thanks in advance...
Rob
0
Comments
1) Install and enable the HTML Formatter extension, hopefully that will work.
2) Within the HTML Formatter extension there is an array called Html_VideoLinks, you can modify that for your needs.
Thanks very much for this - I've found the whitelist etc in HTML formatter so I will have a play and see if I can add my code.
Seems like I can run my other functions through this file as well to keep it nice and compact... awesome!
Thanks again
Rob
If you find bugs or want support you can post on that blog