ich hab heute fest gestellt das ich nicht mehr im ACP--->Beiträge--->Advanced BBCode Box 3 die Einstellungen ändern kann bzw. ich komm da nicht mehr hin.
Beim Klick auf ABBC3 Einstellungen bekomm ich diese Fehlermeldung:
Fatal error: Cannot redeclare url_to_bbvideo() (previously declared in /users/hundeforum/www/phpBB3/includes/abbcode.php:2277) in /users/hundeforum/www/phpBB3/includes/abbcode.php on line 2308
Das gleiche bei ABBC3 BBCodes.
Das ist die Stelle 2277-2308 in der /includes/abbcode.php:
Code: Alles auswählen
function url_to_bbvideo($text)
{
global $bbcode, $user;
// if no BBCodes are on page, load them up
if (empty($bbcode))
{
$bbcode = new bbcode();
$bbcode->bbcode_cache_init();
}
// get array of all BBvideos
static $abbcode_video_ary = array();
if (empty($abbcode_video_ary))
{
$abbcode_video_ary = abbcode::video_init();
}
// check to see if any URLs can be converted into BBvideos
foreach ($abbcode_video_ary as $video_name => $video_data)
{
// For now we only will apply this to video sites...BBvideos with ID's less than 200
if ( (strpos($text, $video_name) !== false) && isset($video_data['id']) && ($video_data['id'] <= 200) )
{
// Run URL matches through the BBvideo_pass function to turn them into embedded BBvideos
$text = preg_replace_callback('#<!-- [lmw] --><a class="[^"]*" href="(.*?)">.*?<\/a><!-- [lmw] -->#i', create_function('$matches', 'global $bbcode; return $bbcode->BBvideo_pass($matches[1], null, null);'), $text);
break;
}
}
return $text;
}
Link zur Mod: https://www.phpbb.com/customise/db/mod/ ... ode_box_3/