Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 1,301 through 1,325 (of 31,071 total)
  • Author
    Search Results
  • #312977
    emon2
    Participant

    Is there anyway to switch themes on Buddy press from front end, I used theme switcha plugin but after switching the activity posts disappeared.

    Your Help Is Appreciated

    iamthewebb
    Participant

    I tested using a fresh WP and BP install on my local machine, as I said I can’t replicate what you are experiencing which implies that the issue is either with your theme or another plugin. If you test with twenty twenty theme and the issue disappears you know to contact your theme developer, if it continues with twenty twenty theme you will need to try disabling other plugins to see which is causing the problem.

    iamthewebb
    Participant

    Hi, I don’t seem to be able to replicate this problem, does it happen with when you are using twentytwenty theme?
    Have you tried disabling other plugins?

    #312957
    iamthewebb
    Participant

    Hi @jseanm69
    If I’ve read this correctly if you visit the page on mobile you see all members but not on a desktop, this points to it being a theme issue.
    Have you tested using the twentytwenty theme as recommended by vapvarun?
    You can use the developer tools (f12) in most browsers to test various viewport sizes which should help you see what is happening with the CSS as the page is rendered at different sizes.

    #312954
    jseanm69
    Participant

    One other little question/variable. Everything works fine on one forum, but not the other. They are all part of the same theme and CSS. Configured the same as far as I can tell. The big difference is that one forum as 2500 users and the other has 900. I really don’t see anything else different. Is there a specific php script that returns members as part of buddypress? Could this some sort of query/memory issue?

    alegira
    Participant

    Hi, I am a buddypress starter and have version 6.1 installed, and I am facing the problem of ajax front end not loading content for members, groups, activity listings pages.
    Once a member is logged-in everything works, but not for logged-out users.
    I also get a ‘page not found’ notice for members, groups and activity pages, although they actually load but miss ajax content as I mentioned.

    I have made some readings of old similar issues, but I could not get a solution. Any help appreciated.
    I already tried changing theme and deactivating plugins, but no success.

    My website: diff-coworking.es

    Thanks!

    #312935
    Varun Dubey
    Participant

    @nffox contact you theme support, theme vendor have to remove Deprecated functions from theme
    You can also disable error message using following codes inside the wp-config.php

    Debugging in WordPress

    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );
    #312932

    In reply to: Profile Tabs Alignment

    Varun Dubey
    Participant

    @eloise22 it might be theme-specific CSS tweak

    #312927
    Varun Dubey
    Participant

    @gooalgenie You can define avatar image sizes inside the child theme functions.php or at bp-custom.php

    Customizing BuddyPress Avatars

    The cover image default size can also be updated using the following ref.

    BuddyPress Cover Images

    #312924
    Carlen
    Participant

    I am not sure what this may be for you, but I know that usually this is because the thumbnail version of the profile pic is being pulled and not the full version.

    It would be a php issue in the theme, not a css issue.

    #312914
    gooalgenie
    Participant

    Hey Guys,

    Wordpress version: 5.4.2
    Buddypress Version: 6.1.0

    (Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)

    Yes I face the same issue with twenty, twenty themes.
    Website URL: gooalgenie.com

    Issue

    I am Facing the issue with Cover Image and Profile Pic looking Blur

    Solution Tried did not affect:

    Tried following Code for CSS:

    #buddypress #item-header-cover-image #item-header-avatar img.avatar {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; 
    }
    #buddypress #header-cover-image {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor; 
    }

    Even tried each Image rendering values but no luck.

    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;

    /* Global values */
    image-rendering: inherit;
    image-rendering: initial;
    image-rendering: unset;

    #312913
    gooalgenie
    Participant

    Hey,

    My WordPress version: 5.4.2
    My Buddy press Version: 6.1.0

    (Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)

    Yes I face the same issue with twenty, twenty themes.
    Website URL: gooalgenie.com
    Issue URL: https://tinyurl.com/y43gqshz

    Issue:

    How to make Nav and Sub Nav Ajax?

    I tried few solutions did not work on of the URL of solutions I tried: https://buddypress.trac.wordpress.org/ticket/6507 – Added the code provided here on bp-custom.php and even on themes functions.php file but made no effect.

    Is there any other forum that I can try.

    Note: I have bp-custom.php file in mu-plugins directory and in child theme childtheme/buddypress/members/single/group.php file.

    #312912
    nffox
    Participant

    WordPress: 5.4.2
    BuddyPress: Version 6.1.0
    Theme: Buddyapp
    https://ecodominicana.com

    Hello, I’m having a small issue, and can’t figure out how to fix it. Already read a lot of threads and documentation, but It seems I’m missing something.

    Yesterday this error appeared:
    PHP Deprecated: bp_before_xprofile_cover_image_settings_parse_args is deprecated since version 6.0.0! Use bp_before_members_cover_image_settings_parse_args instead. in /var/www/wptbox/wp-includes/functions.php on line 5088

    And it appears only on profile pages, like this one:
    https://ecodominicana.com/members/ecodominicana/profile

    So I created a buddypress.css in my child theme’s CSS folder: wp-content\themes\buddyapp-child\buddypress\css

    And added this code:

        $theme_handle = 'bp-parent-css';
    
        $settings['theme_handle'] = $theme_handle;
    
        /**
         * Then you'll probably also need to use your own callback function
         * @see the previous snippet
         */
         $settings['callback'] = 'bp_legacy_theme_cover_image';
    
        return $settings;
    }
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );

    Here is the the code in main functions.php

    function kleo_load_files_plugin_compat() {
    	//enqueue child theme style only if activated
    	if ( is_child_theme() ) {
    		if ( is_rtl() ) {
    			wp_enqueue_style( 'kleo-rtl' );
    		}
    		wp_enqueue_style( 'kleo-style' );
    	}

    Any help would be very appreciated. Sorry, I’m a noob in programming, we are a non-profit botanical project, so we can’t afford a programmer…😔

    #312907
    nffox
    Participant

    Hello @mfalk75, one question, where did you put this code? I don’t have a “css” folder in mythemes/buddypress, should I create one first? And then… copy a buddypress.css file there and make the changes… Sorry, I probably miss something.
    Thank you!
    Cheers,
    Ilya

    gooalgenie
    Participant

    Hey Team,

    Really love your plugin with great Features and extension, forum solutions available.

    Wordpress version: 5.4.2
    Buddypress Version: 6.1.0

    (Themes and plugins are all up to date. All the buddy press features are working fine except the below two issue)

    Yes I face the same issue with twenty, twenty themes.
    Website URL: gooalgenie.com
    Issue URL: https://tinyurl.com/y43gqshz

    Issue 1:

    I am facing issue with Making Menu/Nav Tabs and Subnav Ajax (pages to load without loading the complete page) – How can I achieve the same?

    I researched a lot on various buddy press forums but could not figure out the solution for the same. One of the solutions I tried:

    https://buddypress.trac.wordpress.org/ticket/6507 – add the code provided here on bp-custom.php and even on themes functions.php file but made no effect.

    Is there any other forum that I can try.

    Note: I have bp-custom.php file in mu-plugins directory and in child theme childtheme/buddypress/members/single/group.php file.

    Issue 2:

    Avatar and cover images look blur whereas they look fine in media library.

    johan13
    Participant

    Hello friends. I was unable to correct the error. When I allow users to register, emails don’t go out for them to activate with the code. I need them to activate their account through the email that is sent to them with the code. But this email never arrives. I have searched the whole wordpress and I have not achieved anything. Install WP Mail SMTP integrating with Gmail and it works, but Buddypress doesn’t work. Identify in “site health” this: https://prntscr.com/tiqdms

    I hope to have your support.

    #312840
    Varun Dubey
    Participant

    @jseanm69 it seems theme-specific CSS issue, test once at your development site with theme switching to default 2020.

    #312803

    I had Buddypress installed recently, and all appeared fine. Today I was in the Widgets section making some changes, and dragged the ‘Events’ widget into the Buddypress Member’s Home box on the right, which previously was empty. When I checked my main Buddypress account page, the menus that were previously showing had disappeared, and the sign up form boxes were out of alignment. I undid this change, and menus have not re-appeared, nor has the sign up form corrected to be completely even.

    I have changed the theme to the Old version, instead of new, and that did make the menu come back, but I do not like this style. How can I fix my page?

    Thank you.

    highvibes95
    Participant

    Hi All,
    I googled a lot and read many posts but found no code snippet to show member names along the profile avatars of the BP Recently Active Members widget. So i created my own widget and that is super easy to do. I took the core class of the above widget did a single line modification to display names also and registered it as a widget through functions.php
    Just paste the below code in functions.php of your child theme and it will work.

    class wpb_widget extends WP_Widget {

    function __construct() {
    parent::__construct(

    // Base ID of your widget
    ‘wpb_widget’,

    // Widget name will appear in UI
    __(‘Recently Active Member Custom’, ‘wpb_widget_domain’),

    // Widget description
    array( ‘description’ => __( ‘Sample widget based on WPBeginner Tutorial’, ‘wpb_widget_domain’ ), )
    );
    }

    // Creating widget front-end

    public function widget( $args, $instance ) {
    global $members_template;

    // Get widget settings.
    $settings = $this->parse_settings( $instance );

    /**
    * Filters the title of the Recently Active widget.
    *
    * @since 1.8.0
    * @since 2.3.0 Added ‘instance’ and ‘id_base’ to arguments passed to filter.
    *
    * @param string $title The widget title.
    * @param array $settings The settings for the particular instance of the widget.
    * @param string $id_base Root ID for all widgets of this type.
    */
    $title = apply_filters( ‘widget_title’, $settings[‘title’], $settings, $this->id_base );

    echo $args[‘before_widget’];
    echo $args[‘before_title’] . $title . $args[‘after_title’];

    $max_limit = bp_get_widget_max_count_limit( __CLASS__ );
    $max_members = $settings[‘max_members’] > $max_limit ? $max_limit : (int) $settings[‘max_members’];

    // Setup args for querying members.
    $members_args = array(
    ‘user_id’ => 0,
    ‘type’ => ‘active’,
    ‘per_page’ => $max_members,
    ‘max’ => $max_members,
    ‘populate_extras’ => true,
    ‘search_terms’ => false,
    );

    // Back up global.
    $old_members_template = $members_template;

    ?>

    <?php if ( bp_has_members( $members_args ) ) : ?>

    <div class=”avatar-block”>

    <?php while ( bp_members() ) : bp_the_member(); ?>

    <span class=”item-avatar”>
    ” class=”bp-tooltip” data-bp-tooltip=”<?php bp_member_name(); ?>”><?php bp_member_avatar(); ?>
    ” class=”bp-tooltip” data-bp-tooltip=”<?php bp_member_name(); ?>”><?php bp_member_name(); ?>
    </span>

    <?php endwhile; ?>

    </div>

    <?php else: ?>

    <div class=”widget-error”>
    <?php esc_html_e( ‘There are no recently active members’, ‘buddypress’ ); ?>
    </div>

    <?php endif; ?>

    <?php echo $args[‘after_widget’];

    // Restore the global.
    $members_template = $old_members_template;
    }

    /**
    * Update the Recently Active widget options.
    *
    * @since 1.0.3
    *
    * @param array $new_instance The new instance options.
    * @param array $old_instance The old instance options.
    * @return array $instance The parsed options to be saved.
    */
    public function update( $new_instance, $old_instance ) {
    $instance = $old_instance;

    $max_limit = bp_get_widget_max_count_limit( __CLASS__ );

    $instance[‘title’] = strip_tags( $new_instance[‘title’] );
    $instance[‘max_members’] = $new_instance[‘max_members’] > $max_limit ? $max_limit : intval( $new_instance[‘max_members’] );

    return $instance;
    }

    /**
    * Output the Recently Active widget options form.
    *
    * @since 1.0.3
    *
    * @param array $instance Widget instance settings.
    * @return void
    */
    public function form( $instance ) {
    $max_limit = bp_get_widget_max_count_limit( __CLASS__ );

    // Get widget settings.
    $settings = $this->parse_settings( $instance );
    $title = strip_tags( $settings[‘title’] );
    $max_members = $settings[‘max_members’] > $max_limit ? $max_limit : intval( $settings[‘max_members’] );
    ?>

    <p>
    <label for=”<?php echo $this->get_field_id( ‘title’ ); ?>”>
    <?php esc_html_e( ‘Title:’, ‘buddypress’ ); ?>
    <input class=”widefat” id=”<?php echo $this->get_field_id( ‘title’ ); ?>” name=”<?php echo $this->get_field_name( ‘title’ ); ?>” type=”text” value=”<?php echo esc_attr( $title ); ?>” style=”width: 100%” />
    </label>
    </p>

    <p>
    <label for=”<?php echo $this->get_field_id( ‘max_members’ ); ?>”>
    <?php esc_html_e( ‘Max members to show:’, ‘buddypress’ ); ?>
    <input class=”widefat” id=”<?php echo $this->get_field_id( ‘max_members’ ); ?>” name=”<?php echo $this->get_field_name( ‘max_members’ ); ?>” type=”number” min=”1″ max=”<?php echo esc_attr( $max_limit ); ?>” value=”<?php echo esc_attr( $max_members ); ?>” style=”width: 30%” />
    </label>
    </p>

    <?php
    }

    /**
    * Merge the widget settings into defaults array.
    *
    * @since 2.3.0
    *
    *
    * @param array $instance Widget instance settings.
    * @return array
    */
    public function parse_settings( $instance = array() ) {
    return bp_parse_args( $instance, array(
    ‘title’ => __( ‘Recently Active Members’, ‘buddypress’ ),
    ‘max_members’ => 15,
    ), ‘recently_active_members_widget_settings’ );
    }
    }

    // Register and load the widget
    function wpb_load_widget() {
    register_widget( ‘wpb_widget’ );
    }
    add_action( ‘widgets_init’, ‘wpb_load_widget’ );

    #312797
    tatiana_k
    Participant

    Here’s the solution how to use Nouveau theme hooks.
    It’s a bit complicated, but I’ve not found a way easier. And no other instructions.

    1. Find the hook you need.
    2. Search through the buddypress files and find the function with the same name (hook is a function, so find the source).
    In my example it’s function bp_nouveau_xprofile_hook($when = ”, $suffix = ”) {} (code reference page)
    3. Write down the array with all $hook components.
    Here they are bp/after/profile/loop_content
    I’d like to say that the pattern is
    bp/first-argument-in-hook/hook-name-from-function/second-argument-in-hook
    but here I had to change xprofile to profile, so the source code is still essential.
    4. Merge the array with _ (bp_after_profile_loop_content)
    5. Congratulations! We’ve got a custom action name and can continue with add_action().

    Honestly, I don’t understand why it has to be so complicated now, but here we are.

    #312792
    demon_ru
    Participant

    With default 2020 theme is the same error with the same stack.
    What else can i check?
    How to localize an error?

    #312784
    Varun Dubey
    Participant

    @demon_ru test with default 2020 theme once

    demon_ru
    Participant

    Buddypress 6.1.0 and “BuddyPress Nouveau” template.
    Theme suffusion child.

    JS error on page: /members/me/messages/

    Uncaught SyntaxError: Unexpected token ‘;’
    at new Function (<anonymous>)
    at Function.v.template (underscore.min.js?ver=1.8.3:formatted:954)
    at i.template (wp-util.min.js?ver=5.4.2:2)
    at i.render (wp-backbone.min.js?ver=5.4.2:2)
    at i.render (buddypress-messages.min.js?ver=6.1.0:formatted:576)
    at i.setPreview (buddypress-messages.min.js?ver=6.1.0:formatted:584)
    at p (backbone.min.js?ver=1.4.0:2)
    at f (backbone.min.js?ver=1.4.0:2)
    at l (backbone.min.js?ver=1.4.0:2)
    at i.n.trigger (backbone.min.js?ver=1.4.0:2)

    and no massages displayed.

    Help, please.

    tatiana_k
    Participant

    The previous buddypress theme used actions, for example do_action( ‘bp_after_profile_content’ ).
    Now there’re hooks instead, for example bp_nouveau_xprofile_hook( ‘after’, ‘loop_content’ );

    And I cannot find any information how these hooks can be used.
    What function do I have to use instead of add_action now?

Viewing 25 results - 1,301 through 1,325 (of 31,071 total)
Skip to toolbar