[buddypress-trac] [BuddyPress Trac] #6274: #5669 stops blog post activity being recorded on site where search engines are discouraged

buddypress-trac noreply at wordpress.org
Tue Mar 3 14:46:14 UTC 2015


#6274: #5669 stops blog post activity being recorded on site where search engines
are discouraged
----------------------------------+-----------------------------
 Reporter:  rogercoathup          |      Owner:
     Type:  defect (bug)          |     Status:  new
 Priority:  normal                |  Milestone:  Awaiting Review
Component:  Component - Activity  |    Version:
 Severity:  normal                |   Keywords:
----------------------------------+-----------------------------
 This is a follow-up to #5669.

 These amends have stopped activity items for blog posts from working in
 multisite installation where the WordPress option "Discourage search
 engines from indexing this site" is enabled.

 In 2.1 with the bp_blogs_record_post approach, we could get activity items
 generated for these sites (where search engines are discouraged) by
 filtering bp_is_blog_public() to always return true.

 This no longer works in 2.2. -- as the new_blog_post activity type isn't
 registered initially when search engines are discouraged.

 What do you suggest is the best approach to keep activity recording, but
 also keep the sites hidden from search engines?  Is there an alternative
 function we can filter on to ensure the new_blog_post activity type is
 registered / generated?

 ---

 p.s.: Not recording activity items if a blog is hidden from search
 engines, does not seem like a good generic solution -- it satisfies one
 use case (blog farms with independent users), but fails to satisfy other
 equally valid use cases.  For example, in this case, the client (a
 multinational) has a network of sites for their employees -- the sites are
 private (so no search engine indexing), but an activity steam recording
 blog posts is required.

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


More information about the buddypress-trac mailing list