محب الرسول
19-06-2012, 09:56 AM
الكلمات الدلاليه تلقائيا من عنوان الموضوع بدون هاك طريقة جعـل الكلمات الدلالية تلقائية للمواضيع بدون هاك
طـريقـة فـعالـة لجـلب العناكب الى المواضيع بشـكل اكبـر
اولا ادخـل الـى المـلف التـالـي
includes/functions_newpost.php
وابـحث عـن ...
if ($type == 'thread' AND $post['taglist'])
{
ونستبدله بـــ
// HACK : START : AUTO TAG
// if ($type == 'thread' AND $post['taglist'])
if ($type == 'thread')
{
if (!$post['taglist']) {
$temptags = split(' ',$post['title']);
$newtags = array();
require(DIR . '/includes/searchwords.php');
foreach ($temptags as $tag****) {
if (strlen($tag****) <= 3 || in_array(strtolower($tag****), $badwords)) {
// Do nothing
} else {
array_push($newtags,$tag****);
}
}
$post['taglist'] = join(',',$newtags);
}
// HACK : END : AUTO TAG
بالتوفيق للجيمع
طـريقـة فـعالـة لجـلب العناكب الى المواضيع بشـكل اكبـر
اولا ادخـل الـى المـلف التـالـي
includes/functions_newpost.php
وابـحث عـن ...
if ($type == 'thread' AND $post['taglist'])
{
ونستبدله بـــ
// HACK : START : AUTO TAG
// if ($type == 'thread' AND $post['taglist'])
if ($type == 'thread')
{
if (!$post['taglist']) {
$temptags = split(' ',$post['title']);
$newtags = array();
require(DIR . '/includes/searchwords.php');
foreach ($temptags as $tag****) {
if (strlen($tag****) <= 3 || in_array(strtolower($tag****), $badwords)) {
// Do nothing
} else {
array_push($newtags,$tag****);
}
}
$post['taglist'] = join(',',$newtags);
}
// HACK : END : AUTO TAG
بالتوفيق للجيمع