Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 6,051 through 6,075 (of 32,561 total)
  • Author
    Search Results
  • ngoegan
    Participant

    I am running WP 4.4.2 with Buddypress 2.5.2 with Twenty Twelve theme

    As Admin, when I go to “all groups” I can see all groups including hidden groups. When my members go to “all groups” they can not see any of their hidden groups. How can I make their hidden groups visible under “all groups” for those who are members of that hidden group?

    bradleyrf
    Participant

    Hey everyone,
    First of all, thanks so much for the work and effort you put into BP. It’s amazing what you all do.

    I recently updated to the latest BP and WP versions (the details you requested are below).

    Issues #1 – when someone initially posts into a group, not a reply to a comment, users who have requested All Email option from the BP Group Email Subscription Plugin receive an email using that BP Group Email Subscription plugin’s email template vs. the new BP email templates. If someone replies to the comment, then the new BP email templates work perfectly.

    Issue #2 – the email mentioned in #1 is from wordpress@mydomain.org. while the others are sent from mysite@mydomain.com.

    Thanks for any advice you can send my way.

    1. Which version of WordPress are you running? 4.4.2

    2. Did you install WordPress as a directory or subdomain install? subdomain

    3. If a directory install, is it in root or in a subdirectory?

    4. Did you upgrade from a previous version of WordPress? If so, from which version? From 4.3.3

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? Yes

    6. Which version of BP are you running? 2.5.2

    7. Did you upgraded from a previous version of BP? If so, from which version? 2.4.2

    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?

    Advanced Cron Manager
    Automessage
    Black Studio TinyMCE Widget
    BP Group Hierarchy
    BP Profile Search
    Broken Link Checker
    BuddyBoss Wall
    BuddyDrive
    BuddyPress
    BuddyPress Activity Plus
    BuddyPress Global Search
    BuddyPress Group Email Subscription 3.6.0
    Select BuddyPress Groups Extras
    Select BuddyPress Members Import
    Select BuddyPress Message Attachment
    Select CCL Salesforce Connector
    Contact Form
    Easy Google Fonts
    Events +
    Google Analytics by Yoast
    Google Doc Embedder
    Google Maps
    HiFi
    iframe
    Invite Anyone
    Page Builder by SiteOrigin
    PHP Code Widget
    PHP Snippets
    PopUp Pro
    Deactivate
    Post Tags and Categories for Pages
    Deactivate
    Private Community For BP Lite
    Redirection
    Search shortcode
    Shortcodes Ultimate
    Simple Follow Me Social Buttons Widget
    Simple:Press
    UberMenu 2 – WordPress Mega Menu Plugin
    User Role Editor
    Wordfence Security
    WordPress HTTPS
    WP-FormAssembly
    WPMU DEV Dashboard

    9. Are you using the standard WordPress theme or customized theme? BuddyBoss

    10. Have you modified the core files in any way? Nope

    11. Do you have any custom functions in bp-custom.php? Yes

    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? Not running

    13. Please provide a list of any errors in your server’s log files. None

    14. Which company provides your hosting? BlueHost

    15. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache

    richdal
    Participant

    What’s the best way to change up the ‘Sorry, no members were found.’ message. Looked like it was getting generated in this file, but wasn’t sure how to modify that in my theme’s functions.php file? Not familiar with _e(). Wanted to include a link to Members.

    /wp-content/plugins/buddypress/bp-friends/classes/class-bp-core-friends-widget.php

    
    <div class="widget-error">
            <?php _e( 'Sorry, no members were found.', 'buddypress' ); ?>
    </div>
    
    #252206
    haagsekak
    Participant

    Is anyone else having this problem? Was working in twentyeleven theme.
    now using twentysixteen so could there be a change in code??

    Please can someone help?

    Thank you, thank you!

    #252204
    BobSD99
    Participant

    Hi Henry – thanks for response. As confirmed by both the Codex (Code Reference) and my successful use of this method in the same installation outside of BuddyPress, $title is indeed an array.

    In fact, I tested my function without the if ( bp_is_group() ){ conditional, and the filter works on the pages NOT created/affected by BuddyPress, which confirms BuddyPress is bypassing this filter.

    For testing purposes, I modified the function as follows:

    // test parameters passed to document_title_parts filter
    function test_groups_title( $title ){
    
    	print_r( $title );
    	exit;
    
    }
    add_filter('document_title_parts', 'test_groups_title', 10);

    And BuddyPress pages output the following array:

    Array
    (
        [title] => 
        [site] => My-Website.com
    )

    Which suggests that BuddyPress is neither supplying data to this array nor utilizing it for the title output.

    I did a grep of BuddyPress and bbPress and I am finding calls to the deprecated wp_title() function:

    $ grep -r 'wp_title' ../plugins/b*press/*
    ../plugins/bbpress/includes/core/filters.php:add_filter( 'wp_title',                'bbp_title',              10, 3 );
    ../plugins/bbpress/readme.txt:* Fix custom wp_title compatibility
    ../plugins/buddypress/bp-core/bp-core-filters.php: * @see wp_title()
    ../plugins/buddypress/bp-core/bp-core-filters.php:       * @see wp_title()
    ../plugins/buddypress/bp-core/bp-core-filters.php:       * Filters the older 'wp_title' page title for BuddyPress pages.
    ../plugins/buddypress/bp-core/bp-core-filters.php:add_filter( 'wp_title',             'bp_modify_page_title', 20, 3 );
    ../plugins/buddypress/bp-core/deprecated/1.5.php: * @deprecated Use wp_title()
    ../plugins/buddypress/bp-core/deprecated/1.5.php:        * Now, just simply use wp_title().
    ../plugins/buddypress/bp-core/deprecated/1.5.php:        * @deprecated Use wp_title()
    ../plugins/buddypress/bp-core/deprecated/1.5.php:               _deprecated_function( __FUNCTION__, '1.5', 'wp_title()' );
    ../plugins/buddypress/bp-core/deprecated/1.5.php:               $title = wp_title( '|', false, 'right' ) . get_bloginfo( 'name', 'display' );
    ../plugins/buddypress/bp-themes/bp-default/header.php:          <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
    ../plugins/buddypress/bp-themes/bp-default/archive.php:                 <h3 class="pagetitle"><?php printf( __( 'You are browsing the archive for %1$s.', 'buddypress' ), wp_title( false, false ) ); ?></h3>

    I guess this means I can and should hook in to the older (deprecated) wp_title() function? I’m a bit new to BuddyPress and WordPress, so maybe I’m missing something obvious, or barking up the wrong tree here….

    #252203
    skulldragon
    Participant

    I’ve searched these forums and all over google but can’t seem to find a solution.
    Changing/saving permalinks do not work.
    Deactivating plugins and changing theme to 2015 does not work.

    I’m running s2 with bbPress and BuddyPress. Just trying to get everything working happily together.

    http://jerseymanlegacyclub.com/

    #252189
    BobSD99
    Participant

    I’m working on filtering titles for BuddyPress pages (specifically, Groups and Group Forums). I’m having some trouble so maybe someone can ppint me in the right direction

    Since 4.1, WordPress has deprecated the wp_title() function, and instead developers should use the document_title_parts filter. The filter is documented in the Code Reference, and an example using this filter can be seen here.

    I’ve successfully used this filter on my very basic Twentysixteen child theme, but that method doesn’t seem to adopt to a Group page template I created and the forums that I’ve created and assigned under them. Here was a basic hack I used for testing purposes:

    // output a custom title for Groups & Forums
    function custom_groups_title( $title ){
    
        if ( bp_is_group() ){
    
            $group_name = bp_get_current_group_name();
    
            if ( bp_current_action() == 'forum') {
                $group_name .= " Chatboard";
            }
    
            $title['title']     = $group_name . ' | Awesome Website, Inc.';               
            $title['site']      = '';
            $title['tagline']   = '';
        }    
    
        return $title;
    }
    add_filter('document_title_parts', 'custom_groups_title', 10);
    

    the title is not getting filtered at all, so I guess BuddyPress is bypassing or overriding this filter.

    Can anyone point me in the right direction for filtering the title?

    #252180
    mfalk75
    Participant

    OK, so this is the code I have put into my child theme:

    // COVER IMAGES
    
    // Add css style for background cover images
    
    function bp_legacy_theme_cover_image_css( $settings = array() ) {
    
    $theme_handle = 'bp-child-css';
    
    $settings['theme_handle'] = $theme_handle;
    
    $settings['callback'] = 'bp_legacy_theme_cover_image';
    
    return $settings;
    
    }
    
    function bp_legacy_theme_cover_image( $params = array() ) {
    
    if ( empty( $params ) ) {
    
    return;
    
    }
    
    return '
    
    #buddypress #header-cover-image {
    
    height: ' . $params["height"] . 'px;
    
    background-image: url(' . $params['cover_image'] . ');
    
    }
    
    ';
    
    }
    
    add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'bp_legacy_theme_cover_image_css', 10, 1 );
    
    add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'bp_legacy_theme_cover_image_css', 10, 1 );

    I get this error: Fatal error: Cannot redeclare bp_legacy_theme_cover_image() (previously declared in /home3/xxx/public_html/mysite.com/wp-content/themes/valenti-child/functions.php:49) in /home3/xxx/public_html/mysite.com/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress-functions.php on line 1928

    Could someone point me in the right direction,…this is driving me nuts!

    mfalk75
    Participant

    hmm, thanks, I don’t get it either. I am editing the file in my child theme at this location: mysite.com/buddypress/members/members-loop.php It’s definitely editing the website as if I delete this part then the last update from a member does not appear. Your code makes the status update appear but it just don’t limit it. I even tried changing 50 to 10 and still long updates. Thanks for your help. Not sure what to do now.

    prowo24
    Participant

    Hello,

    The Widget “Groups” isn’t showing invisible groups for users, which are members of this invisible groups.

    The Admin-User see the invisible groups in the widget, but not normal members.

    How can i fix this?

    I tested this also with the theme Twenty Fifteen

    My WordPress version is 4.4.2 and Buddypress 2.5.2

    Kind regards

    #252171
    twcstuff
    Participant

    I have added the following to my themes functions.php but the cover image still gets uploaded at the default size.

    // Example of function to customize the display of the cover image
    function bp_default_cover_image( $params = array() ) {
        if ( empty( $params ) ) {
            return;
        }
     
        // The complete css rules are available here: https://gist.github.com/imath/7e936507857db56fa8da#file-bp-default-patch-L34
        return '
            /* Cover image */
            #header-cover-image {
                display: block;
                height: ' . $params["height"] . 'px;
                background-image: url(' . $params['cover_image'] . ');
            }
        ';
    }
    
    // Register the Cover Image feature for Users profiles
    function bp_default_register_feature() {
        /**
         * You can choose to register it for Members and / or Groups by including (or not) 
         * the corresponding components in your feature's settings. In this example, we
         * chose to register it for both components.
         */
        $components = array( 'groups', 'xprofile');
     
        // Define the feature's settings
        $cover_image_settings = array(
            'name'     => 'cover_image', // feature name
            'settings' => array(
                'components'   => $components,
                'width'        => 1300,
                'height'       => 225,
                'callback'     => 'bp_default_cover_image',
                'theme_handle' => 'bp-default-main',
            ),
        );
     
     
        // Register the feature for your theme according to the defined settings.
        bp_set_theme_compat_feature( bp_get_theme_compat_id(), $cover_image_settings );
    }
    add_action( 'bp_after_setup_theme', 'bp_default_register_feature' );
    

    Is there a better spot for this? Am I missing something?

    shanebp
    Moderator

    It works here.
    You need to put it in a template overload of this file:
    buddypress\bp-templates\bp-legacy\buddypress\members\members-loop.php

    Replace the update code with this:
    <span class="update"><?php $args = array( 'length' => 50 ); bp_member_latest_update( $args ); ?></span>

    #252163
    terravictoria
    Participant

    Hello,

    Here, I have several questions:

    – On the main wall, I’d like to see the publications of my friends and posts they make on the groups which they adhered.
    – The profile wall, do see publications only if we are friends.
    – The groups see all publications.

    Someone would have functions that allow me to do that?

    I use the Kleo theme and child theme.

    Thanks !

    #252159
    nownesx
    Participant

    I have a good knowledge of php, but I’m not a super programmer. developing themes for wordpress. BuddyPress documentation for plugins is poor.
    Can you give me some guidance about? what are the files involved than post-form.php?

    #252151
    Paul Wong-Gibbs
    Keymaster

    It’ll be BuddyPress in conjunction with something else. What theme are you using? What other plugins are active?

    mfalk75
    Participant

    Hi, I want to limit the length of the status update that is listed on the members directory page where there are many members listed. I tried replacing <?php bp_member_latest_update() ?> with <?php bp_member_latest_update(‘length=10’) ?> but it didn’t work. Could someone help me out with this 🙂

    Do I need to add something to my functions.php since I’m using a child theme maybe?

    Henry Wright
    Moderator

    Can you try adding this to your theme’s functions.php:

    add_filter( 'bp_core_avatar_original_max_filesize', function() {
        return 5120000; // 5mb
    } );
    ma3ry
    Participant

    As I said in my original post “I have tried it with all plugins deactivated and with twenty-fifteen theme.”

    However I just got another clue. I reinstalled BuddyPress and this time when I tried to upload an image I got the following different error.

    “Upload Failed! Error was: That photo is too big. Please upload one smaller than 200 B”

    200 bytes is pretty darned small. Why would this be?

    Does this info help at all?

    #252142
    justplaindoug
    Participant

    Buddy press is the source of the problem. When I deactivate it the error goes away. There is a lot of themes and plugins installed, and I have deactived everything except buddypress and get the error.

    #252122
    Paul Wong-Gibbs
    Keymaster

    Unfortunately, that error message isn’t super-useful to pinpoint where the problem might be.
    On my dev environment, I have no trouble running WP-CLI commands.

    What theme are you using? What other plugins are active?

    #252112
    Henry Wright
    Moderator

    Can you post some information about your install?

    • Active theme
    • Plugins activated
    • BuddyPress version
    • WordPress version

    Thanks!

    #252106
    jayvly
    Participant

    Hi,
    I am using WP: 4.4.2
    Buddypress: 2.5.2

    My clients site is located here: scotianaires.ca.

    I am using X theme with S2Member and Buddypress. Any Member Level 1 Members are unable to change their own passwords within the settings on their profile, however admins can. When you go to change a password, It goes through the normal process but when you try to login with the new or old password it won’t let you in.

    Cheers,

    Jonathan

    kafic
    Participant

    Hello!
    The BuddyPress translation of my website is not working. I’m using it for the first time, but I followed EVERY tutorial here and outside here as well, and nothing seems to work for me.

    Wordpress Version: 4.4.2
    BuddyPress Version: 2.5.2
    Website: http://www.eflora.com.br
    Theme: Thrive

    First I translated with Poedit, then I uploaded the .po and .mo files to /wp-content/languages/buddypress (I didn´t have the BuddyPress folder so I created one as they told me to do in the tutorial here.

    I have both archives named correctly in this folder, as: buddypress-pt_BR.mo and buddypress-pt_BR.po. I tried to upload this to wp-content/languages/plugins too and nothing happens.

    wp-config file already has define(‘WPLANG’, ‘pt_BR’);
    And my WordPress settings are set to Portuguese language as well. Also the header of my WordPress site has the <html class=”no-js” lang=”pt-BR”>

    I don´t know what to do anymore…
    Please can someone help me with this?
    Thanks

    #252081
    BBC
    Participant

    Hi

    I want the possibility to tag / mention people in a post.
    In a way that the get an email (to the address that is linked to there wordpress user account).

    I am not a techy
    I have the latest version of wordpress, theme 2012, bbpress, buddpress and mentions installed.
    If i create a post in a forum
    I can use @<username>
    I see a list, I can select a person.

    And then it stays quite ;-(
    The user that I tag thusnt receive a message.

    I am struggling with this problem for over a year.
    Is there some who can help me

    itsmikeski
    Participant

    Hi guys,

    Fresh wordpress multipage install. Have the main blog (with imported content), and then one clean subsite which I want to run buddypress on. For testing purposes I am using the twentysixteen theme and have tried turning off all other plugins.

    Basically the members page always says “Sorry, no members were found” and if I send a friend request from one account to the other, the second account gets a notification, but nothing in the requests tab.

    Ive tried deleting wordpress and dumping all the tables out of phpmyadmin, then reinstalling, but still getting the same problem.

    Hosting on AWS EC2.

    Any ideas?

    Thanks

Viewing 25 results - 6,051 through 6,075 (of 32,561 total)
Skip to toolbar