-
Author
Tagged: Search context
-
June 19, 2018 at 14:08 #201224mirajasParticipant
Hi,
I would like to search through users activity on the frontend.
As I couldn’t find a way to add search though activity, I am asking here to know if there is any possibility to add Activity context like Members, Posts, Groups etc. under theme option.
Thank you,
Miraj
June 19, 2018 at 23:03 #201289LauraModeratorHello, sadly buddypress does not have a search feature for activity and I do not know if they will add it in the future
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 17, 2018 at 05:48 #204042hbcondoParticipantI have a similar question…is it possible to add Authors to the Search context select list? Also, I installed the Pinterest homepage demo data and no matter what search context is specified, it is always search everything.
Attachments:
You must be logged in to view attached files.July 17, 2018 at 18:47 #204103LauraModeratorHello, can you share access so i can check it out?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 17, 2018 at 23:16 #204121hbcondoParticipantHi, Laura. I ended up reviewing the
kleo_ajax_search
function in theme-functions.php and found that there is no condition for authors. Is there a way to update or override this code so the search results includes only authors? I would also want to change the text displayed if no results are found, how can this be done?As for the search context not working, the main search bar is not submitting the context form data parameter while the search icon in the top right does.
July 18, 2018 at 13:32 #204146LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 19, 2018 at 18:12 #204259RaduModeratorHi guys,
There is no pre-made snippet allowing to search for the authors… and also no quick solution, The theme search for bp members no for authors, here’s the php code that can be pasted in wp-content/themes/kleo-child/functions.php and overwritten as you need.
code : https://pastebin.com/raw/QnjbXuhF
Then you can alter the logic by developing your desired functionality.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJuly 26, 2018 at 08:38 #204722hbcondoParticipantRadu, thank you for your reply. Why is the HTML and content hard-coded into the PHP code? This makes it difficult to understand and maintain; if an update to Kleo is made then we would have to update this code manually?
July 26, 2018 at 17:40 #204783RaduModeratorKeeping that in child theme/functions.php will be updateproof
Cheers
R.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.