[buddypress-trac] [BuddyPress Trac] #7873: BP_DEFAULT_COMPONENT or Custom front template as the landing page ?

buddypress-trac noreply at wordpress.org
Mon May 28 06:35:44 UTC 2018


#7873: BP_DEFAULT_COMPONENT or Custom front template as the landing page ?
--------------------------+------------------------------
 Reporter:  imath         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Members       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  dev-feedback  |
--------------------------+------------------------------

Comment (by sbrajesh):

 Thank you for opening this @imath

 The front page functionality in BuddyPress is very limited. It is either
 all or none. At the moment, if we want to conditionally define landing
 page for user profiles(when front page is active), It is not feasible. The
 only way to accomplish this is by disabling the front page completely.

 While supporting BuddyPress, I have seen the use cases where people do
 want to keep the front page and act is as the user dashboard but while
 visiting other's profile, they do not want the front page  and default to
 something else.

 I haven't looked into details but the above constant used to be the
 simplest way to provide the custom landing page.

 Is there any other recommended way to do it? If not, should the
 BP_DEFAULT_COMPONENT be honoured even when front page is active? Or do you
 recommend filtering on 'bp_displayed_user_get_front_template' ?

 Thank you.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7873#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list