Topic: Bug in pun_bbcode
If i use in my own extension hook pun_bbcode_pre_tags_merge than after this array $ext_info empty and not code bellow this hook in bar.php not working because use $ext_info.
bar.php from latest pun_bbcode
($hook = get_hook('pun_bbcode_pre_tags_merge')) ? eval($hook) : null;
// Let's get the list of all tags
$tags = array_unique(array_merge($tags_without_attr, $tags_with_attr));
//// NOT WORKING - $ext_info['path'] is unset.
if ($forum_user['pun_bbcode_use_buttons'])
{
if (file_exists($ext_info['path'].'/buttons/'.$forum_user['style'].'/'))
$buttons_path = $ext_info['url'].'/buttons/'.$forum_user['style'];
else
$buttons_path = $ext_info['url'].'/buttons/Oxygen';
}