[buddypress-trac] [BuddyPress] #1400: bp_core_do_catch_uri not being called in custom component

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sun Nov 29 14:34:43 UTC 2009


#1400: bp_core_do_catch_uri not being called in custom component
-------------------+--------------------------------------------------------
Reporter:  DJPaul  |       Owner:     
    Type:  defect  |      Status:  new
Priority:  major   |   Milestone:     
Keywords:          |  
-------------------+--------------------------------------------------------
 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.

 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.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1400>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list