Forum Replies Created

Viewing 16 posts - 561 through 576 (of 576 total)
  • Author
  •  Kieran_SQ
    Moderator

    Hi,

    With regards to adding a custom field to the profile header please try the following in your child theme’s functions.php:

    COPY CODE
    // Add Quote to profile head
    
    add_action( 'bp_profile_header_meta', 'display_user_short_bio' );
    function display_user_short_bio() {
        $args = array(
            'field'   => 'Short Bio', // Field name or ID.
            );
        $short_bio = bp_get_profile_field_data( $args );
     
        if ($short_bio) {
            echo '' . $short_bio;
        }
         
    }

    Replace ‘Short Bio’ with the name of the field you have already created and want to display. If you want to add anything before your field is displayed please add your desired text between the ” on the echo line (example below).

    COPY CODE
    // Add Quote to profile head
    
    add_action( 'bp_profile_header_meta', 'display_user_short_bio' );
    function display_user_short_bio() {
        $args = array(
            'field'   => 'Short Bio', // Field name or ID.
            );
        $short_bio = bp_get_profile_field_data( $args );
     
        if ($short_bio) {
            echo 'Display this text before my field' . $short_bio;
        }
         
    }

    With regards to adding this to the members directory I will have to ask my colleague @Radu to join the conversation, they’re better equipped to answer this question for you.

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    in reply to: Header Text Not Showing Up Correctly #168109
     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: Header Text Not Showing Up Correctly #168103
     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: Ubermenu header issues #167612
     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: Ubermenu header issues #167592
     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: Ubermenu header issues #167551
     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: Ubermenu header issues #167549
     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: Ubermenu header issues #167546
     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: BuddyPress Activation Page #167177
     Kieran_SQ
    Moderator

    Hi Grant,

    Thanks for keeping me updated and I’m glad you got it sorted. The CSS below is based off your logo, you’ll need to create an image with more white space either side for this to look okay. You may also need to tweak this CSS a little to suit the new image.

    COPY CODE
    #login_form {
        padding-top: 80px;
        background: url(../wp-content/uploads/2016/11/logo-small.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    Let me know if this works for you.

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    in reply to: BuddyPress Activation Page #166866
     Kieran_SQ
    Moderator

    Hi @Grant,

    Please try adding this to your child theme’s functions.php file

    COPY CODE
    // Do page redirect if just activated
    function seventh_queen_redirect_if_user_just_activated() {
    if ( bp_account_was_activated() ) {
    	wp_redirect( home_url( '/thispage/' ) );
            exit();
    }
    }
    add_action( 'template_redirect', 'seventh_queen_redirect_if_user_just_activated' );

    Replace /thispage/ with your own page

    Let me know if this works for you,

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    in reply to: BuddyPress Activation Page #166830
     Kieran_SQ
    Moderator

    Hi @Grant,

    I can’t imagine there is anything in KLEO that would restrict a standard redirect. You could try the following

    There’s plugin called “BuddyPress Autologin on Activation” which can be found here https://buddydev.com/plugins/bp-autologin-on-activation/. This automatically logs the user in when they activate their profile, by default the plugin directs the user to their profile, however, if you read the comments on this page https://buddydev.com/buddypress/auto-login-the-user-after-account-activation-on-buddypress-based-social-networks/#comment-100947 you’ll see that the developer offers a custom snippet for redirecting elsewhere.

    That code being:

    COPY CODE
    add_fllter('bpdev_autoactivate_redirect_url','redirect_to_edit_profile');
    function redirect_to_edit_profile($user_id){
     
    return bp_core_get_user_domain($user_id )."profile/edit/";
    }

    Let me know if this works for you,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    in reply to: how to change the text in pmpro levels #166798
     Kieran_SQ
    Moderator

    Hi @internetservice,

    The quickest way to achieve this in an update safe way is to do the following

    1. WP Admin > Theme Options > Memberships > “Show field in membership table” set to no for all fields you do not want to appear within the table.
    2. Go to WP Admin > Memberships > Membership Levels and edit one of your packages
    3. Go to the description field and select the “text” tab

    Enter the following for each custom item you want to enter for that package:

    <li class="bullet-item">My first item</li>

    You can use as many of these as you like (each on their own line)

    COPY CODE
    <li class="bullet-item">My first item</li>
    <li class="bullet-item">My second item</li>
    <li class="bullet-item">My third item</li>
    <li class="bullet-item">My fourth item</li>
    <li class="bullet-item">My fifth item</li>

    Once saved these will appear on the front end in your table for that particular package, repeat this process for any other packages.

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    in reply to: img on profile fields #166794
     Kieran_SQ
    Moderator

    Hi,

    From my understanding it’s an oversight with the editor they have used, it might be worth opening a ticket with BuddyPress with regards to this matter as it isn’t theme related. They’re allowing the input of HTML in a controlled way by using the editor, I can’t imagine they ever meant to use the image feature as it doesn’t fit the field type. You can hide it yourself if you wish with the following CSS added to your child theme’s style.css or in Theme Options > General > Quick CSS.

    COPY CODE
    input#qt_field_3_img {
        display: none !important;
    }

    And to solve the issue of the text area not being fullwidth in the text tab please use

    COPY CODE
    textarea#field_3 {
        min-width: 100%;
        max-width: 100%;
    }

    It’s worth giving the xprofile fields plugin a try, I feel like they may do this better. It’s up to you 🙂

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

    in reply to: Adding message button in members loop #166770
     Kieran_SQ
    Moderator

    You could try this CSS for the message button

    COPY CODE
    .members .dir-list a:not(.button), div#main a:not(.button), #header .form-footer a:not(.button) {
        color: #ffffff;
    }
    .members .dir-list .generic-button a {
        background-color: #743349;
        color: #ffffff;
        min-width: 60px;
        padding: 10px;
        border-radius: 5px;
    }

    As for the “View profile” I’m not too sure so I am going to ask a more senior support staff member to assist you with this request.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

     Kieran_SQ
    Moderator
    Not marked as solution
    in reply to: Memebership Levels Page – adding extra info. #165829
     Kieran_SQ
    Moderator

    Good morning @daveflook,

    Thanks for your question. You can add as many extra fields as you like to the packages by going to Memberships > Membership Levels > Edit

    In the description area with the text tab selected you can enter the following to generate a new front-end field

    <li class="bullet-item">Free stuff</li>

    If you require more than one simply enter each on their own new line like this

    COPY CODE
    <li class="bullet-item">Free stuff</li>
    <li class="bullet-item">Even more free stuff</li>

    I hope this resolves your question for you 🙂

    Thanks,

    Kieran.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

Viewing 16 posts - 561 through 576 (of 576 total)

Log in with your credentials

Forgot your details?