[buddypress-trac] [BuddyPress Trac] #7840: bp_is_messages_compose_screen not working with BP Nouveau

buddypress-trac noreply at wordpress.org
Sat May 19 00:07:48 UTC 2018


#7840: bp_is_messages_compose_screen not working with BP Nouveau
--------------------------+-----------------------------
 Reporter:  sbrajesh      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Templates     |    Version:  3.0.0
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The following functions don't work when the BP Nouveau template pack is
 enabled

 `
 bp_is_messages_compose_screen()
 bp_is_messages_sentbox()

 `
 I am using it on 'bp_template_redirect'

 The problem lies in the way BP Nouveau works. It uses hashbang urls and
 navigation is handled by the Backbone router.

 The url structure changes and the conditions fail.

 Is there a way to either make these work or remove certain routes using js
 for the message component. I don't see any way to remove routes from
 Backbone router.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7840>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list