كود:
// 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]