
08-22-2013, 07:51 PM
|
|
|
Join Date: Feb 2006
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by soniceffect
Would also love a fix for this .... Is an excellent hack
EDIT:- Really wanted this so thought I would have a play myself...
PLEASE NOTE YOU MUST BE USING PHP5 FOR THIS FIX
FIXES THE DROPPING OF CAPS
Edit the plugin "word replacements"
Replace
PHP Code:
$ah_message = $this->post['message'];
$ah_text = strtolower($ah_message);
with
PHP Code:
$ah_text = $this->post['message'];
replace
PHP Code:
$ah_text = str_replace(strtolower($array1[$x]), $array2[$x], $ah_text);
with
PHP Code:
$ah_text = str_ireplace($array1[$x], $array2[$x], $ah_text);
|
This worked! Thank you!
|