Forum rules
We dont add more BBCodes to our database, but feel free to share and support your own BBCodes here.
[textarea]Remember that it is not allowed to use {TEXT} inside the html tags!!!
It causes a serious security risk to your board and users.
Like this: <div style="{TEXT}">{TEXT}</div>
Green = OK - Red = forbidden[/textarea]
NOTE:
In order to work, this spoiler will need jQuery. If your style already has jQuery included, it will work right out of the box, otherwise you will have to do this:
Download jQuery 1.4.2 from here: http://code.jquery.com/jquery-1.4.2.min.js
Save it on your computer and upload it to the template folder of your style(s) that will use the spoiler.
If you have more than one style for your users, do this for every style:
Open styles/*yourstyle*/template/overall_header.html
Find:
This isn't working on my board for some reason. I do have the jQuery 1.4.2 installed on my board because I am using it with another mod already. All I am getting is the bbcode text.
[spoiler2="this is a test"]Testing this cool BBcode[/spoiler2]
[spoiler2="this is a test"]Testing this cool BBcode[/spoiler2]
Any ideas?
The Spoiler title is an {IDENTIFIER}, and if my memory serves me, it only allows A-Z, a-z, 0-9 and underscores.
So try changing the BBCode, and replace {IDENTIFIER} with {SIMPLETEXT}.
Ok after an hour of messing around I finally figured out the problem but don't know how to solve it. If you put a space in your title it will break the bbcode. As long as it is all one word it works fine.