cmcculloh
Forum Replies Created
-
@sofianights Looks like one of us must be running an older version of wp_phpbb_bridge. Using your comment as a hint though, I added this at line 654 of wpbb-functions.php:
$allow_bbcode = false;
That fixed the problem. The code now looks like this:
function wp_generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bbcode = false, $allow_urls = false, $allow_smilies = false)
{
global $phpbb_root_path, $phpEx;$uid = $bitfield = ”;
$allow_bbcode = false;
$flags = (($allow_bbcode) ? OPTION_FLAG_BBCODE : 0) + (($allow_smilies) ? OPTION_FLAG_SMILIES : 0) + (($allow_urls) ? OPTION_FLAG_LINKS : 0);if (!$text)
{
return;
}if(!class_exists(‘parse_message’))
{
include($phpbb_root_path . ‘includes/message_parser.’ . $phpEx);
}$message_parser = new parse_message($text);
$message_parser->parse($allow_bbcode, $allow_urls, $allow_smilies);$text = $message_parser->message;
$uid = $message_parser->bbcode_uid;// If the bbcode_bitfield is empty, there is no need for the uid to be stored.
if (!$message_parser->bbcode_bitfield)
{
$uid = ”;
}$bitfield = $message_parser->bbcode_bitfield;
return;
}I’ve no idea what “bbcode”s are though, so I have no idea what the negative ramifications of this are…
Forum: Plugins
In reply to: [Q&A] Q&A Lite 404Fixed. Had to change the perma-links to something other than the default. grrrrrrr…..