• I made some changes to the plugin and would like to share it with you. does the plugin have a github repository?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Prashant Singh

    (@prashantvatsh)

    Hi,

    Thanks for your gesture.

    May I know please what changes you made to the plugin? It would be great to know before pushing it.

    Thanks

    Thread Starter harrowmykel

    (@harrowmykel)

    1. removed direct echo-ing of strings and used concatenation
    2. added new filters
    //
    apply_filters( ‘bp_get_send_private_message_link’, wp_nonce_url( bp_loggedin_user_domain() . bp_get_messages_slug() . ‘/compose/?r=’ . bp_core_get_username( $members_id ) ) );

    //so that you can add custom message to link
    $bp_birthday_compose_message_url = apply_filters( ‘bp_get_send_birthday_private_message_link’, $bp_birthday_compose_message_url);

    //filter for members name
    apply_filters(“bp_birthday_greetings_member_name”, $member_name, $members_id)

    3. added displayed user name in loop
    $bp->displayed_user->id = $members_id;

    Thread Starter harrowmykel

    (@harrowmykel)

    $bp->displayed_user->id = $members_id;
    so that hooked plugins and theme can get current user in loop via bp_get_displayed_user

    Plugin Author Prashant Singh

    (@prashantvatsh)

    Thanks for your reply. I will review these and get back to you.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘New Custom Changes’ is closed to new replies.