Quote:
Originally Posted by OrangeFlea
I've noticed that single-word entries supercede multi-word entries. For example, when I input "Toyota" and "Toyota Celica," the hack will only hyperlink "Toyota" in those instances where "Toyota" is part of a multi-word keyword. Like this...
Toyota
Toyota Celica
Toyota Landcruiser
Celica and Landcruiser are left out, even if I did input them in as part of the phrase.
|
huh. Maybe an 'ordinal' value is needed. As a fix, you can try this:
In GAL_admin.php replace
PHP Code:
$results=$DB_site->query("SELECT * FROM " . TABLE_PREFIX . "geek_autolink ORDER BY text asc");
with
PHP Code:
$results=$DB_site->query("SELECT * FROM " . TABLE_PREFIX . "geek_autolink ORDER BY id asc");
This should cause the text to replace in the order it was put into the system. Ill look toward adding an ordinal column.