Replies
- Brajesh Singh on September 14, 2018 at 5:46 pm in reply to: BuddyPress Avatar Moderator. Not replace old avatar with placeholder #17354
Hi Max,
1. Sorry, It is not doable currently. The avatar upload is handled by BuddyPress and it removes the old avatar the moment a new avatar is uploaded. That’s why we are unable to show old avatar and use placeholder.
2. Seems like a bug. will push an update in next couple of hours.
Regards
Brajesh - Brajesh Singh on September 14, 2018 at 2:14 pm in reply to: [Resolved] Embed streamable.com video in member profile field #17350
Thank you Max. I am sorry that it did not work the way you wanted.
It is possible to hard code the size(in px) in the above code. You may try setting a fixed size and see if that works.
Regards
Brajesh Hi Matt,
2. Yes, you can recreate and assign them to BuddyPress component by visiting Dashboard->BuddyPress->Settings->Page screen.
3. You can translate using the method 2 or 3 from this article (or from the page I linked earlier)
https://www.wpbeginner.com/wp-tutorials/how-to-translate-a-wordpress-plugin-in-your-language/For future proofing, you can keep the translated file in wp-content/languages/plugins directory.
4. I hope our customers to be reasonable and do consider the effort we put in supporting them. I knew you could demand anything but the hope was you would’t 🙂
For individual plugins we do not offer any discount. It is rare for us to do that as the plugins are already priced very economically considering the time we invest on support.
I can offer a maxium of 20% one time discount.Thank you
Brajesh- Brajesh Singh on September 14, 2018 at 2:10 pm in reply to: How do I upgrade Blog Categories for Groups ? #17348
Thank you Elaine.
Please do note that you will see upgrade notice for the Premium plugins too but clicking on their upgrade won’t work if your current account does not have an active purchase for the same. Just clarifying.
Thank you
Brajesh Hi Matt,
Please link me to the page. The gallery should set the first image as the cover automatically.Regards
Brajesh- Brajesh Singh on September 14, 2018 at 2:00 pm in reply to: How do I upgrade Blog Categories for Groups ? #17345
Hi Elaine,
Welcome to BuddyDev forums.have you configured the BuddyDev dashboard with you API key? if yes, next time WordPress checks for plugin updates, It will show you the available updates from BuddyDev.
Once you see the notice, you can upgrade the free plugin. For the paid plugin to upgrade, you will need to purchase them.
Regards
Brajesh - Brajesh Singh on September 14, 2018 at 12:54 am in reply to: [Resolved] Embed streamable.com video in member profile field #17338
Hi Max,
I have looked into it a little more.It seems to me you are copying the “Embed” code and pasting in the field. In that case, there is exact same markup as you have posted.
If I create a field “Streamable” and change the code from above to use oembed for Streamable too, It does not provide the Div.
The iframe still contains fixed width/height. We can remove that using regular expression.
Here is your code from first post modified.
function bp_enable_embed_in_profile( $val, $type, $key ) { $field = new BP_XProfile_Field( $key ); $field_name = $field->name; $provider = array( 'youtube', 'vimeo', 'instagram', 'bliptv', 'twitter', 'streamable' ); if ( strtolower( $field_name ) == in_array( strtolower( $field_name ), $provider ) ) { $val = strip_tags( $val ); $content = wp_oembed_get( $val, array( 'width' => 400 ) ); if ( $content && 'streamable' === strtolower( $field_name ) ) { $content = preg_replace( array( '/width="\d+"/i', '/height="\d+"/i' ), array( sprintf( 'width="%s"', '100%' ), sprintf( 'height="%s"', '100%' ) ), $content ); } return $content; } return $val; } add_filter( 'bp_get_the_profile_field_value', 'bp_enable_embed_in_profile', 9, 3 );If you create a field and Name it “Streamable” and then simply paste the video url into it. It will fetch the video.
You don’t need the embed code. The above code changes width=100%, height=100% but still the result does not seem too good.
let me know if that works for you.
- Brajesh Singh on September 13, 2018 at 6:51 pm in reply to: [Resolved] Embed streamable.com video in member profile field #17336
Hi Max,
No, It does not work that way.Please take a look at youtube’s output
Example 1:- 480
https://www.youtube.com/oembed?url=http%3A//youtube.com/watch%3Fv%3DJGwWNGJdvx8&format=json
Example 2: Max width 200
https://www.youtube.com/oembed?url=http%3A//youtube.com/watch%3Fv%3DJGwWNGJdvx8&maxwidth=200&format=jsonIt is the oembed provider(Youtube or streamable or others) that needs to support/respect the max width. Youtube does, streamable does not.
Yes, we can replace the width using php but it will be a bad solution as it is bound to break the site in future.
My advise is to avoid hacks which are not supported to be sure that everything works for a long time. - Brajesh Singh on September 13, 2018 at 6:35 pm in reply to: Using Font Awsome in Tabs Creator Pro and other design matters #17332
Hi Carsten,
The plugin does not support icons. It is theme supported. If you are using a premium theme, most of them supports it. Please do check the feature list of the plugin. We have all supported features mentioned there.
You can add icon on your own, the plugin will not be able to do it. We have to separate between the functionality and the appearance and themes are most suitable for managing appearance.
As of navigation, It is again a theme issue and the plugin can not help you.
If you are looking for a free theme with pro features, in next 3 weeks, we are going to release a lite version of Community Builder 2.0 for free and you may want to give that a try. Please do note that the 2.0 is nothing like 1.x series.
Regards
Brajesh - Brajesh Singh on September 13, 2018 at 6:10 pm in reply to: BuddyPress User Profile Tabs Creator Pro – how to link tabs? #17330
Hi Carsten,
Thank you.1. I think the plugin does not need documentation about directory as it will be more confusing for most of the people. The name is User Profile Tabs and that should suffice for most.
In case of other members, I and my team do assist on the forum and clarify. So, I will leave it as it is.
I do agree that different sites have different requirements and they can have their own reasons for organizing the members list in this way. If you do think it is needed, I can help with the shortcode.
The layout may not look great but it will work. Let me know and I will help with the basic shortcode for this.
Regards
Brajesh