Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 101 through 125 (of 69,209 total)
  • Author
    Search Results
  • flamuren
    Participant

    @emaralive thanks and I am aware.

    I thought perhaps someone kind would look at it and see what in the redirect goes wrong and perhaps its something easy for a coder.

    All the other text is for context to make it easier to understand what I am trying to do.

    I mean I can listen to the AI-models and just split the code and put a filter in the function file. But something in me says there must be some way to redirect to your own messages after login with prefilled “send to” value. It feels like something that buddypress would be able to handle nativly?

    flamuren
    Participant

    Hi,

    I am a total novice in coding. Please bare with me now. I have used copilot, gemini and chatgpt to help me build a custom page from zero.

    The page shows registrered employers on my website. (Wpjm+buddypress)

    If a user is not logged in the message button on the employer profile card on the custom page will read “please login to message this employer”.

    If pressed you go to the login with a redirect to your own compose message page with prefilled to field with the username of the employer.

    The issue here is I cant get it to work. Tried 1000s of different variants but the AI models wont give me a solution. They tell me it cant be made and that I have to split the redirect code with some code on the page and some code in the function file.

    HOWEVER! This is where it gets weird. The first round of code help I got it managed to solve this without function file. But I cant find the solution again since I am stupid/novice enough to not save work as I make new changes…

    I wonder if any kind soul would see if they can help me solve this. The page for reference is here: https://arbetssokande.nu/registrerade-arbetsgivare/

    One of the code I have used that wont work:

    <?php if ( bp_is_active( 'messages' ) && isset( $user ) ): ?>
        <?php
            $recipient_username = $user->user_nicename;
            $query_args = array(
                'r' => $recipient_username,
            );
            $query_string = http_build_query( $query_args );
    
            if ( is_user_logged_in() ):
                $compose_url = bp_loggedin_user_domain() . bp_get_messages_slug() . '/nytt-meddelande/?' . $query_string;
            ?>
                <a href="<?php echo esc_url( $compose_url ); ?>" class="bp-message-button">Skicka meddelande</a>
            <?php else:
                $redirect_url = home_url( '/' . bp_get_messages_slug() . '/nytt-meddelande/?' . $query_string );
                $login_url = wp_login_url( $redirect_url );
            ?>
                <a href="<?php echo esc_url( $login_url ); ?>" class="bp-message-button">Logga in för att skicka meddelande</a>
            <?php endif; ?>
    <?php endif; ?>

    The message button works if you are logged in. As also does the “see job ads” of the chosen employer (both logged in or logged out and redirected).

    Am I stupid/remember wrong that the redirect for message worked one time some days ago? I feel so stupid its sad.

    Please help if you can.
    Best regards,

    flamuren

    #337380
    angeljs
    Participant

    I’m using WordPress 6.8.1 and Buddypress 14.3.4 on a subdomain multisite installation. Everything is working just fine except for one thing: when a member clicks ‘My sites’ nothing shows up. I’m a member of two sites and I signed up with a test account and still nothing.

    I’m wondering if it’s because I created the sites before I actually installed Buddypress? There doesn’t appear to be an option in the Buddypress network tools to recalculate the sites.

    Thanks for any help.

    Arni
    Participant

    The problem with sending private messages to multiple recipients may be due to bugs in an older version of BuddyPress. Make sure you have the latest version installed. Also try disabling other plugins to check for conflicts.
    Hope this helps!

    flamuren
    Participant

    I wrote this code in the child function file but it wont work. Any suggestion what might be wrong?

    function my_custom_bp_employer_features_setup() {
        add_action( 'bp_members_directory_tabs', 'my_custom_members_directory_employer_tab', 10 );
        add_filter( 'bp_pre_user_query_args', 'my_custom_members_directory_filter_by_role' );
        add_action( 'wp_head', 'my_custom_members_directory_employer_tab_styles' );
    }
    add_action( 'bp_loaded', 'my_custom_bp_employer_features_setup' );
    
    function my_custom_members_directory_employer_tab() {
        error_log( 'my_custom_members_directory_employer_tab: Attempting to add "Arbetsgivare" tab.' );
        if ( ! function_exists( 'buddypress' ) || ! bp_is_active( 'members' ) ) {
            error_log( 'my_custom_members_directory_employer_tab: BuddyPress or Members component not active.' );
            return;
        }
        bp_members_add_tab( array(
            'id'                => 'employer',
            'text'              => __( 'Arbetsgivare' ),
            'slug'              => 'employer',
            'link'              => bp_get_members_directory_permalink() . 'employer/',
            'position'          => 35,
            'css_id'            => 'members-employer-tab',
            'screen_function'   => 'my_custom_members_directory_employer_screen',
            'show_in_filters'   => true,
            'filter_id'         => 'employer',
        ) );
        error_log( 'my_custom_members_directory_employer_tab: Successfully called bp_members_add_tab().' );
    }
    
    function my_custom_members_directory_employer_screen() {
        error_log( 'my_custom_members_directory_employer_screen: Screen function called.' );
        bp_core_load_template( 'members/index' );
    }
    
    function my_custom_members_directory_filter_by_role( $query_args ) {
        error_log( 'my_custom_members_directory_filter_by_role: Filter applied.' );
        if ( bp_current_action() === 'employer' ) {
            error_log( 'my_custom_members_directory_filter_by_role: Filtering by "employer" role.' );
            $query_args['role'] = 'employer';
        }
        return $query_args;
    }
    flamuren
    Participant

    go to wp admin/dashboard – settings – buddypress – settings – and here you should have settings to adjust how registrations are handled.

    I cant confirm since I have official registration set to active. But if I remember you can set your settings to either manual or automatic here.

    Please try and confirm 🙂

    flamuren
    Participant

    Hi,

    I love buddypress and wpjm combo. Its free and helps people get jobs, which is my private project.

    However I am not so tech savy and not any real coding.

    My question is if its possible, within reason, to add two choices on the member page, to filter out two user classes/types (wpjm candidates and employers).

    Today I have active members and “my friends” as tabs and also a search member field under that. I would like to add candidates and employers, to filter out those users. Mainly employers – since it woud be nice for candidates to reach out if it seems good match.

    I guess find the teamplate for members, add it to my child theme and ad buttons, and then connect the buttons with a filter option in the child theme function file?

    Best regards,

    Flamur

    #337268
    emaralive
    Moderator

    Hi,

    Your best option is to flag it in the #buddypress channel on Slack or to flag it in this forum (Request & Feedback), given that posting in any of the forums doesn’t automatically flag a post as spam or as requiring moderation.

    That said, your post was automatically flagged for moderation due having 3 links (3 or more links will automatically place your post into moderation). As to how long it will take will depend on whether a moderator notices the post or is made aware of such, as you have done.

    Last but not least, I edited your initial post such that the links don’t register as links, basically encapsulated the links within the code tag/element. Additionally, I released your Topic from moderation.

    webstudiolvmm
    Participant

    I am using version: 6.8.1 and BuddyPress Version 14.3.4
    I develop an dating website and created a register form, but if I add field to upload image is not uploaded and the page get issue like that
    https://prnt.sc/bALFPL871QJU

    Support from theme redirect to you guys

    Thanks

    #337221
    devansh17
    Participant

    I am using LeranDash to sell the courses and also want to create a community using buddypress. So while using buddy press plugin along with the LearnDash plugin it gives registration error if some new client want to register on the website.
    I am using Divi theme as well.

    Please provide me the solution how I can use both the plugins.

    #337214
    flamuren
    Participant

    Hi,

    in the buddypress activity feed the spacing/linebreaks are removed when publishing the posts.

    It would be great if it would keep linebreaks as for example this forum post does.

    Would anybody be able to add this to buddypress acticity posts?

    Best regards,

    flamuren

    #337177
    emaralive
    Moderator

    Those are the 21 situations that are installed by BuddyPress. If a situation for password reset had existed it would have had to be installed by, at the momenent, an unknown plugin which then would have made the count 22.

    So, at this point, it is still unclear whether an email template and associated situation existed prior to March 25. OK, so let’s try something that might provide some insight as to what may be occurring:

    1. In an Activity post, @mention yourself, so that you would receive and email. We need to look at the email header information to see whether that email was sent by BuddyPress or by WP Mail SMTP.
    2. Send yourself a test message from WP Mail SMTP (once for HTML and once for plain text), again to check the email header information.

    Personally, I only use the built-in emailing capabilities for WordPress related messages and BuddyPress for its related messages. However, I did install WP Mail SMTP (default PHP configuration) just to check how it functions with sending emails.

    I will also attempt to install All-In-One Security (AIOS) to see if it is installing the password email template and situation.

    In the meantime, I’m interested in knowing the results of the email header information specifically 2 key value pairs:

    • Content-Type
    • X-Mailer

    The above list are the keys and an example for the @mention test would be:

    
    Content-Type: multipart/alternative; boundary="b1=_pryh1yml4xJIzLfYeFcRRVRuhNzbjtZon2KyTKgas"
    X-Mailer: PHPMailer 6.9.3 (https://github.com/PHPMailer/PHPMailer)
    

    For WP Mail SMTP the results for the HTML test would be:

    
    Content-Type: text/html; charset=UTF-8
    X-Mailer: WPMailSMTP/Mailer/mail 4.4.0
    

    For WP Mail SMTP the results for the plain text would be:

    
    Content-Type: text/plain; charset=UTF-8
    X-Mailer: WPMailSMTP/Mailer/mail 4.4.0
    

    What I’m attempting to do here is to fill in the blanks, in my mind/have an historical record, and via the process of elimination attempt to figure out what is preventing password reset emails from being delivered.

    #337167
    emaralive
    Moderator

    The issue at this point, as I see it, is that there is additional information that is missing or yet to be uncovered/disclosed. Do you know as a matter of fact that this email template existed prior to March 25? If the email template, it’s corresponding situation (what you call a trigger) and any underlying code to make all of this function, for a password reset to be sent via BuddyPress, would have had to have been created by a plugin (that is not BuddyPress) and if true then that plugin needs to be identified in order to figure out why it has not reinstalled the email template with an associated situation (trigger). Otherwise, if the email template never existed then your problem lies elsewhere.

    Normally, password resets are a function of WordPress and are sent via the wp_mail() function that is executed via the retrieve_password() function. However, I noticed that you are using the WP Mail SMTP plugin of which password resets would be sent via this plugin instead of the wp_mail() function (WordPress).

    #337162
    duyha83
    Participant

    Youzify is not installed. Of the additional plugins, only BuddyPress Login Redirect to Profile and BuddyPress Sitewide Activity Widget. I reinstalled new letters here

    There are indeed 21 letters, but there is no letter with a password reset. I tried to create it manually, but there is no trigger for sending it

    #337159
    jasperdemann
    Participant

    BB said:
    “I checked our BuddyBoss demo and found that there is no active menu color for the user dropdown menu. So, the design you’re seeing is entirely related to your website’s theme. BuddyBoss doesn’t provide any default active color styling for those menu items.”

    BuddyX Pro said:
    “Upon discussing your concern, we found that this issue is related to the core functionality of BuddyPress and BuddyBoss. Unfortunately, we will not be able to fix it from our end, as it falls outside our scope of control.”

    Somebody is definitely wrong!

    No problem.
    I spent some time today finding a workaround so I’m good now, thanks.

    #337154
    Earl_D
    Participant

    There is an old plug-in to set a default cover image. I have it running without any problem on the current WP & BP
    https://wordpress.org/plugins/buddypress-cover-photo/

    #337153
    emaralive
    Moderator

    @duyha83,

    It seems that there isn’t enough information to make heads or tails of what might be occurring. Are you using the Youzify plugin? I ask because there are only 21 email templates (with corresponding situations) that come standard with BuddyPress. The email template shown in the screenshot you provided would have had to be installed by a 3rd party plugin.

    #337152
    emaralive
    Moderator

    Either you have been misinformed or you have misunderstood what was being conveyed to you. The BuddyBoss Platform is not BuddyPress. Try BB again for support.

    BuddyBoss Home – Web

    #337126
    Saeed Piri
    Participant

    Dear @inspirationacademy,
    Unhide the .messages-form .submit (Astra Pro may be hiding it) with:
    .messages-form .submit { display: inline-block !important; }
    If it’s still missing, copy the BuddyPress messages template into your child theme, add back the <button type="submit" name="send">Send</button>, then clear all caches.

    #337116
    emaralive
    Moderator

    This topic was answered and resolved by @thinlizzie, see the following:

    Adding text intro to members page

    Adding text intro to members page

    smithloo
    Participant

    Hi all,

    I’m building a community site using BuddyPress, and I’m trying to improve the visibility of individual user profile pages in Google. Right now, the pages are getting crawled, but they don’t seem to rank well or appear with good metadata.

    I’m wondering:

    Are there recommended ways to improve SEO for these member pages?

    Should we use a specific SEO plugin like Yoast or Rank Math with BuddyPress?

    Any tips on structuring profile URLs or adding schema?

    I also found some few ideas, but I’m not sure how accurate or up-to-date it is.

    Any suggestions from others who’ve optimized BuddyPress in real-world sites would be really helpful!

    Thanks

    #337076
    t0ta11ed
    Participant

    I have a really odd problem that seemed to happen randomly. This did not happen right away, everything was working fine, then boom.

    I’m using BuddyPress with the Youzify membership plugin, and if I enable them together, WP admin displays posts and pages like this screenshot:

    pi1

    If I disable BuddyPress or Youzify, it returns to normal.

    I’m running WP 6.8, BP 14.3.4 and Youzify 1.3.5. I’m totally baffled how this happened. Any advice would be awesome.

    #337074
    thinlizzie
    Participant

    Re. Alphabetical, the code here will work if you are using bp Nouveau

    Change the selection option from “Last Active” to “Alphabetical” by default

    #337073
    ukfish1
    Participant

    Don’t suppose you can help with this post can you?

    Display on members page

    Thanks again

    Paul

    #337071
    inspirationacademy
    Participant

    With BuddyPress and LearnDash the send button is missing when trying to send a message to an instructor. How can I fix this? We use the Astra Pro theme.

Viewing 25 results - 101 through 125 (of 69,209 total)
Skip to toolbar