• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Direct search link?

Floren

Well-known member
#1
In vBulletin I had an option to perform a full search with a link, without filling a search form.
For example, I want to search for:
/community/search/?q=test&o=relevance&c[title_only]=1
without entering any information into search form. How can I do this in XenForo?

Thank you for your help.
 

Floren

Well-known member
#3
@Mike, quick question about Resources only search. I'm trying to use this:
Code:
/search/search/?t=resource_update&keywords=importer&o=relevance&c[title_only]=1
https://xenforo.com/community/searc...keywords=importer&o=relevance&c[title_only]=1

This returns all Forum and Resources results. How can I return only the Resource results?
Also, is there a better/more compact format of the above query (i.e. instead of keywords=, use k=)?

Thanks for your help, everyone.
 
Last edited:

Mike

XenForo developer
Staff member
#4
In this case, I'm not sure where the t/o/c values are coming from. They're not submitted with the search; they're for the form itself.

You can look at Chrome's network tab to see the values that are submitted:
Code:
keywords: test
users:
date:
categories[]:
child_categories: 1
order: relevance
type: resource_update
(You can omit some of those, certainly the blank ones.)
 

Floren

Well-known member
#5
@Mike, I apologize for my lack of knowledge. Is this the proper way to see the options in Network?

IMG_02092014_210902.png

I can't seem to find anywhere your posted variables (i.e. type: resource_update).