Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_core_do_catch_uri not being called in custom component

  • I think this is a priority issue on the add_action calls somewhere, not sure if it is my code or BuddyPress. This is on BP trunk 2152.

    I’m having an issue with a call to bp_core_load_template() from my customcomponent_setup_nav() which is hooked into plugins_loaded with pri 11.

    bp_catch_uri() gets called OK but bp_core_do_catch_uri() is never called. Works fine for default BP components but not mine.

    Help?

Viewing 4 replies - 1 through 4 (of 4 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    Tagged this to look at it tomorrow.

    Ok, a bit more info and something I discovered.

    This is in my Achievements plugin, which requires 2 new theme/template files. Rather than force people to move the files into /theme/whatever/ after the one-click plugin install, I successfully nagged Mr Peatling into adding a ‘bp_located_template’ filter. The aim is to utilise this so I can avoid having people move my theme/template files (and allow them to override the default easily by copying the files into their theme folder).

    So to allow me to continue development for the moment, I copied my 2 new theme/template files into /bp-default/ – and lo and behold, it did call bp_core_do_catch_uri(). Temp workaround but still weird.

    Can you open a ticket for this so we can discuss there? Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘bp_core_do_catch_uri not being called in custom component’ is closed to new replies.
Skip to toolbar