Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Hristo

Pages: [1]
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:

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.

Pages: [1]
top

Smfsimple.com es un sitio destinado a brindar un servicio de soporte y herramientas para foros realizados con el sistema de foros gratuito simplemachines.org. Contamos con un selecto equipo de desarrolladores y conocedores del sistema, sus foros estaran en buenas manos.
This site is not affiliated with or endorsed by Simple Machines