Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_group_hierarchy_fixup_permalink does not work from other multi-site blog

  • Avatar of johnnymestizo
    johnnymestizo
    Participant

    @johnnymestizo

    Hi

    I am using Bowe Codes to display groups on the main blog, from a sub blog.

    bp_group_hierarchy_fixup_permalink is needed to display the full group permalink.

    See the code imath wrote for integrating with BP Group Hierarchy.

    http://imath.owni.fr/2011/05/15/bowe-codes/comment-page-1/

    Just search for the text ‘bp_group_hierarchy_fixup_permalink’.

    When I run it from a sub blog, with bp group network activated, it causes a white screen of death.

    Otherwise, it simply returns mainblog.com/group_slug/ which is not hierarchally correct.

    Any ideas on a quick fix?

    Cheers,

    Johnny

Viewing 1 replies (of 1 total)
  • Avatar of David Dean
    David Dean
    Participant

    @ddean

    `bp_group_hierarchy_fixup_permalink` is not intended to be called directly – you should be able to get the same effect by calling `bp_get_group_permalink`, which it filters.

    If you’re getting a white screen, there should be error(s) noted in you web server’s logs. Can you provide any errors messages?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.