هيلبرنت | Helpernt

هيلبرنت | Helpernt (https://www.helpernt.com/vb/index.php)
-   ركن تطوير منتديات vb3.8.0 (https://www.helpernt.com/vb/forumdisplay.php?f=99)
-   -   الكلمات الدلالية tags تلقائيا من عنوان الموضوع بدون هاكات (https://www.helpernt.com/vb/showthread.php?t=2841)

هيلبرنت 12-26-2015 03:49 AM

الكلمات الدلالية 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]

وسلامتك

هيلبرنت 01-31-2016 10:09 PM

رد: الكلمات الدلالية tags تلقائيا من عنوان الموضوع بدون هاكات
 
يوجد خطا بالكود ياشباب والتصحيح هنا

https://www.helpernt.com/vb/showthread.php?t=1643

ينقل للمواضيع المخالفه


الساعة الآن 02:31 AM

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. TranZ By Almuhajir