PDA

View Full Version : Can the search results be customized?


CrystaStarLight
11-07-2010, 09:45 PM
I searched this forum for an answer to this, and there are like 8 threads that asked something similar to this with 0 replies. *lol* Is this that hard to do?

Lets say in the database I have a thread descriptions column in the vb_thread table, and I'd like to make the thread descriptions show up in the search results. They don't even have to be searchable, just be associated with the thread that shows up in the results.

I haven't even found any VB4 modifications that were able to customize the search results in this way.

If anyone has any advice on this that would be great! Thanks!

Lynne
11-07-2010, 10:03 PM
Which search are you talking about - using the search box, what's new, search in last day....etc. Most likely the SELECT is for thread.*, but you may need to verify that by running the query while in debug mode and making sure. Then you know that it's available - {vb:raw thread.description} or whatever - and can add it to the template.

CrystaStarLight
11-07-2010, 10:08 PM
Thanks I'll try that, and in my case I'm trying to do it in the What's New / getdaily.

--------------- Added 1289181843 at 1289181843 ---------------

Awesome! Adding {vb:raw thread.description} in the "search_threadbit" template worked for me. Thanks!