Let me know if I should report this on the plugin’s WP.org support page instead, but I figure it might be a CBOX-specific issue. I’ve created a custom Profile Field where users can enter their interests, and if they enter them surrounded by brackets, that should create a link to the search results for other member profiles who have listed that interest in square brackets. Instead, the member search fails when the generated link is clicked on, although searching for the same term in the Member Search box will produce the expected results.
Two members on my site have the bracketed term “WordPress” in the custom “Interests” Profile field, but clicking on that link in either profile leads to a 404 page: https://www.dropbox.com/s/k70mkgz9xi0bzmz/Screenshot%202015-05-28%2021.37.04.png?dl=0
Doing a search for “WordPress” in the members search pulls up both members, though: https://www.dropbox.com/s/hac1m1kdla7b1no/Screenshot%202015-05-28%2021.39.32.png?dl=0
Hi Amanda – Thanks for reporting this one. We’ve written to the plugin author to see if it might be a problem with the new version on CBOX. We’ll let you know. I am providing a link to the directions, just in case – but it sounds like you are already familiar with how to use the plugin. (Maybe others on this forum might be interested in using it, once we debug the issue.) Thanks again.
If he’s not too busy moving back to the midwest. 😉 Yes, the directions on how to use the plugin were very clear — it’s a nice thing to have packaged with CBOX. But it seems to be constructing the query wrong or something.
Hi Amanda – Thanks for the report! (A move across the world couldn’t make me too busy to help you 😉 )
It looks like the problem is that the code used to generate those [bracket links] assumes – incorrectly, obvs – that your members page will be located at example.com/members/, while yours is in fact at example.com/people/. (In my defense, this was the first WP plugin I ever wrote.)
For a temporary fix, open the file wp-content/plugins/custom-profile-filters-for-buddypress/custom-profile-filters-for-buddypress-bp-functions.php. On the line highlighted here https://plugins.trac.wordpress.org/browser/custom-profile-filters-for-buddypress/trunk/custom-profile-filters-for-buddypress-bp-functions.php?marks=11, replace
site_url( BP_MEMBERS_SLUG ) with
I’ll come up with a proper fix for the next release.
Dunno by the way Boone if you might also have time to take a look at #post-5635, which is a more serious difficulty with the Custom Profile Filters …
Also that’s pretty amazing, how far you’ve come in just 6 years. It’s like WP grad school. You are now Doctor of WordPressology with a dissertation called “BuddyPress: The Hermeneutics of Enabling Community Through Code.”
> You are now Doctor of WordPressology with a dissertation called “BuddyPress: The Hermeneutics of Enabling Community Through Code.”
They don’t grant faculty positions based on this degree.
> if you might also have time to take a look at #post-5635,
You have a link? I’m not seeing that post ID.
It seems to be a CBOX theme issue, though.
You must be logged in to reply to this topic.