Replies
Hi,
1. Here is the code for linking to user
https://gist.github.com/sbrajesh/42843929a5b89c3065ee2ae6b1e6a904Please create a Text field in the dashboard->User->Profile fields screen and get the field id as shown in the screenshot below.
https://i.imgur.com/MZont9D.png
Please make sure that you have “Autolink” disabled for this field.
Put the code to your theme’s functions.php and change the field id at top with your actual field id. It will work as expected.
2. The taxonomy/posttype fields are not searchable. Sorry, you can not search on the basis of them.
Regards
Brajesh- Brajesh Singh on December 10, 2018 at 5:15 pm in reply to: Help adding youtube videos programatically to gallery #19364
Hi Victor,
I am sorry, There is no function named ‘mpp_add_remote_media’ and that’s why you got error. It will be nice to have a simple function in future though.For now, to add remote media, you will need to use mpp_add_media() and pass the embed content and url.
For example, Please see how we are handling it here
I will provide a simple wrapper function in future.
Thank you
Brajesh - Brajesh Singh on December 10, 2018 at 5:11 pm in reply to: [Resolved] https://buddydev.com/plugins/buddypress-group-tabs-creator-pro/ #19363
Hi Chris,
Thank you for the offer. I am still unable to look into it for next 2 days.I did check their API and I don’t see any way to do it via their API. If we have to do it, we will most probably need to use youtube data api for the same.
The had APIs for the Google drive and others to move into folder but with youtube, It seems to be limited to title/description.
If possible, Can you please ask the same question on their support and see if they have some kind of undocumented API?
Regards
Brajesh - This reply has been marked as private.
- Brajesh Singh on December 10, 2018 at 4:37 pm in reply to: BuddyPress User Profile Tabs Creator Pro – Conflict with GeoDirectory V2 #19360
You are welcome.
Regards
Brajesh - This reply has been marked as private.
- Brajesh Singh on December 10, 2018 at 4:34 pm in reply to: [Resolved] limit of dropdown select box is 300. too small #19358
Hi,
There is no such limit on options in a selectbox.If the error is happening in the dashboard where you add/edit profile field then the most probable reason is your server has a limit on maximum number of post variables and you will need to increase it
http://php.net/manual/en/info.configuration.php#ini.max-input-vars
The default limit is 1000 which might be getting exhausted due to hidden fields etc. Contact the server admin and ask them to modify the limit for you.
Regards
Brajesh - Brajesh Singh on December 10, 2018 at 4:26 pm in reply to: Is BuddyPress Private Message Rate Limiter not working with BuddyPress Nouveau? #19357This reply has been marked as private.
- Brajesh Singh on December 10, 2018 at 12:01 pm in reply to: BuddyPress User Profile Tabs Creator Pro – Conflict with GeoDirectory V2 #19351
Hi Richard,
Thank you for reporting. I have checked and I can see the bug.
The bug lies with the GeoDirectory plugin.
They have class WP_Super_Duper and a hook in that class
add_action( 'media_buttons',array( $this, 'shortcode_insert_button' ) );This breaks the the wysiwyg fields added by CMB2. Please report it to them and they should be able to fix it.
Regards
Brajesh - Brajesh Singh on December 10, 2018 at 10:12 am in reply to: [Resolved] https://buddydev.com/plugins/buddypress-group-tabs-creator-pro/ #19347
Hi Chris,
I am sorry but I am unable to find time to check their API and troubleshoot the button. Since I was not able to work properly for last 2 weeks due to health issues, I am unable to assist you with my current schedule for the week.I sincerely apologize for the inconvenience.
Brajesh