Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 4,751 through 4,775 (of 73,986 total)
  • Author
    Search Results
  • mvandemar
    Participant

    So following the steps in this post:

    change the email ‘from’ name (BuddyPress email templates)

    I used this code:

    add_action( 'bp_email', function( $email_type, $email_obj ) {
    	$email_obj->set_reply_to( "wordpress@mydomain.com", "My Site" );
    }, 10, 2 );
    
    add_action( 'bp_email', function( $email_type, $email_obj ) {
    	$email_obj->set_from( "wordpress@mydomain.com", "My Site" );
    }, 10, 2 );

    This partially worked. The signup emails going to the registrant now have the correct From address, but the notifications going to the admin have the WordPress administrator email listed as the From. I believe this is an issue because both the to and from are now a Gmail address, ie. To: myclient@gmail.com and From: myclient@gmail.com, and Gmail is kicking them back as untrusted. How do I get it to change the From email in all cases? Note that I am using the Buddyboss theme, if that makes a difference. Since the above code isn’t checking for the value of $email_type I would have thought it would just work on all of the emails, but the code is also 3 years old so guessing some things may have changed.

    Edit: Also, will Buddypress play well with plugins that allow you to send authenticated emails via SMTP or IMAP, such as WP Mail SMTP by WPForms? I feel that might alleviate the issues we are having but it would be good to know if there’s anything special we need to do before going down that road, thanks.

    -Michael

    #310203
    SirLouen
    Participant

    I can confirm that this is still an issue: if forcing wp_mail , buddypress mails can’t be HTML.

    Not sure why buddypress never switched to wp_mail which is the wp standard.

    #310198
    andrew55
    Participant

    I don’t think there was a BuddyPress update. Did you update any other plugins or themes recently? If so, I would try disabling these plugins and seeing if the issue still persists.

    #310197
    ahmedmusawir
    Participant

    Brajesh from BuddyDev.com was gracious enough help me with the following solutions verbatim:

    Hi Moose
    Thank you for the question.

    To answer your question.

    1. The front template for member type works, but it is not what you are expecting. The front template is used to show the contents inside the content area(below the member header where you see activity etc)

    2. If your goal is to completely control the profile page layout by member type, we can easily do it by forcing bp to load our own template if exists.

    add_filter( 'bp_template_hierarchy_members_single_item', function ( $templates ) {
    
    	$member_types = bp_get_member_type( bp_displayed_user_id(), false );
    	foreach ( $member_types as $member_type ) {
    		array_unshift( $templates, "members/single/index-type-{$member_type}.php" );
    	}
    
    	return $templates;
    } );

    Now, you can create buddypress/members/single/index-type-somemembertype.php and that will be the one used for whole page(You will need to include headers/footers etc manually here).

    Regards
    Brajesh

    #310193
    madmayweb
    Participant

    I want to add a couple pages from listingpro dashboard to buddypress profile. Is there a way to hook theme template pages into the profile as a tab?

    jcfromkc
    Participant

    After 6 months of searching I finally got it!!!!

    Plugins > BuddyPress > BP-Core > BP-Core-Template.php

    Line 875

    'ending' => __( ' […]', 'buddypress' ),

    Change […] to whatever you like, and then create a new blog post. The new blog post will include the updated text you just entered. Hells yeah!

    #310179
    fantasticant
    Participant

    Hi,

    I am using Thrivecart and Wishlist member to create members for my buddypress membership site.

    I can’t seem to stop this from making the users email address immediately public, it shows as the name in profile menu – and also @mentions, and is in their profile url.

    While I have workarounds – and can hide this information using CSS, I would prefer for the system to pick firstname or fullname as the profile name.

    How do I achieve this? .. as users will be concerned at keeping email address private.

    Your help is much appreciated.

    Ant

    matwin23
    Participant

    Hi

    How can I add code to my functions.php to create a button (or text link) displayed on a woocommerce product page to send a Private Message to the buddypress member/author who upload the product?

    The site is using a multi-vendor plugin, WCFM, to create/publish the products.

    Thanks in advance.

    #310169
    SirLouen
    Participant

    By the way, I’m not sure why a half-core WordPress plugin like Buddypress, is not using wp_mail like his brother BBPress I was thinking if this could be a good patch to be considered in the future?

    #310168
    SirLouen
    Participant

    The @corsi159 solution worked for me…

    Same issue with no HTML mails and all that 🙁

    I will have to set up the mail service in the server in order to use the default buddypress mail function…

    I can confirm that Buddy press is not compatible out of the box with WP Mail SMTP plugin.
    https://wordpress.org/support/topic/buddypress-emails-not-being-sent/

    #310167
    calumjoyce
    Participant

    I want to know whether you are able to rearrange the tables are shown on the profile pages. For example if I had a description, an email address and a telephone number as my profile fields, I may want to telephone number and email on one side and the description on the other.

    Is there a way to jump into the files (I am using a child theme) and move the code around so it displays differently on the front end?

    Any guidance would be appreciated.

    vonJanne
    Participant

    Hi!

    We are using BuddyPress with theme KLEO and PaidMembershipsPro for a platform where experts can present themselves including links to their social media profiles, any work they have published, etc. This is our site’s members section (but you’d have to log in to see full profiles): https://www.globalwomennet.org/members/
    To make sure visitors viewing profiles do not leave our site, we’d like these external links in the members’ profiles to open in new tabs. I could only find an over 8 years old topic related to my question (https://buddypress.org/support/topic/make-drop-down-menu-links-open-in-new-page/) so I was wondering if there is an easier way to do this by now?

    Thanks!
    vonJanne

    #310165
    dork7
    Participant

    Hey! i am developing a plugin for my client…
    i would need all the user’s avatars..currently site is saving image’s names in ‘wp_yz_media’ table (using youzers add on)… but there’s no information about the users….
    user’s information is in ‘wp_signups’ …

    i have tried using this
    global $bp;
    $the_user_id = $bp->loggedin_user->userdata->ID;

    but this gives me info about the current logged in user…

    is there any way of getting all the users info?

    or is there any other table in which buddypress stores all the info ?

    ahmedmusawir
    Participant

    Template Hierarchy

    The Codex page above says clearly, that if I put a front.php page in /buddypress/members/single/ … it should be picked up. Also, if I have a member type, all I have to do is this:

    /buddypress/members/single/front-member-type-{member-type}.php

    But none of the above are working. It always uses home.php … any idea why? What am I doing wrong?

    #310163
    white991
    Participant

    How is Buddypress rank added?

    Wordpress:5.3
    BuddyPress: 1.0.359

    #310162
    jnrjose
    Participant

    I am creating an online platform for a client where i use BuddyPress and gamipress. I want users to be moved from one group to another when the user earns a certain number of points .

    #310161
    Anonymous User 17603124
    Inactive

    Hi,
    I found the code to hide comments in the activity stream. Adds an additional button (show / hide comments)
    How can I add the number of comments for the current post?

    I have something like that made by @shay1383

    add_action( 'wp_footer', 'add_comment_hide_show' );
    function add_comment_hide_show() {
        ?>
        <style>
            .activity-comments ul li[id^="acomment-"]{display: none;}
        </style>
        <script type="text/javascript">
            jQuery(function($) {
                setInterval(function() {
                    $('.activity-meta').each(function() {
                        if( !$(this).find('.show-comments').length ){
                            var html = '<a href="#" class="button bp-primary-action show-comments">Show/Hide Comments</a>';
                            $(this).find('.button.acomment-reply').after(html);
                        }
                    });
    
                }, 500);
    
                $('body').on('click', '.show-comments', function(e) {
                    e.preventDefault();
                    var obj = $(this).closest('.activity-content').next('.activity-comments').find('ul li[id^="acomment-"]');
                    obj.slideToggle();
                    return false;
                });
    
            });
        </script>
        <?php
    }

    For comments button, the number of commentators is displayed by:
    <a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"><?php printf( __( 'Comment %s', 'buddypress' ), '<span>' . bp_activity_get_comment_count() . '</span>' ); ?></a>

    But if I use it, the same number of comments appear under each post. How to make it work?

    #310160
    saifmnasri
    Participant

    hi , i have buddypress and gravity forms installed.
    when viewing another member’s profile, there will be contact form, friends can fill the form and submit a message to that member.

    #310157
    SirLouen
    Participant

    OMG, after hours of tracking the bbpress code I’ve finally found the culprit

    The MOST stupid thing I’ve seen ever and is not even fault of Buddypress but BBpress!!!!

    For some reason, some illuminated coder decided that the site should be “indexable” in order to admit both BuddyPress notifications or mentions.

    So essentially I had the

    “Discourage search engines from indexing”, ticked off…

    I cry everytime

    #310156
    SirLouen
    Participant

    Disabled just buddypress leaving bbpress enabled and tried bbpress notifications (on reply) and worked flawlessly…

    I’m missing something, maybe buddypress activity db has been corrupted? Any way to turn on max debug on buddypress?

    By the way, I’ve run all 4 tasks in the Tools section

    (Also I’m running on a custom VPS, so no issues possible with email limitations)

    #310155
    saifmnasri
    Participant

    hi , how can i add meeting request to buddypress
    i wan’t the user to send simple request, the admin approve it , then the other member can accept or refuse. is there any plugin to do that or can you give me code or is there any core function?
    and thank you

    #310154
    SirLouen
    Participant

    Removed both buddypress and bbpress folders and redownload them, and nothing

    Also I’ve noticed that email notifications are not working for any users, although other plugins notificacions like Gamipress work right.

    But the weirdest thing is that reply notices are working right (in-site not email ones)

    #310153
    SirLouen
    Participant

    Checking buddypress code, I see that there is a filter that controls this:

    function bp_activity_do_mentions() {
    
            /**
             * Filters whether or not mentions are enabled.
             *
             * @since 1.8.0
             *
             * @param bool $enabled True to enable mentions, false to disable.
             */
            return (bool) apply_filters( 'bp_activity_do_mentions', true );
    }

    But bp_activity_do_mentions has not been modified anywhere in the code (I’m using core default twenty twenty + just buddypress and bbpress)

    I’ve also tested the function bp_activity_do_mentions() in the functions.php and it is returning true.

    #310152
    SirLouen
    Participant

    This is incredibly weird.

    I’ve installed a test site with just Buddypress + BBpress and did a mention and it worked fine.

    Then in the site where mentions are not working, I have disabled ALL plugins and put Twenty Twenty theme and tried again, and it doesnt work 🙁

    I have checked the apache2 error log and nothing there
    Also activated the WP_DEBUG but nothing…

    Mindblowing.
    It is like the at_mention hook is not being fired…
    The email notification for mentions is not firing either

    What could I be missing here?

    #310135

    Hello,

    I think my question would go here, although there have been some core updates since this posting. I will try to describe what I have and what I am trying to accomplish in detail in order that you can help me.

    –I have multisite installed with a buddypress supported theme.
    –I’d also like to use the YOUZER plugin (although not absolutely necessary).
    –Subsites have woocommerce stores.
    –Woocommerce accounts can be integrated with buddypress accounts (with varying plugins i.e. MyCred/Paid Membership Pro
    –Community is a paid membership

    I’d like a user to be able to purchase a membership at any subsite (shop), PLUS, have their (shop) account activity to be inclusive in their buddypress activity. Ergo…ONCE a membership is purchased – no matter WHAT site across the multi-site they sign into when they click (group/activity/members etc) it ALWAYS goes to the main (only) buddypress community.

    MyCred integration provides for their badges etc to follow them into the community. So, the question:

    Would the instructions given above in this thread hold true for the scenerio as I’ve described it?
    If not, are there other suggestions?

    Much appreciated….

Viewing 25 results - 4,751 through 4,775 (of 73,986 total)
Skip to toolbar