Search Results for 'buddypress'
-
AuthorSearch Results
-
October 16, 2018 at 9:04 pm #278917
In reply to: problem with avatar in multisite
keshabee
ParticipantHi @prashantvatsh,
I noticed when i used the code it fixed the buddypress avatar images only on the bp-profiles of the multisite.
As the biography in the author biography of the single-post,page and comments on various users are still broken
Please can you assist me, is there a way this can be fixed.Here are screen shots;
https://postimg.cc/2q4GBg8H
https://postimg.cc/FkfJ0JV9
https://postimg.cc/LYPpf9gc
https://postimg.cc/8s1GsSP0October 16, 2018 at 9:02 pm #278473In reply to: Need to customize my buddypress theme Template Stack
Pierre from DesignBots
ParticipantHi @shanebp
Thanks for your recommandations, you’re right.
I’ve made it working by putting my snippet in bp-custom.php like this:/** * Buddypress template stack adaptation for Blade Sage.io templating * @link * example @link http://www.generalthreat.com/2013/08/grappling-with-bp-theme-compatibility/ * * initial one was : * /app/public/app/themes/sage/resources/buddypress */ // will return something like '/app/public/app/themes/sage/resources/views'; function md_bp_blade_register_template_location() { // return STYLESHEETPATH . '/views/buddypress/'; return TEMPLATEPATH . '/views'; } // replace bp template parts syntaxe with the template overload from sage Blade types // see: http://hookr.io/functions/bp_get_template_part/ function md_blade_replace_template( $templates, $slug, $name ) { // Overload the bp template $templates = array(); // empty it if ( isset( $name ) ) { $templates[] = $slug . '-' . $name . '.blade.php'; } else { $templates[] = $slug . '.blade.php'; } //print_r($templates); return $templates; } add_action( 'bp_init', function () { //error_log("bp init loaded"); // custom url stacks for blade '/views' folder // working but Blade Syntax is not interpreted ... if( function_exists( 'bp_register_template_stack' ) ) { bp_register_template_stack( 'md_bp_blade_register_template_location', 1 ); } // we also have to filter the render file extension (.blade.php) // for Buddypress components tpl parts add_filter( 'bp_get_template_part', 'md_blade_replace_template', 10, 3 ); // http://buddypress.wp-a2z.org/oik_api/bp_locate_template/ //add_action( 'bp_locate_template', 'md_blade_locate_template', 1, 6); });But this technique doesn’t work with bp ajax for example when bp groups loop is reloaded with ajax
I’m sure there is something to do with bp_locate_template() or bp_locate_template_and_load()
to inject correctly my buddypress templates in the_content from mytheme/resources/views/buddypress (instead of mytheme/resources/buddypress/)By the way i’m using the Sage starter theme https://roots.io/sage/
Any idea?
October 16, 2018 at 8:50 pm #272099In reply to: Problem Buddypress with Ultimate Membership Pro
rastislavkr
ParticipantHello @djpaul, thank you for your willingness to help. I will try to explain my problem. My site is under construction only.
1.When I was not using Ultimate Membership Pro, the registration page was from the BuddyPress plugin (https://drive.google.com/file/d/1tXTGRUKgWKCCzTjc1o3F4fSw2pWCJqeT/view?usp=sharing) BuddyPress registration page was also set up in admin (https://drive.google.com/file/d/1p5_4Dn9aqLEnubDaJ4W7Ukah-L0uCN1N/view?usp=sharing). Everything was ok.
2.After installing the Ultimate Membership Pro plugin, I changed BuddyPress registration page settings to Ultimate Membership Pro plugin registration page (https://drive.google.com/file/d/1V0nv7kiF0myE8axrd1AZ33t-Xh7tN8ja/view?usp=sharing). In the Ultimate Membership Pro settings, I set up the same register page (https://drive.google.com/file/d/1asQ9jbL761iyWq48ERHDNSUjMLdCdgTs/view?usp=sharing). The registration page should now be the Ultimate Membership Pro plugin registration page (https://drive.google.com/file/d/1ux6VQxQH29Q3DTuII9KzxoVbA2ZRpq2n/view?usp=sharing). However, it is very difficult to get to it. Instead, Buddy Press’s sign-up registration page still appears (https://drive.google.com/file/d/1EHKyh5kGsQv1xBNsRJFw2vYB9bImI8gf/view?usp=sharing). But with the URL corresponding to the Ultimate membership Pro registration page (https://drive.google.com/file/d/1EHKyh5kGsQv1xBNsRJFw2vYB9bImI8gf/view?usp=sharing).I’ve tried everything else setting, even turning off other plugins – it did not help. Well thank you.
October 16, 2018 at 8:49 pm #269814In reply to: Styling in (BuddyPress) Members widget
Antipole
Participant@leog371 – thanks for trying to help. That did not do it, however. I am copying below the html presently generated in the hope this might help.
My issue is that the two user names in the list of recent members (John – Paris & Mile Peregrine) are linked to their profiles, but the links only colour when hovering over the links. I need them to be coloured all the time, as my site uses the colouring as visual clue that it is clickable.The colour required is: color: #05a9c5;
thanks
<aside id="bp_core_members_widget-4" class="widget widget_bp_core_members_widget buddypress widget"><h3 class="widget-title"><a href="http://testsite.xxx.org.uk/members/">Welcome to our new members</a></h3> <div class="item-options" id="members-list-options"> <a href="http://testsite.xxx.org.uk/members/" id="newest-members" class="selected">Newest</a> <span class="bp-separator" role="separator">|</span> <a href="http://testsite.xxx.org.uk/members/" id="recently-active-members" >Active</a> </div> <ul id="members-list" class="item-list" aria-live="polite" aria-relevant="all" aria-atomic="true"> <li class="vcard"> <div class="item-avatar"> <a href="http://testsite.xxx.org.uk/members/paris/" class="bp-tooltip" data-bp-tooltip="John - Paris"><img src="//www.gravatar.com/avatar/69299ce42f215930a2181c49f1eb4bef?s=50&r=g&d=mm" class="avatar user-119-avatar avatar-50 photo" width="50" height="50" alt="Profile picture of John - Paris" /></a> </div> <div class="item"> <div class="item-title fn"><a href="http://testsite.xxx.org.uk/members/paris/">John - Paris</a></div> <div class="item-meta"> <span class="activity" data-livestamp="2017-12-17T23:51:09+0000">registered 1 week, 3 days ago</span> </div> </div> </li> <li class="vcard"> <div class="item-avatar"> <a href="http://testsite.xxx.org.uk/members/peregrin/" class="bp-tooltip" data-bp-tooltip="Mike - Peregrine"><img src="//www.gravatar.com/avatar/0e516af4e69f0befa893934cbd29d023?s=50&r=g&d=mm" class="avatar user-118-avatar avatar-50 photo" width="50" height="50" alt="Profile picture of Mike - Peregrine" /></a> </div> <div class="item"> <div class="item-title fn"><a href="http://testsite.xxx.org.uk/members/peregrin/">Mike - Peregrine</a></div> <div class="item-meta"> <span class="activity" data-livestamp="2017-12-02T18:55:20+0000">registered 3 weeks, 4 days ago</span> </div> </div> </li> </ul> <input type="hidden" id="_wpnonce-members" name="_wpnonce-members" value="ab1b45abd0" /> <input type="hidden" name="members_widget_max" id="members_widget_max" value="2" /> </aside>October 16, 2018 at 8:14 pm #278940In reply to: BP and Polylang
Prashant Singh
ParticipantI have not tested it yet but after the translation please try to regenerate the mails.
Go to wp-admin > Tools > BuddyPress and run the “Reinstall emails” tool.
Reference: https://buddypress.org/support/topic/translation-email/
October 16, 2018 at 8:12 pm #278939Prashant Singh
ParticipantHi,
You can also test hook do_action( ‘bp_complete_signup’ ); You can find the hooks related ton registration here buddypress/bp-members/screens/register.php
Thanks
October 16, 2018 at 7:43 pm #278938In reply to: Buddypress groups
Prashant Singh
ParticipantHi,
This is not the case with BuddyPress till date if users are subscriber then they will be a normal member. Please test if any other plugin is creating the issue there.
Thanks
October 16, 2018 at 7:41 pm #278937Prashant Singh
ParticipantHi,
After seeing the video it seems like you are getting that link from this file: buddypress\bp-themes\bp-default\members\single\messages\single.php and code is
<a class="button confirm" href="<?php bp_the_thread_delete_link(); ?>" title="<?php esc_attr_e( "Delete Message", "buddypress" ); ?>"><?php _e( 'Delete', 'buddypress' ); ?></a> Also please let me know which template you are using?
Thanks
October 16, 2018 at 6:17 pm #278931In reply to: buddypress install error
Prashant Singh
ParticipantYou can go with the above solution or can install this plugin https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/ and then try to upload the zip of BuddyPress plugin.
Thanks
October 16, 2018 at 4:05 pm #278930In reply to: members csv
shanebp
ModeratorIf that plugin creates WP users, then BuddyPress will find all 200 members.
And:- You will need to create BP profile fields and data for all those members
- You could write a custom script to do that
- You do not need to export / import a .csv
October 16, 2018 at 4:04 pm #278929In reply to: buddypress install error
Venutius
ModeratorThis error occurs when an empty directory is left in
plugins/buddypressso you need to go and delete that directory.October 16, 2018 at 8:55 am #278916MorgunovVit
ParticipantI’ve tried to use these code:
function mv_send_additional_emails($user_id){ $user = get_userdata($user_id); $mv_options = get_option('mv_email_admin_option'); $mv_message = $mv_options? $mv_options['textarea'] : null; $cc_mail = $mv_options ? $mv_options['input'] : null; $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES); $message = sprintf(__('New user registred on site %s:'), $blogname) . "<br>\r\n\r\n"; $message .= sprintf(__('User login: %s'), $user->user_login) . "<br>\r\n\r\n"; $message .= sprintf(__('E-mail: %s'), $user->user_email) . "\r\n\r\n"; $message .= sprintf(__('Message text: %s'), $mv_message) . "<br>\r\n\r\n"; /* BuddyPress xprofile */ $mv_xp_bp_phone =xprofile_get_field_data( 23, $user_id ); // Phone field idd = 23 $mv_last_name =xprofile_get_field_data( 24, $user_id ); // Last_name field id =24 $message .= sprintf(__('Phone: %s; Last name: %s;' ), $mv_xp_bp_phone, $mv_last_name) . "\r\n"; $headers = array( 'From: Sitename <noreply@mc21academy.ru>', 'content-type: text/html', 'Cc: ' ); // send e-mail to admin @wp_mail(get_option('admin_email'), sprintf(__('[%s] New user registered'), $blogname), $message, $headers);} add_action('user_register', 'mv_send_additional_emails');But it didn’t work – the xprofile filds return empty (null).
But if i try to get xprofile field data for existing user – it works fine
for example for user id = 1 – xprofile_get_field_data( 23, 1 )) returns: ‘+7 911 810 35 05’!I also tried to use another hook: add_filter(‘bp_core_signup_send_validation_email_message’, ‘mv_send_additional_emails’, 10, 3)
But it doesn’t work tooOctober 16, 2018 at 8:20 am #278913In reply to: problem with avatar in multisite
keshabee
ParticipantHi @prashantvatsh,
Thanks for the pointing out on ways how to use that code but,
1) I wanted to ask if there is a way to also do that for the cover image. As mi cover images are not shown on the sub sites when i have the buddy-press multi blog added.2)And Is there a way to find the meta keys and code “add filter” to use fix othyer areas of images or media options that are not being displaysed.
Reason being:
I noticed that the multi blog uses the fields setting the as global, so if one changes the a field from any of the site. that chanege is done immediately on all.
But noticed that for uploads, this does not work because of uploads are done my media and seted to various directory .
So i noticed if i upload the cover image on one site the other sites still does not display that change same as other uploads setting I make use of in the buddypress.Question: can you please help me with a code that could be used to fix the area for cover image and if possible how to find meta keys and guides to not when setting it up
Thank you very much.
October 15, 2018 at 10:13 pm #278891In reply to: Migrate from Ultimate Member to BuddyPress
Prashant Singh
ParticipantHi,
Please take a backup before doing any changes. Users are there by default in WordPress so if you will remove the ultimate member and its extensions then also users will be there. What needs to be managed is if you have any associated data with UM like activities then they certainly will create the issue because BuddyPress has its own activity table and even table for profile field data and all.
I will suggest to set up a staging site first and then test all these things there. Deactivate UM and it’s extensions and then install BuddyPress and check what’s missing there and if there is an extension available in BuddyPress that can do so.
Thanks
October 15, 2018 at 9:37 pm #278874In reply to: BP and Polylang
Prashant Singh
ParticipantOctober 15, 2018 at 9:06 pm #278879Prashant Singh
ParticipantHi,
Please check in BuddyPress settings if comments are enabled like this: https://prnt.sc/l6gojt
Thanks
October 15, 2018 at 7:39 pm #278877r-a-y
KeymasterIs this normal or should i be landing on the page where you compose a message towards said user like any other website?
No, this is not normal. It’s a bug.
There’s a fix for the next version, but it hasn’t been released yet:
https://buddypress.trac.wordpress.org/ticket/7908#comment:10October 15, 2018 at 6:25 pm #278863In reply to: Site Wide Activity
Prashant Singh
ParticipantPlease check this plugin: https://wordpress.org/plugins/buddypress-sitewide-activity-widget/
Thanks
October 15, 2018 at 6:19 pm #278864In reply to: Remove sidebar from registration page
Prashant Singh
ParticipantHi,
Please check this thread: https://buddypress.org/support/topic/how-to-remove-the-sidebar-from-registration-page/
Thanks
October 15, 2018 at 11:04 am #278776Topic: BP and Polylang
in forum How-to & Troubleshootingpan21
ParticipantHi there,
Im trying to replace my old membership plugin with buddypress.
The problem is I have about 10 websites working with polylang and I understand there is a big problem buddypress working with polylang.
I dont mind having emails with both languages and the relevant registration pages also in both languages but are there any helpful hints how to integrate both?
Thank you and best regards,
Harald
October 15, 2018 at 3:06 am #278767rosyteddy
ParticipantDefault and vanilla install of both latest stable WP and Buddypress with no other new plugin installed, just all default themes, nothing else. Creating a new blog post ( as admin or any user ) – expecting to see comment button or box in the Activity stream under the blog title (and excerpt) – but seeing only Favorit / Delete buttons but no Comment button. Many thanks for posting a solution.
October 14, 2018 at 12:33 pm #278650In reply to: Create A New Group Page Is Blank
Prashant Singh
ParticipantHi,
Have you tried disabling plugins except buddypress? Also check once with the default theme like twentyseventeen(if not done).
Thanks
October 14, 2018 at 11:34 am #278644In reply to: Plugin to Filter Activity on BP
Prashant Singh
ParticipantHi,
Please check this thread: https://buddypress.org/support/topic/activity-loop-filtering-multiple-or-excluding-filter/
The code given there will only output these activities:
'activity_update', 'activity_comment', 'new_blog_post', 'new_blog_comment', 'friendship_created', 'created_group',and rest will be excluded from the activity stream.
Thanks
October 14, 2018 at 9:54 am #278640In reply to: Login / Registration through social media
amkh
ParticipantI checked this out already. This plugin does not map “Date-of-Birth” and “Gender” fields of Buddypress.
October 14, 2018 at 2:56 am #278627In reply to: BP-Nouveau Body Class Override Fix
Dream Catcher
ParticipantIs there anyway to prevent buddypress from removing wp_classes? It’s preventing me from using my theme customizer
-
AuthorSearch Results