![]() |
Extend search
Hi,
I've extended the threads table by a couple of custom fields. Now I'd like to extend VB search to be able to search by these custom fields. I use the 'search_start' hook to extend the search form. I guess I should use the 'search_advanced_filters' hook to extend the search query, but it seems like this hook never gets called. I placed nothing more but the following SQL query in my plugin: Code:
$threadfield_get = $vbulletin->db->query_read(" Well, it doesn't get executed. So am I using the wrong hook? I plan to use $criteria->add_filter to extend the search query. Will this work? One limitation I already noticed is that you cannot add a filter that does a LIKE comparison. :( |
All times are GMT. The time now is 06:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|