Replies
- Brajesh Singh on September 1, 2016 at 2:50 am in reply to: [Resolved] Auto rename uploaded Mediapress files for security #5337
Hi Bjoern,
I or Ravi will do it this weekend.Thank you for reminding.
Hi Again,
Thought I will post the code. You will need to change the role though.function buddydev_set_role_on_activation( $user_id ) { $user = get_user_by('id', $user_id ); $role_name = "contributor";//please change with your own role name if ( $user ) { $user->set_role( $role_name );// please change $role_name with your ow n role } } add_action( 'bp_core_activated_user', 'buddydev_set_role_on_activation', 0 );You can put the above code in bp-custom.php
Hope that helps.
PS: Please do not forget to modify it.
- Brajesh Singh on September 1, 2016 at 2:44 am in reply to: Tweaks about BP Extended Friendship Request Plugin #5334
Posted here
https://buddydev.com/support/forums/topic/add-a-button-to-buddypress-profile/#post-5333
Closing it in favor of the other thread. Please use the Extended Friendship plugin as you mentioned in other thread and you may modify the content displayed here
If you remove the textarea and use the same name/id for selectbox, the value for that field will be used.
Hope that helps.
Regards
Brajesh- Brajesh Singh on September 1, 2016 at 2:40 am in reply to: Buddypress Sitewide Activity Widget #5332
Hi Mandy,
I am sorry but I did not get that. Can you please explain?Are you able to show it in the normal BuddyPress activity but not in the sitewide activity widget?
- Brajesh Singh on September 1, 2016 at 2:27 am in reply to: [Resolved] Dedicated Sitewide Galleries By Media Type? #5331
Hi Charlie,
My apologies for the delayed reply.1. Currently you can use the shortcodes(gallery shortcodes)to list gallery by type
As I understand your post, I believe it is a great idea to have separate directory page for each of the types as filtered.
I will add it on our track and will try to have it in next milestone.
Thank you
Brajesh Is that the actual name of Role? I need the actual name in order to use with the set role. THe above name seems like just the label.
https://developer.wordpress.org/reference/classes/wp_user/set_role/
- Brajesh Singh on August 31, 2016 at 12:51 am in reply to: Does the bbPress Notify Admins work with other plugins? #5317
Hi Carmen,
My apologies for the delayed reply.The bbPress notify Admin send notification whenever posts are created. Most probably the plugin you are using to create the post is not firing these actions
https://github.com/buddydev/bbp-notify-admins/blob/master/bbp-notify-admin.php#L56
Please check with the plugin developer and let me know what they say.
Thank you
Brajesh Hi Simone,
My apologies for the delayed reply.I am sorry but the notification part is not handled by MediaPress. It is done by BuddyPress. You may use my BuddyPress Live Notification plugin to make it better. The Live notification plugin uses hearbeat api and if you are on a shared server, I don’t suggest using it.
Regards
Brajesh- Brajesh Singh on August 30, 2016 at 10:06 pm in reply to: bp Ajax registration for lost password page #5315
Hi Emanuel,
I am sorry, It is a little bit delayed. Please allow me till 5th September to put a working version.Thank you
Brajesh