Hi
There is this great mod that replaces occurrences of strings:
https://vborg.vbsupport.ru/showthread.php?t=125307
For some reason it doesn't work with non English charsets which is pretty weird as a string is a string, isn't it??
Here is the code from the plugin manager, i'd be grateful if anyone can find why its not working with other charsets:
Code:
//$this->post[message]
if ($this->registry->options['post_replacements_enabled'] == '1')
{
$replacments_array_mine = explode("|||", $this->registry->options['post_Replacements_option']);
foreach ($replacments_array_mine as $post_replace)
{
$post_explode_rple = explode("===", $post_replace);
$this->post['message'] = preg_replace("/\s(" . $post_explode_rple['0'] . ")\s?\b/iU", " " . $post_explode_rple['1'], $this->post['message']);
}
}