Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ongoing Discussion Regarding Bugs, Improvements, and New Features › Reply To: Ongoing Discussion Regarding Bugs, Improvements, and New Features
Hi Ernest,
I’m going to respond to everything in detail tomorrow, but in the meantime I have one question for you regarding the below item:
Avatar Image Size Used for BuddyPress Activity Search Results
Indeed, I have made a mistake in there, the $v variable should have been $r. This version should be okay now:
First, thanks for this fix. Just one character made the difference! The correct avatar size is now loading. When you add this fix to core please make sure to note it in your change-log so that I can remove the custom filter.
So here is my question…
Right now if I search for a user, say myself, I see mainly activity search results and my profile is also somewhere mixed in. Both the activity results and the user (profile) results display the full size avatar image. Displaying the full size avatar for both activity and user results makes sense. The only problem is there is no way to tell the difference between an activity search result and a user search result because they each display the same thing, an avatar and the user’s name. So unless you filter the search results to only display users or activity, it is very confusing.
I had an idea for a simple solution, which is to display the word “Member” under the person’s name when it is a user search result, and “Activity” under the name for activity results. I would want to be able to customize the word (using the words I just mentioned), and make sure the word displays on the second line under the person’s name.
This would make for a good feature in the plugin, but in the meantime could it be done with a filter and custom function?
I definitely need to do this because we’re going to have endless members and they will each have lots of activity. My only other choice here would be to not display activity at all. But I’d like to try and display it in search so long as it doesn’t detract from other search results.
~ Michael
-
This reply was modified 7 years, 9 months ago by
Michael Samson.