Skip Navigation

[Closed] Does search work with buddypress docs?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Minesh 6 months, 2 weeks ago.

Assisted by: Minesh.

Author
Posts
#2701269

a.R

DOCS are displayed in the type selection besides posts and pages, but no docs will be found.
How make it work?

#2701348

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share bit more details and share problem URL and admin access details and share what exactly you want to achive.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2701383

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Sorry - but when I checked the following view's edit page:
- hidden link

I can see the "Docs" under "Content Selection" section at top of the view.

Can you please clarity what exactly you are looking to fix. Maybe share few screenshots and detailed information about your requirement.

#2701873

a.R

As I said, DOCs are displayed there.
But when searching, no DOC will be found.

#2701877

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I can see the following query is generated by the view:

SELECT wp_posts.*
FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id )
INNER JOIN wp_postmeta AS tmapsmeta ON ( wp_posts.ID = tmapsmeta.post_id )
LEFT JOIN wp_toolset_maps_address_cache ON wp_toolset_maps_address_cache.address_passed = tmapsmeta.meta_value
AND tmapsmeta.meta_key = 'wpcf-adresse'
WHERE 1=1 AND (
( wp_postmeta.meta_key = 'wpcf-wunsch-aktiv' AND wp_postmeta.meta_value = '1' )
) AND wp_posts.post_type = 'bp_doc' AND ((wp_posts.post_status = 'publish' OR wp_posts.post_status = 'private'))
GROUP BY wp_posts.ID
ORDER BY wp_posts.post_date DESC

Can you please confirm you are using correct custom fields and post types for the view?
- hidden link

Also, its confusing, the above view is set to query post type "WÜNSCHE" - do you want to display posts from "Docs" post type or "WÜNSCHE" post type?

If you can share bit more details what exactly not working and what input I should use to search and what custom fields you want to query as I can see with your view you added many query filters:

Distance
Show posts within 5km radius of address/coordinates provided using toolset_maps_distance_center URL parameter.

Taxonomy filter Edit
Select posts with taxonomy:
WUNSCH-HILFE-Tätigkeiten slug in one of those set by the URL parameter wpv-wunsch-hilfe-tatigkeit
eg.
hidden link
AND
WUNSCH-HILFEN-Alltag slug in one of those set by the URL parameter wpv-wunsch-hilfen-alltag
eg. hidden link
AND
WUNSCH-HILFEN-Technik slug in one of those set by the URL parameter wpv-wunsch-hilfe-handwerk
eg. hidden link
AND
WUNSCH-HILFEN-Perspektiven slug in one of those set by the URL parameter wpv-wunsch-hilfe-perspektiven
eg. hidden link
AND
BUCH-Arten slug in one of those set by the URL parameter wpv-wunsch-buch-art
eg. hidden link
AND
BUCH-Themen slug in one of those set by the URL parameter wpv-buch-thema
eg. hidden link
AND
Filter based on the frontend search filter by BUCH Alter & Sprachen.

Custom field filter Edit
Select items with field:
WUNSCH-Biete/Suche is a string like URL_PARAM(wpv-wpcf-wunsch-biete-suche)
AND
WUNSCH-Art is a string equal to URL_PARAM(wpv-wpcf-wunsch-art)
AND
Filter based on the frontend search filter by WUNSCH-AKTION.
AND
aktiv is a string equal to 1

Post search filter
Filter post content and title based on the frontend input search filter.

Are you using correct taxonomy and custom fields?

The topic ‘[Closed] Does search work with buddypress docs?’ is closed to new replies.