View Single Post
  #4  
Old 06-15-2006, 03:04 PM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

you could edit geek/ gal /includes/gal_class_admin.php and change:

PHP Code:
 function add_keywords_from_gas($keys,$threadid)
    {
         
$keywords  explode(",",$keys);
         
$URL  $this->options['bburl'] . "/showthread.php?t=$threadid";
         foreach (
$keywords as $key)
            {
             
$this->db->query_write("INSERT INTO " TABLE_PREFIX "geek_autolink(text,link,ignorethread) VALUES ('" $this->db->escape_string($key) . "', '" $this->db->escape_string($URL) . "',$threadid)");
         }
         
$this->rebuild();
 } 
to

PHP Code:
 function add_keywords_from_gas($keys,$threadid)
    {
         
$keywords  explode(",",$keys);
         
$URL  $this->options['bburl'] . "/showthread.php?t=$threadid";
            if (
$keywords[0])
            {
             
$this->db->query_write("INSERT INTO " TABLE_PREFIX "geek_autolink(text,link,ignorethread) VALUES ('" $this->db->escape_string($keywords[0]) . "', '" $this->db->escape_string($URL) . "',$threadid)");
          
$this->rebuild();
            }
 } 
That would take only 1 keyword.

HTH's
Reply With Quote