Show Sidebar Log in
Commons In A Box Logo
  • Home
  • About
    • Project Team
    • Logos and Graphics
  • Showcase
    • CBOX Classic Showcase
    • CBOX OpenLab Showcase
  • Demo
  • Get Started
  • Documentation
    • Technical Guide
    • CBOX Classic Guide
    • CBOX OpenLab Guide
  • Support Forums
    • CBOX Classic
    • CBOX OpenLab
    • Developers Forum
  • News

Group Admins

  • Profile picture of Scott Voth

CBOX Classic Support

Public Group active 4 months, 3 weeks ago

This group provides support for Commons In A Box Classic, our original software for community-building. Register for an account or log in to commonsinabox.org, then join the group and post your question here.

Custom Profile Filters bracket to link feature broken

  • This topic has 8 replies, 3 voices, and was last updated 10 years ago by Amanda French.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • May 28, 2015 at 9:41 pm #5637
    Amanda French
    Participant

    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

     

     

    May 29, 2015 at 9:30 am #5639
    Scott Voth
    Keymaster

    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.

    http://dev.commons.gc.cuny.edu/2009/05/16/new-plugin-custom-profile-filters-for-buddypress/

    May 29, 2015 at 9:41 am #5641
    Amanda French
    Participant

    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.

    May 29, 2015 at 10:15 am #5642
    Boone Gorges
    Keymaster

    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 bp_get_members_directory_permalink().

    I’ll come up with a proper fix for the next release.

    May 29, 2015 at 11:23 am #5643
    Amanda French
    Participant

    BAM! Fixed!

    May 29, 2015 at 11:26 am #5644
    Amanda French
    Participant

    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 …

    May 29, 2015 at 11:29 am #5645
    Amanda French
    Participant

    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.”

    May 29, 2015 at 2:18 pm #5648
    Boone Gorges
    Keymaster

    > 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.

    May 29, 2015 at 3:38 pm #5649
    Amanda French
    Participant

    Oops, here: https://commonsinabox.org/groups/help-support/forum/topic/url-type-custom-profile-fields-dont-show-up-on-registration-form/

    It seems to be a CBOX theme issue, though.

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Log In
Group logo of CBOX Classic Support
  • Home
  • Forum
  • Announcements
  • Docs
  • Members 287
  • Send Invites

Groups

Newest | Active | Popular | Alphabetical
  • Group logo of CBOX Classic Support
    CBOX Classic Support
    287 members
  • Group logo of CBOX Pioneers
    CBOX Pioneers
    71 members
  • Group logo of CBOX Developers
    CBOX Developers
    40 members
  • Group logo of CBOX OpenLab Support
    CBOX OpenLab Support
    22 members
  • Group logo of CBOX-OL Testing Partners
    CBOX-OL Testing Partners
    12 members

CBOX has its roots in the CUNY Academic Commons, which in turn was made possible through funding from The City University of New York itself.

CUNY Logo

CUNY Academic Commons Logo

City Tech logo

The Commons In A Box was made possible through the generous support of the Alfred P. Sloan Foundation.

Alfred P. Sloan Foundation Logo

NEH Logo

The CUNY Graduate Center has directly contributed to the CUNY Academic Commons, housing the project since its inception, and has contributed to CBOX through its GC Digital Initiatives.

CUNY Graduate Center Logo

CUNY Graduate Center Digital Initiatives Logo

Powered by Commons In A Box
css.php
Skip to toolbar
  • About WordPress
    • WordPress.org
    • Documentation
    • Learn WordPress
    • Support
    • Feedback
  • Log In
  • Register