Hi ,can I get some help with this mod http://www.simplemachines.org/community/index.php?topic=110620.msg3220655#msg3220655
Yes ,I've installed that mod on Beta version of SMF
Successfully installed but I cannot post anything now due to a error "Fatal error: Function name must be a string in /Sources/Subs-Post.php on line 264
line 264 is global $db_prefix;
what new lines was added to Subs-Post.php :
// What groups is the user in?
$groups = implode('\', \'', $user_info['groups']);
// Get the disallowed code from all the membergroups that the user is in.
global $db_prefix;
$request = $smcFunc['db_query']('', "
SELECT disallowed
FROM {db_prefix}bbc_permissions
WHERE id_group IN ('$groups')" );
// Make an array of what to find and replace.
$find = array();
$replace = array();
while ($row = mysql_fetch_assoc($request))
{
// Loop through each disallowed tag and add find an replace commands.
$disallowed = empty($row['disallowed']) ? array() : explode(',', $row['disallowed']);
foreach ($disallowed as $tag)
{
// Turn [tag into [tag.
$find[] = '[' . $tag;
$replace[] = '[' . $tag;
// Turn [/tag into [/tag.
$find[] = '[/' . $tag;
$replace[] = '[/' . $tag;
}
}
mysql_free_result($request);
// Now do the actual finding and replacing.
if (!empty($disallowed))
$message = str_replace($find, $replace, $message);
Thank you in advance
Post this in the topic for the mod please: http://www.simplemachines.org/community/index.php?topic=110620
Additionally -- we do not support mods -- that is up to the authors of the mods.
Specifically -- since you are trying to install a 2.0 mod on 2.1 --- actually, you are trying to install an unauthorized version of the mod -- there will be no support for it here.