Recent Topics

1 Dec 31, 2007 11:31    

My b2evolution Version: Not Entered

How would I set up just two word filters?

Word 1
From:
[spoiler]
Into:
<blockquote><p><a tip="" href="javascript:void(null);" onclick="s_toggleDisplay(document.getElementById('SID25471279'), this, 'give me the info ▼', 'hide it from me ▲');">give me the info ▼</a></p><div id="SID25471279" style="display: none;">

Word 2
From:
[/spoiler]
Into:
</div></blockquote>

(I have set up a button to put the [spoiler] codes into the post area. Just need to give them a function now...

If you can understand, and can help, thanks :D

2 Dec 31, 2007 11:48

Have a look at the quicktags plugin in /plugins/ folder. You'd probably be able to append your code there.

Good luck

3 Dec 31, 2007 15:00

I had put the button in.. but the code keeps saying there is invalid parts to the code, and when I put that in the quick tags, the whole botton bar thing just dissapears :(

Anything else?
Where is the area where it checks the code, and changes it?


Form is loading...