Here is the embed for Fireboard 1.0.4:
Demo:
xahoihoctap.net/component/option,com_fir.../id,110/lang,vi/#110
First: you should modify to display 2 button: ebay and ebaysearch,
so that it will give code: [ebay][/ebay] and [ebaysearch][/ebaysearch]
http://www.bestofjoomla.com/component/option,com_fireboard/Itemid,38/func,view/id,21343/catid,75/#21343
Second: modify you file composnents/com_fireboard/sources/interpreter.fireboard.inc.php
2.1: find this statement (inside the function TagExtended())
| Code: |
case 'img':
if($between) {
$task->autolink_disable--; # continue autolink conversion
|
the put at the end of this case: 'img' after break;
| Code: |
case 'ebay':
if($between) {
$task->autolink_disable--; # continue autolink conversion
$tag_new = "";
return TAGPARSER_RET_REPLACED;
} else return TAGPARSER_RET_NOTHING;
break;
case 'ebaysearch':
if($between) {
$between = urlencode($between);
$task->autolink_disable--; # continue autolink conversion
$tag_new = "";
return TAGPARSER_RET_REPLACED;
} else return TAGPARSER_RET_NOTHING;
break;
|
2.2: find the code (inside the function TagSingle(&$tag_new, &$task, $tag))
and modify it as:
| Code: |
case 'img':
case 'ebay':
case 'ebaysearch':
|
That's all
see the post content in attachment file: