Quote:
Originally Posted by miz
Code:
// [HIDE]
$bbcodes['custom']['find']['[hide]'] = '#\[hide\](<br>|<br />|\r\n|\n|\r)??(.*)(<br>|<br />|\r\n|\n|\r)??\[/hide\]#esiU';
$bbcodes['custom']['replace']['[hide]'] = "handle_bbcode_hide('\\2')";
$bbcodes['custom']['recurse']['hide'][0] = array('handler' => 'handle_bbcode_hide');
this code add costum bbcode to forums
|
can it be done like this
tag: hide
Replacement : <HIDE>{param}</HIDE>
Example: <hide>Hide this text</hide>
Use {option} Yes or No ??