1
Mods SMFSimple / Re:Auto Links Words
« on: June 21, 2015 - 03:33 15:33 »
I really hopped that this mod supports Cyrillic characters, but unfortunately seems it does not, just like the Glossary mod does not.
Also while I tested it I saw and some other problems. On my localhost install it links only the first instance of one of the words. I installed a new test forum on my host hopping to repeat the error, but this time I got:
line 1196 is:
That is on a new 2.0.10 install. I can provide you with admin account if would like.
Also while I tested it I saw and some other problems. On my localhost install it links only the first instance of one of the words. I installed a new test forum on my host hopping to repeat the error, but this time I got:
Quote
Parse error: syntax error, unexpected T_FUNCTION in ****/Sources/Display.php on line 1196
line 1196 is:
Code: [Select]
$callback = function($match) use($replacements){
global $modSettings;
return !empty($modSettings['alw_mod_case_insesitive']) ? $replacements[strtolower($match[2])] : $replacements[$match[2]];
};
$message['body'] = preg_replace_callback($expr, $callback, $message['body']);
}
}
//AutoLinksWords END
That is on a new 2.0.10 install. I can provide you with admin account if would like.