
05-24-2020, 11:41 PM
|
|
|
Join Date: Dec 2010
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by shka
I didn't install it so it is only a quick reading of source code, not tested
(1) in file admincp/MARCO1_hide_all_version_checker.php, on line 42/44 - there is ereg_replace (without i), should be replaced with preg_replace without /i-flag
PHP Code:
$latestVersion = preg_replace("[^A-Za-z0-9.]", "", $latestVersion ); ... $latestVersion = preg_replace("[^0-9.]", "", $latestVersion );
(2) in file Product - MARCO1 Hide All Final.xml
line 25
PHP Code:
$post['pagetext'] = preg_replace('(http|www)([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)/i', $vbphrase[MARCO1_nomemberar], $post['pagetext_simp']);
line 39
PHP Code:
$post['pagetext'] = preg_replace('(http|www)([[:alnum:]/\n+-=%&:_.~?]+[#[:alnum:]+]*)/i', $vbphrase[MARCO1_arc], $post['pagetext_simp']);
After installation you should find both (2) in admincp/addons & plugins/plugin manager in plugin "MARCO1 A R M" and "MARCO1 Hide Arc"
|
Thanks, the error of "eregi_replace" is solved but don't work properly, printpage don't show messages and this is seeing empty.
|