Replies
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
BrajeshHi 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- Brajesh Singh on July 13, 2017 at 1:22 pm in reply to: [Resolved] Automatically join groups on registration #9896
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.
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
BrajeshHi @clyn,
Hope you are doing well.Any update from you?
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- Brajesh Singh on July 12, 2017 at 11:26 pm in reply to: [Resolved] Recent Visitor for BuddyPress Profile – styling issues #9888
Thank you 🙂
- Brajesh Singh on July 12, 2017 at 11:25 pm in reply to: Small idea and my solution: refreshing storage usage in uploader template #9887
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 Hi J,
I am sorry but they are different thing and it is not feasible(at least from our part) to support this.Regards
BrajeshMarking it as resolved and closing due to lack of replies.