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.
BBCode not being accepted
Trey
New
I currently have the vanilla forum 0.9.2 installed, and I was seeing what all bbcodes where allowed within the function that is included with the initial download of it, and found that not to many where there and that the javascript bug was able to be exicuted. So within the BBCode.php source I replaced the BBEncode function with my own --
BBCode.phps file
Then when I went to test it out, it showed the bbcodes in action for the preview of the post, but not within the actual thread. It ended up showing the acuall bbcode instead. Any kind of help would be appricated.
BBCode.phps file
Then when I went to test it out, it showed the bbcodes in action for the preview of the post, but not within the actual thread. It ended up showing the acuall bbcode instead. Any kind of help would be appricated.
0
This discussion has been closed.
Comments
it turns out that I have to make sure everybodies roles have to be enabled to post html, and it seems like the bbcode extention blocks html tags (which I wanted), and then changes the bbcode into html format. So if anyone else runs into this problem make sure that the user role is able to post html with the bbcode extension turned on.
and feel free to use the code above, It has the minor fixes that can happen if someone tries to put html in the image, or links.