الكلمات الدلالية tags تلقائيا من عنوان الموضوع بدون هاكات
طـريقـة فـعالـة لجـلب العناكب الى المواضيع بشـكل اكبـر
اولا ادخـل الـى المـلف التـالـي كود:
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'[COLOR=span dir=] #])">007700">]) $newtags = array(); require(DIR . '/includes/searchwords.php'[COLOR=span dir=] #)">007700">) foreach ([/COLOR]$temptags as $tag[/COLOR]text) { if (strlen($tagtext) <= 3 || in_array(strtolower($tagtext), $badwords)) { // Do nothing } else { array_push($newtags,$tag[COLOR=span dir=] #text)">007700">text) } } $post['taglist'] = join(',',$newtags[COLOR=span dir=] #)">007700">) } [/COLOR]// HACK : END : AUTO TAG [/COLOR] وسلامتك |
رد: الكلمات الدلالية tags تلقائيا من عنوان الموضوع بدون هاكات
يوجد خطا بالكود ياشباب والتصحيح هنا
https://www.helpernt.com/vb/showthread.php?t=1643 ينقل للمواضيع المخالفه |
الساعة الآن 12:24 AM |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. TranZ By
Almuhajir