Ok, thanks, it's working for me now

But it's not work with smf forums

i've tried to modify this
'SMF' => array( 0,1, 'funcSucheMod_SMF' ),
to
'SMF' => array( 1,1, 'funcSucheMod_SMF' ),
and i don't see smf lines into Suche.functions.php
This mod will be perfect if it's integrate SMF & Coppermine/Sirius & more mods
I've also tried :
function funcSucheMod_Forum($cq, $q, $rankingDEF)
{
global $prefix;
global $SucheSettingsDefault;
$sqlq="SELECT * FROM my_forum_prefix_smf_topics
WHERE
titel LIKE '%".mxAddSlashesForSQL(strip_tags($q))."%'
OR
beschreibung LIKE '%".mxAddSlashesForSQL(strip_tags($q))."%'
OR
keywords LIKE '%".mxAddSlashesForSQL(strip_tags($q))."%'
";
$result = sql_query($sqlq);
while($row = sql_fetch_array($result) )
{
$ranking = $rankingDEF;
if($cq == $q)$ranking = $ranking + _SUCHE_RANKING_COMPLETE_QUERY_;
$countwords= substr_count($row['titel'], strip_tags($q));
$ranking = $ranking + ($countwords * _SUCHE_RANKING_TITLE_MATCH_);
$countwords= substr_count($row['beschreibung'], strip_tags($q));
$ranking = $ranking + ($countwords * _SUCHE_RANKING_TEXT_MATCH_);
$contentpreview = substr(strip_tags($row['beschreibung']), 0, strlen($q) ).'... .... '
.substr(strip_tags($row['beschreibung']), strnpos(strip_tags($row['beschreibung']), strip_tags($q), 1), 580).'...';
$contentpreview = str_ireplace("".strip_tags($q)."",
'<font style="'._SUCHE_HIGHLIGHT_FONTSTYLE_.'">'
.strip_tags($q).
'</font>',
strip_tags($contentpreview) );
$link = 'modules.php?action=search2&name=Forum&search='.$row['id'];
$sqlq2="INSERT INTO ".$prefix._SUCHE_TABLENAME_CACHE_."
SET
query='".mxAddSlashesForSQL(strip_tags($cq))."',
url='".mxAddSlashesForSQL(strip_tags($link))."',
preview='".mxAddSlashesForSQL($contentpreview)."',
module='Forum',
ranking='".mxAddSlashesForSQL(strip_tags($ranking))."',
time='".intval(_SUCHE_JETZT_SEKUNDEN_)."',
title='".mxAddSlashesForSQL(strip_tags($row['titel']))."'
";
sql_query($sqlq2);
}
}
But it's not work
note : the prefix of this smf forum is different than prefix of the website