unread flags 2.0.19-2.0.20 (searh.php)
Geplaatst: 19 apr 2006, 17:08
- Wat is het probleem? Unread fags
phpBB versie: 2.0.20
Heb je gezocht naar een antwoord? (Ja, welke zoekwoorden?
Hier en bij phpBB.com en de mod schijver maar dat is frans
Hoi
Ik heb de laaste [2.0.19] keep unread flags gedownload en geinstalleerd op 2.0.20 maar in de searh.php kloppen 2 stukjes niet.
Code: Selecteer alles
#
#-----[ FIND ]------------------------------------------------
#
if (preg_match('#^[\*%]+$#', trim($search_author)) || preg_match('#^[^\*]{1,2}$#', str_replace(array('*', '%'), '', trim($search_author))))
{
$search_author = '';
}
$search_author = str_replace('*', '%', trim($search_author));
#
#-----[ REPLACE WITH ]------------------------------------------------
#
$search_author = str_replace('*', '%', trim($search_author));
Code: Selecteer alles
#
#-----[ FIND ]------------------------------------------------
#
if (preg_match('#^[\*%]+$#', trim($search_author)) || preg_match('#^[^\*]{1,2}$#', str_replace(array('*', '%'), '', trim($search_author))))
{
$search_author = '';
}
$search_author = str_replace('*', '%', trim(str_replace("\'", "''", $search_author)));
#
#-----[ REPLACE WITH ]------------------------------------------------
#
$search_author = str_replace('*', '%', trim(str_replace("\'", "''", $search_author)));
Op php.com heb ik wel gezien dat het in de laatste update de code veradering zit.
Maar toch kloppen die niet met de orginele searh.php ook niet zonder mods


http://www.phpbb.com/phpBB/viewtopic.ph ... 58#2082858
Weet iemand daar de goede oplossing voor?
Heb daar vandaag eerder ook al in een bestaand topic ( http://www.phpbb.nl/viewtopic.php?t=28570 ) om gevraagd maar dat is in modsuport hier wordt minder vaak gekeken heb ik de indruk.
