Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: BuddyPress Message Privacy help #9904

    Hi,
    I have added the support to use nice name instead of the login name.

    You will need to add the following code in your theme’s functions.php or in the bp-custom.php(plugins directory)

    
    /**
     * Use nicename as token for the message privacy plugin.
     *
     * @param string $type 'default' or 'nicename'.
     *
     * @return string
     */
    function buddydev_use_nicename_for_user_token( $type ) {
    	return 'nicename';
    }
    add_filter( 'bpdmp_user_identifier_type', 'buddydev_use_nicename_for_user_token' );
    
    

    https://buddydev.com/plugins/buddypress-message-privacy/

    Since it was the only option, I avoided adding the admin option and bloating the plugin. We will have the option in admin once we release our next generation dashboard for BuddyDev.

    Please do let me know if it works or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: BuddyPress Message Privacy help #9897

    Hi DW, Graham,
    Thank you.

    We are not using the user_login to do anything special, It simply matches the list of names enterd by the user.

    To be honest, we are using bp_core_get_username() for the logged in user to see if the sender is in the block list.

    The problem is inconsistency. BuddyPress will either use user_nicename or user_login depending whether the compatibility mode is on.

    Will it be fine if I put a option for the site admin to choose to use the nicename or the login name?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Hi Allan,
    Thank you for posting.
    I am in the process of development but stuck on a few things.

    Mostly, I am stuck at how to allow site admins to define rules that make it easy to use.

    We need to have rules for registration/activation as well as for suggestions(in the widget). I will need a few more days to get my head around this.

    If you have any suggestions, Please do let me know.

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: BuddyPress Message Privacy help #9892

    Hi Dw,
    Thank you for taking time to explain. I sincerely appreciate it.

    It still seems strange to me that you have two usernames. Please take a look at this image and the fields marked with red are the only fields required by BuddyPress

    http://i.imgur.com/bVTU1gm.png

    Is it different on your site?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: Activity Lock and Notification #9890

    Hi @clyn,
    Hope you are doing well.

    Any update from you?

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: BuddyBlog: posts pending review #9889

    Hi Ismar,
    In the BuddyBlog settings, Please use this capability “publish_posts” for the capability for user who can publish post.

    For others looking at the moderation and workflow, @ravisharma is working on an update and we hope to make it available soon.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Thank you 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25400

    Hi Andy,
    Thank you for posting.
    tough the uploader fires events for queuing, progress, and upload complete, they are not available on public object to allow binding.

    I will add some other way to emit the event and make it easy to hook to.

    Will message you here after I add it.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: Buddy Blog – Media #9886

    Hi J,
    I am sorry but they are different thing and it is not feasible(at least from our part) to support this.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25400
    Brajesh Singh on in reply to: [Resolved] Rename Wall Photo #9884

    Marking it as resolved and closing due to lack of replies.