Replies
- Brajesh Singh on November 25, 2019 at 2:59 am in reply to: Custom values multiple selection box #26721
Hi Jennifer,
No, Not that.
I was referring to this.
1. Keep the values in array e.g $val = array(“OPT1”, “OPT2”);
2. Then serializing it using something like this $serialized = maybe_searialize($val).Then you can store that value.
Regards
Brajesh - Brajesh Singh on November 24, 2019 at 12:30 am in reply to: Password reset not sent when using BP Branded Login #26708
Hi Jon,
Hope you are doing well.I have tested this functionality and it seems to be working fine foe me.
Can you please link me to the site using private reply. I can quickly check it there.
Regards
Brajesh - Brajesh Singh on November 24, 2019 at 12:23 am in reply to: Custom values multiple selection box #26705
Hi Jennifer,
The multi option values are stored as serialized value. Can you please check from your import that the field id has data in serialised form? Also, to be editable(selected on edit page, they will be case sensitive).Regards
Brajesh - Brajesh Singh on November 24, 2019 at 12:20 am in reply to: Add a filter to have no limit to send friend requests on BuddyPress Limit Friend #26704This reply has been marked as private.
- Brajesh Singh on November 24, 2019 at 12:18 am in reply to: [Resolved] Activity Autoloader – mobile? #26703
You are welcome.
- Brajesh Singh on November 24, 2019 at 12:15 am in reply to: [Resolved] Branded Login 'get new password' issue #26702
Hi Ralf,
Thank you. This is fine for now. I believe we need to add better compatibility with Nouveau.Regards
Brajesh Hi Ralf,
Thank you for sharing the details.
I believe that we should provide a settings for it then(the subject/message) in the admin. That will resolve it.Regards
Brajesh- Brajesh Singh on November 24, 2019 at 12:14 am in reply to: Importing CSV data in to Xprofile Custom Field types #26700
Hi Scot,
You will need a plugin that allows importing BuddyPress User Profile data. You do not need anything specific to custom field types plugin.
I do not see any viable solution available currently, if you have found any importer, please feel free to use.
Regards
Brajesh - Brajesh Singh on November 24, 2019 at 12:12 am in reply to: BuddyPress Moderation Tools support #26699
Hi Tosin,
Thank you. I have been planning to solve this in efficient way and I am implemnting it in next update.We will have a filter for the same.
Regards
Brajesh - Brajesh Singh on November 23, 2019 at 12:55 pm in reply to: BuddyPress Moderation Tools support #26692
Hi Tosin,
I am sorry for the delayed reply.There was abug in the code. In the abov code I was using in_array for checking and doing a strict check(checkes for type and value both).
The value passed did not match the type an dthat’s why it was not working.
Here is the update code.
// BuddyPress Moderation Tools: White list specific user's content from moderation. add_filter( 'bpmts_is_user_whitelisted', function ( $is, $user_id ) { $white_listed_users = array( 284, 37845, 4578, 2357 ); if ( in_array( $user_id, $white_listed_users ) ) { $is = true; } return $is; }, 10, 2 ); // BuddyPress Moderation Tools: Do not allow white listed user's profile to be reported. add_filter( 'bpmts_is_item_reportable', function ( $is, $item_type, $item_id ) { if ( 'user' !== $item_type ) { return $is; } $white_listed_users = array( 284, 37845, 4578, 2357 ); if ( in_array( $item_id, $white_listed_users ) ) { $is = false; } return $is; }, 10, 3 );It will work now.
Regards
Brajesh