[buddypress-trac] buddypress-trac Digest, Vol 110, Issue 1

David Postell stingertough at icloud.com
Thu Aug 2 12:08:26 UTC 2018



Regards, 

David

> On 2 Aug 2018, at 13:00, buddypress-trac-request at lists.automattic.com wrote:
> 
> Send buddypress-trac mailing list submissions to
>    buddypress-trac at lists.automattic.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://lists.automattic.com/mailman/listinfo/buddypress-trac
> or, via email, send a message with subject or body 'help' to
>    buddypress-trac-request at lists.automattic.com
> 
> You can reach the person managing the list at
>    buddypress-trac-owner at lists.automattic.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of buddypress-trac digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: [BuddyPress Trac] #7736: bp_get_groups_slug filter and
>      Profile screen (buddypress-trac)
>   2. Re: [BuddyPress Trac] #7736: bp_get_groups_slug filter and
>      Profile screen (buddypress-trac)
>   3. [BuddyPress Trac] #7941: Buddy press action hook for BP
>      message reply (buddypress-trac)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 01 Aug 2018 14:22:29 -0000
> From: "buddypress-trac" <noreply at wordpress.org>
> To: undisclosed-recipients: ;
> Cc: buddypress-trac at lists.automattic.com
> Subject: Re: [buddypress-trac] [BuddyPress Trac] #7736:
>    bp_get_groups_slug filter and Profile screen
> Message-ID: <054.2a89e6e44b473b1dca243096fa49a62d at wordpress.org>
> Content-Type: text/plain; charset="utf-8"
> 
> #7736: bp_get_groups_slug filter and Profile screen
> --------------------------+-------------------------------------
> Reporter:  jozik         |       Owner:  (none)
>     Type:  defect (bug)  |      Status:  new
> Priority:  normal        |   Milestone:  Awaiting Contributions
> Component:  Route Parser  |     Version:  1.5
> Severity:  normal        |  Resolution:
> Keywords:                |
> --------------------------+-------------------------------------
> 
> Comment (by jozik):
> 
> Just FYI - suggestion from @r-a-y is not improving things - still no
> results.
> 
> -- 
> Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7736#comment:3>
> BuddyPress Trac <http://buddypress.org/>
> BuddyPress Trac
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 01 Aug 2018 18:22:26 -0000
> From: "buddypress-trac" <noreply at wordpress.org>
> To: undisclosed-recipients: ;
> Cc: buddypress-trac at lists.automattic.com
> Subject: Re: [buddypress-trac] [BuddyPress Trac] #7736:
>    bp_get_groups_slug filter and Profile screen
> Message-ID: <054.022aa00199dbec4ef4c4b99c3c8a7bf9 at wordpress.org>
> Content-Type: text/plain; charset="utf-8"
> 
> #7736: bp_get_groups_slug filter and Profile screen
> --------------------------+-------------------------------------
> Reporter:  jozik         |       Owner:  (none)
>     Type:  defect (bug)  |      Status:  new
> Priority:  normal        |   Milestone:  Awaiting Contributions
> Component:  Route Parser  |     Version:  1.5
> Severity:  normal        |  Resolution:
> Keywords:                |
> --------------------------+-------------------------------------
> 
> Comment (by r-a-y):
> 
> How are you implementing your filter?
> 
> It should look like this:
> 
> 
> {{{
> function my_bp_is_current_component_groups_slug_override( $retval,
> $component ) {
>         if ( bp_current_component() === bp_get_groups_slug() && 'groups'
> === $component ) {
>                 return true;
>         }
>         return $retval;
> }
> add_filter( 'bp_is_current_component',
> 'my_bp_is_current_component_groups_slug_override', 10, 2 );
> }}}
> 
> -- 
> Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7736#comment:4>
> BuddyPress Trac <http://buddypress.org/>
> BuddyPress Trac
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 01 Aug 2018 18:49:35 -0000
> From: "buddypress-trac" <noreply at wordpress.org>
> To: undisclosed-recipients: ;
> Cc: buddypress-trac at lists.automattic.com
> Subject: [buddypress-trac] [BuddyPress Trac] #7941: Buddy press action
>    hook for BP message reply
> Message-ID: <040.1433bb2bd2c4f1149ffec9b54c89c914 at wordpress.org>
> Content-Type: text/plain; charset="utf-8"
> 
> #7941: Buddy press action hook for BP message reply
> ----------------------------------+-----------------------------
> Reporter:  rgipp1                |      Owner:  johnjamesjacoby
>     Type:  defect (bug)          |     Status:  new
> Priority:  normal                |  Milestone:  Awaiting Review
> Component:  BuddyPress.org Sites  |    Version:  3.0.0
> Severity:  normal                |   Keywords:
> ----------------------------------+-----------------------------
> I'm looking to take action when any BP message is replied to.
> I read thru the BuddyPress Actions Hooks document and tried many of the BP
> action hooks with no success.
> 
> Here's an example of my code in a plugin I created (below).
> 
> I test it by replying to a message in BuddyPress.
> 
> I'm not getting the function to execute since the file isn't getting
> created.
> 
> 
> 
> function test_message_meta_display() {
> 
> 
> $myfile = fopen("deletethreadsinfunction.txt", "w") or die("Unable to open
> file!");
>         $txt = "threadID, userID = " . $threadID .  " " . $userID .
> "\n";
>         fwrite($myfile, $txt);
> }
> 
> 
> add_action( 'bp_after_message_content', 'test_message_meta_display', 10, 0
> );
> 
> -- 
> Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7941>
> BuddyPress Trac <http://buddypress.org/>
> BuddyPress Trac
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> buddypress-trac mailing list
> buddypress-trac at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/buddypress-trac
> 
> 
> ------------------------------
> 
> End of buddypress-trac Digest, Vol 110, Issue 1
> ***********************************************


More information about the buddypress-trac mailing list