The button 'Show File Contents' seems not to work in firefox.
A second one.... I want to add a hook in includes/class_bbcode.php
PHP Code:
function handle_bbcode_code($code)
{
// THIS IS THE PLACE WHERE I WANT A HOOK....
global $vbulletin, $vbphrase, $stylevar, $show;
// remove unnecessary line breaks and escaped quotes
$code = str_replace(array('<br>', '<br />', '\\"'), array('', '', '"'), $code);
$code = $this->strip_front_back_whitespace($code, 1);
// fetch height of block element
$blockheight = $this->fetch_block_height($code);
$template = $this->printthread ? 'bbcode_code_printthread' : 'bbcode_code';
eval('$html = "' . fetch_template($template) . '";');
return $html;
}
How to create one with your plugin? I can't specify only '{' as the line to add the hook below, how to do this nicely?
May you have to expand your option to put a hook not online above or below a specified php line, but maybe also 2, 3, 4, 5 lines above or below...