WordPress.org

Forums

BP Group Hierarchy
[resolved] "Create a Member Group" link fix (4 posts)

  1. Dylan Kuhn
    Member
    Posted 3 years ago #

    In BP 1.5, we have the Groups page set to a child page, and the Create Member Group link wasn't generated correctly. It was something like

    http://example.com/groups/create/?parent_id=20

    when it should have been

    http://example.com/sub/page/groups/create/?parent_id=20

    I don't know if this gets at the root problem, but a fix that worked for me was on extention.php:333, change

    bp_get_groups_hierarchy_root_slug()

    to

    bp_get_groups_root_slug()

    http://wordpress.org/extend/plugins/bp-group-hierarchy/

  2. David Dean
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Dylan,

    Thanks for catching this! Unfortunately, I can't just use bp_get_groups_root_slug(), as it doesn't exist in BP 1.2, and I'm not ready to throw out BP 1.2 compatibility.

    That being said, I'll see what I can do to fix this problem.

  3. David Dean
    Member
    Plugin Author

    Posted 3 years ago #

    There's a new version out that resolved this issue in testing. Let me know whether it works for you, and if you run into anything else!

  4. Dylan Kuhn
    Member
    Posted 3 years ago #

    Looks good, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BP Group Hierarchy
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic