yupcanonknipser wrote:you have to edit the bbcode-parsing php-file named includes/bbcode.php
Good luck
Code: Select all
case 3:
$this->bbcode_cache[$bbcode_id] = array(
'preg' => array(
'#\[url:$uid\]((.*?))\[/url:$uid\]#s' => $this->bbcode_tpl('url', $bbcode_id),
'#\[url=([^\[]+?):$uid\](.*?)\[/url:$uid\]#s' => $this->bbcode_tpl('url', $bbcode_id),
)
Not necessarily. you can write your own parser. See bbTips for an example custom bbcode mod.canonknipser wrote:you have to edit the bbcode-parsing php-file named includes/bbcode.php
Good luck
Code: Select all
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
Wow!!Brf wrote:The code you get when you push the button has nothing at all to do with the code in bbcode.php.
The insert code is right there in the posting_buttons.html template:
','Code: Select all
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
- ','
','[img]','[/img]','','','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);[/code]
- ','
Just put the = in there.
Brf wrote:The code you get when you push the button has nothing at all to do with the code in bbcode.php.
The insert code is right there in the posting_buttons.html template:
','Code: Select all
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','
','
- ','
','[img]','[/img]','','','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);[/code]
- ','
Just put the = in there.