TC.K on "[Plugin: Ultimate WP Query Search Filter] result doesnt show"

ساخت وبلاگ

Dear TC.K;
Thanks very much for your great plugin.
in fact this is exactly what i want;
I could use it to add a meta field check-box to query data by user.
but even "generation value" works completely fine in back-end, however when select one check-box, no result is shown in front-end. and show this:
Nothing Found
Sorry, but nothing matched your search terms. Please try again with some different keyword

i used both ajax and default search template. also check with radio button and combo box. no one answered. i am using wp 4.4.2 and also disabled unused plugin. i don't know what goes wrong. everything works fine except the result. (the built-in wp search widget also works fine). I would appreciate if help me to use and get result.
thanks very much.
Ali

https://wordpress.org/plugins/ultimate-wp-query-search-filter/

TC.K
Member
Plugin Author

Posted 2 weeks ago #

You can try debug with these steps:
1. Try with default theme.
2. Deactivate other search plugin (eg relavansi)
3. Try with a filter at a time, to see which filter causing the problem.
4. Change filter input to select or radio.

Dear TC.K
Many thanks for your reply.
I tried to clean install in 2 new fresh wordpress system.
The PHP and Apache version are the same as before.
also no other plugins are enable by default. i tried in "2016 wp" built-in theme. Just i need to add conatct-form-7 plugin for test.
so a new problem is in "meta field". although created new form, but the field doesn't show in meta field of Ultimate-wp-search filter.
i also try with your other same plugin. even in new wp system doesn't answer.
I think it might be a serious issue. you can also test it by yourself wp doesn't answer with 2016, and field doesn't add automaticly in meta field.
i think search job for taxonomy field works almost fine. however i need it for meta. I also checked form data input using CFDB plugin. the field name and it's data was completely ok. however i don't know why cant see these form field in meta. (just form_ field displayed that is not applicable). I was wondering if there is any advice other for me and use your help.
Thanks. ALI

TC.K
Member
Plugin Author

Posted 2 weeks ago #

How do you create the meta field?
Do you have any post that assigned with the meta field?
Becuase the plugin only look for the db for the meta field , thus in order for the meta field appear in the form filter , the meta field must have at least used in a post.

Dear TC.K, Thanks for reply,
You are completely right, the field need to use in post. But I already used it and the field name and data can appeare with different plugin. I also try with new form and field name, but no meta field was added.
In fact, I cannot add meta field manually in advance query plugin. But its strange how it was possible for my last template with huge amount of plugin. In fact as soon as I create form and use it in post, after entering some data, the form field was shown in meta field of ultimate query plugin (without show result). It sounds mixedup issue. I was appreciated if there is any other advice. Php ver is also 5.3 for all 3 wp systems. Thanks again.

TC.K
Member
Plugin Author

Posted 2 weeks ago #

Let me make this clear. Now you have two problems whit this plugin:
1. No results searched.
2. Meta field not appearing on the filter.

Is that right?
Let us track down the problem one at a time.

1. No results searched.
- this could be various reason. To test if the plugin is working, just create a simple test with test post with test category and then add it into a test form. See if the plugin if working properly.

2. Meta field not appearing on the filter.
- How do you create the meta field? Note that the meta filed value CANNOT be serialized data such as array or object etc. It must be single value.
Also, have you try with radion or select input???

Dear TCK. Hi and welcome back,
Im awfully sorry because of late answer. I had too many works for doing.
Ok, let's continue the last discus.
For making you a clear answer:
1.Show Result base on category works true.
I have created 2 category ('simple' and 'other'). search result was show base on category query was OK.
2. Search on meta field does not OK unfortunately.
even after update all plugin and using latest version.
I also have prepared back-end site view to check it by yourself, if it might. Im also using the latest WP version with Built-in theme (2016) and just 3 necessary plug-in, as the same as show bellow:
WordPress: 3.5.1 (latest version)
Plugins: 1. Contact-form-7 , CFDB, Ultimate WPQSF
The Thing I need
I have already created a form (Form2) and using CFDB all of the entered data can be shown in the back-end. however it doesn't show any meta field of form2 fields that we can search per this. For Example, we have had 3 fields (name, email, message). we want to filter all of name="testname1" entered data. But it cannot possible to find the related meta field using its name among all other fields in the back-end of WPQSF.
I think This is important problem. and also I think maybe you are the same about its functionality. So I would appreciate if you look at yourself using bellow information. all of the things is clear show here. Let me also now your commnet about the final result after checking. Thanks very much. INF:
url: test.alifanaei.com | admin-url:test.alifanaei.com/wp-admin
--- | user:test - pass:test1365
Best Regards.

Dear TC.K. Did you visit above website? & did you find out any new result due to my last post? Feel free if other information needed.
I thinks its an important problem and if it solve, its a new horizon.
The current situation is is as the same as bellow:

Form2:
Fields-----------------------------Entered Data:
Name/Lable--------------(Record1)--------(Record2)-------(Record3)
'Name': ----------------testname1--------testname2-------testname3
'Subject':--------------testsubject1------testsubject2----testsubject3
'Message':-----------testmessage1-----testmessage2----testmessage3

Example Wanted:
Filter form (to show its message details) by select "Testname1" (Radio Button)
Best Regard.

TC.K
Member
Plugin Author

Posted 1 minute ago #

So, the problem is from the meta field then.
I don't think the contact form 7 using meta key for their data, neither do CFDB. For whatever the CFDB using for it fields, it is not same as the meta field that using in the default wordpress field. Thus you cannot use it in this plugin. This plugin only work with wordpress default db tables, the CFDB probably create their own table, that's why you didn't see it in the meta key option.

And one more thing, don't shows your login information in the public, even for the test. You should delete it immediately, or remove the test site.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 199 تاريخ : شنبه 1 خرداد 1395 ساعت: 23:55