// 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 $tagtext) { if (strlen($tagtext) <= 3 || in_array(strtolower($tagtext), $badwords)) { // Do nothing } else { array_push($newtags,$tagtext); } } $post['taglist'] = join(',',$newtags); } // HACK : END : AUTO TAG