Page 1 of 1

{Solved} Question about acronym mode

PostPosted: Fri Nov 12, 2010 1:09 pm
Author: arutha
One more question:

I have Integramod 1.4.1 and phpBB2.

Acronym Mode is working good, but only with words in English
(it doesn`t show acronyms in russian language)

Could you please help me to do that acronyms display good in russian?

(Encoding now = 'windows-1251')

Thanks in advance!

-----
Solved!

bbcode.php (change)
Code: Select all
// ?????? ????????? ??? ????????? ??????? ?????????             //???????????????,?????????????? ???????. $orig[] = '#b(' . preg_quote( $acronyms[$i]['acronym'], "/") . ')b#';             $orig[] = "/(?<=.W|W.|^W)" . phpbb_preg_quote($acronyms[$i]['acronym'], "/") . "(?=.W|W.|W$)/"; //???????????????? ??? ?????, ???????????? ???????!             $repl[] = '<acronym>' . $acronyms[$i]['acronym'] . '</acronym>'; ;  // ????? ????????? ??? ????????? ??????? ?????????