- This topic has 20 replies, 2 voices, and was last updated 7 years, 2 months ago by Ernest Marcinko.
-
AuthorPosts
-
June 20, 2017 at 1:38 pm #13710troppodelParticipant
I’m Just looking for a seach plugin to find all fields in my Buddypress member list (for example other frre plugin do it)…but I need to show selected fileds in the preview….with your plugin in can I select the fileds that I can show in the search preview, like phone number and department or only the name?
thanks
*********************************
Hi Ivan,Unfortunately a custom code is needed for that, it’s not possible to select on the back-end.
In case you decide to purchase, you can contact me via support, and if you can provide temporary FTP and back-end access to your test server, I might be able to figure out a code solution to display the desired fields.
——————————————————————-PS : as our conversation our site isn’t public site can we setup remote session with teamviewer?
June 20, 2017 at 3:17 pm #13718Ernest MarcinkoKeymasterHi!
Unfortunately I can’t do teamviewer, or any other remote sessions.
If you know the names of those fields, I might be able to suggest something without seeing it, I’m not sure. If you use XProfile fields, you can check the field names here: http://i.imgur.com/6ZpdNgf.png
June 20, 2017 at 3:33 pm #13724troppodelParticipantYes Ernest but how can I show these fileds in the preview search
pls I think it is more easy for you with remote session you can use skype or other apps, I purchased your plugin only to add this feature.
Can you create a custom code to enable the user profile fileds in the preview search?
for example in the general option>user search>description filed…here I can select only biografy or last activity, can you enable all user fileds here or more fileds?
I need to show name, office number and mobile number so the user no need to open the profile to see these info
I hope you understand what I mean
thanks
RegardsJune 21, 2017 at 11:43 am #13737Ernest MarcinkoKeymasterHi!
I believe I might have found a solution to parse all extended profile fields, and display them as the content, it looks like this: https://i.imgur.com/WOK6sYU.png
You will need this custom code to be placed into the functions.php file in your active theme/child theme directory (copy from line 3 only!!):
IMPORTANT: Please have a complete site back-up via FTP before making any changes to your theme files!!
Please also note that this qualifies as a customization request, which is not part of the plug-in support, so I cannot guarantee this solution will work in all cases properly.
June 21, 2017 at 2:39 pm #13747troppodelParticipantHi Ernest
seem to works but I need to show only some fileds not all
we can pay extra if you need to receive money for customizationit would be great add this feature in your next release, to have a drop down list box to select and enable the fileds…anyway for now can you modify the function and let me write in the code the name of the fileds to show?
thanks
RegardsJune 21, 2017 at 3:27 pm #13748Ernest MarcinkoKeymasterHi!
Sure, it’s actually possible to modify it quickly. Use this code, and enter the fields to the $fields variable on line 6:
That should do the trick.
June 22, 2017 at 8:32 am #13756troppodelParticipantHi Ernest
Thanks for your support
It works only with first one record
look the attach fileRegards
June 22, 2017 at 1:27 pm #13764Ernest MarcinkoKeymasterIndeed, my mistake, this should be working correctly:
June 22, 2017 at 3:44 pm #13780troppodelParticipantHi Ernest
Thanks you very much for your support seem to works
listen why when I try to search something I see these content ( no relevance )
look the attach file
RegardsJune 23, 2017 at 9:03 am #13783Ernest MarcinkoKeymasterHi,
Make sure to enable sources you only want to search. If you want to return user results only, then on the General Options -> Sources panel, disable the Search in posts and Search in pages options as well: http://i.imgur.com/uCkAqi1.png
June 23, 2017 at 10:16 am #13785troppodelParticipantYes I got it cause I have already 2 different search box 1 only for users and one for everything
but I mean about the text in the results ([[[sitename]]]….[[friendname]…etc) look better the image file please Ernest
RegardsJune 23, 2017 at 10:31 am #13786Ernest MarcinkoKeymasterHi,
It looks like it’s some kind of email sample post type, probably related to buddypress or something. Maybe the ‘bp-email’ post type?
Make sure that those post types are not choosen to be returned (General Options -> Sources panel): http://i.imgur.com/3O7PSRC.png
Only choose post types you know, definitely not all of them. Many post types are only placeholders for plugins, not to be viewed.
June 26, 2017 at 10:57 am #13794troppodelParticipantHi Ernest
Thanks for all
how can I disable the search box in a specific page?
I have a issue I replace my default search with my newt ajax search box but in a specific page there is a code issue (look the attach file), I need to disable my ajax search for this page.
thanks
RegardsJune 26, 2017 at 4:24 pm #13799Ernest MarcinkoKeymasterHi,
I believe it might be possible. Try the following code, change the $pages array variable on line 6 to the page IDs where you don’t want to display the search override:
This may not work, but it’s worth a try.
July 3, 2017 at 10:28 am #13850troppodelParticipantHi Ernest
How can I remove the filed with activity date in the result custom code?
look tha attach
thanks
regards -
AuthorPosts
- You must be logged in to reply to this topic.