Replies
- lavish on July 4, 2016 at 6:20 am in reply to: Feedback / Request : BP Member Type Generator + Conditional Profile Fields #4540
Thank you. I will be waiting for the update.
- lavish on July 4, 2016 at 6:11 am in reply to: Inviting Ideas for the best ever WordPress Gallery Plugin #4538
Hi!
Instead of (or along with as an option) video upload to own hosting, playing which will be hefty load on the server. Is it possible to create BuddyPress member’s galleries of YouTube / Facebook embedded videos?
That way videos will be played on YouTube / Facebook servers only.
I am looking for the most suitable media plugin for a new project. Your guidance will help me a lot.
Thank you
- lavish on July 1, 2016 at 5:03 am in reply to: [Resolved] insert 'BP Member Type Phrase' in Meta Title #4515
Anyone generating Member Types must be doing it because those member types enhance their website’s usability.
Let’s say someone runs a BuddyPress site that features Doctors, Lawyers, Accountants etc. These keywords in the meta title of the individual profile will boost site’s SEO like anything. You might want to add the code to your plugin in future.
In fact it would be great if you make your own BuddyPress SEO plugin. If you can give option to create titles by using xprofile fields (https://israelwebdev.wordpress.com/2011/08/17/buddypress-metas-title-using-xprofile-field-data/),
I would choose
1 – Member Type Field
2 – City / LocaionThe generated title would be something like – Accountant Delhi – Member Name – Sitename
I am using BuddyPress for years and always missed a good SEO plugin. And I have been following you ever since (https://buddydev.com/buddypress/making-wordpress-seo-plugin-compatible-with-buddypress/)
Just sharing an idea, hope it’s fine to do so.
Thanks
- lavish on July 1, 2016 at 4:35 am in reply to: [Resolved] insert 'BP Member Type Phrase' in Meta Title #4514
Hats Off! @sbrajesh thank you @ravisharma I can’t thank you enough guys. The following code worked perfectly.
// First fix BP titles for Yoast using Ravi’s code
function buddydev_disable_seo_title() {
if ( function_exists( ‘is_buddypress’) && is_buddypress() && class_exists( ‘WPSEO_Frontend’ ) ) {
$instance = WPSEO_Frontend::get_instance();remove_filter( ‘wp_title’, array( $instance, ‘title’ ), 15, 3 );
remove_filter( ‘pre_get_document_title’, array( $instance, ‘title’ ), 15 );
}}
add_action( ‘bp_template_redirect’, ‘buddydev_disable_seo_title’ );// Now insert ‘Member Type Phrase’ in BP Titles
function buddydev_modify_profile_page_title( $title_parts ) {
if ( bp_is_user_profile() && bp_current_action() == ‘public’ ) {
$member_type = bp_get_member_type( bp_displayed_user_id() );
if ( $member_type ) {
$memeber_type_object = bp_get_member_type_object( $member_type );
array_unshift( $title_parts, $memeber_type_object->labels[‘singular_name’] );
}
}return $title_parts;
}
add_filter( ‘bp_get_title_parts’, ‘buddydev_modify_profile_page_title’ );
- lavish on June 30, 2016 at 5:39 pm in reply to: [Resolved] insert 'BP Member Type Phrase' in Meta Title #4505
Hello Brajesh,
Yes, I have tried both with and without the previous code. It is fixing Yoast but not adding the desired Member Type Phrase.
Thanks for the help 🙂
- lavish on June 30, 2016 at 4:50 pm in reply to: [Resolved] insert 'BP Member Type Phrase' in Meta Title #4501
Hello Ravi,
So, I removed my old code and used your latest one. The member type is not added to the title. Your code seems to be fixing Yoast (exactly like my old code did) but it is not adding anything new.
Thanks
- lavish on June 30, 2016 at 2:06 pm in reply to: [Resolved] insert 'BP Member Type Phrase' in Meta Title #4496
Hello @ravisharma
Thanks for the reply. Can I use the code in function.php instead of bp-custom.php?
Also, I am already fixing my BP Titles for Yoast SEO plugin with the following code in my function.php. Hopefully the 2 codes won’t mess up with each other.
‘
function wpseo_fix_title_buddypress($title) {
// Check if we are in a buddypress page
if ( function_exists( ‘buddypress’) && ( !empty( buddypress()->displayed_user->id ) || !empty( buddypress()->current_component ) ) ) {
$bp_title_parts = bp_modify_document_title_parts();// let’s rebuild the title here
$title = $bp_title_parts[‘title’] . ‘ ‘ . $title;
}
return $title;
}
add_filter( ‘wpseo_title’, ‘wpseo_fix_title_buddypress’);‘
Thank you for the help
- lavish on June 30, 2016 at 9:57 am in reply to: [Resolved] insert 'BP Member Type Phrase' in Meta Title #4481
I am testing BP Member Type Generator plugin with
1- Xprofile Member Type Field
and
2 – Conditional Profile Fields for BuddyPress
While creating a multi-select field, I am choosing it to be hidden if chosen Member Type is ‘Type1’ (Member Type is very first field in registration form).
This multi-select field is still visible if user chooses ‘Type1’.
I am sending you a private message with screen shot and url.
Thank you for the help.
- lavish on June 26, 2016 at 6:16 am in reply to: [Resolved] BuddyPress Force Profile Photo has stopped working #4434
Hi!
Sorry for the delayed reply. I had been away for some time. Completely removing the plugin (deleting all files) and reinstalling fixed the problem.
Thank you
- lavish on June 11, 2016 at 12:04 pm in reply to: [Resolved] BuddyPress Force Profile Photo has stopped working #4196
Thank you @sbrajesh , I will be waiting 🙂