Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 2,451 through 2,475 (of 32,066 total)
  • Author
    Search Results
  • #302141
    rsmithgs
    Participant

    I found that if I made this file directory in my theme (as per Theme Compatibility Codex) I could resolve the issue with the Compose field:

    /buddypress/common/js-templates/messages/index.php

    So for anyone else looking for messaging template changes. It’s located in:

    plugins/buddypress/bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php

    Anyone looking for the search field for members list, it’s located in:

    /plugins/buddypress/bp-templates/bp-nouveau/buddypress/common/search/search-form.php

    Julia_B
    Participant

    I want the “XXXX became a registered member” updates to stop appearing in my sitewide activity stream.

    I tried using the code recommended in this thread: https://buddypress.org/support/topic/how-can-i-hide-new-registered-member-update-from-activity-streams/

    – in both my child theme and bp-custom.php

    But it’s not working for me.

    Hope someone can help 🙂

    #302118
    Venutius
    Moderator

    I’d try switching to BP Nouveau, then a default theme and then deactivating the other plugins to see if that changes it.

    #302099
    pradeepphule
    Participant

    Hello @sbrajesh,

    I’m trying to copy bp-friends-template.php file into child theme. I have tried many times still not able to understand how to set the correct path in child theme.

    Plugin file path: buddypress\bp-friends\bp-friends-template.php

    Any suggestion.

    Thanks

    Michael Van Patten
    Participant

    Looking for the right solution…

    We would like to create a social community site like facebook where members have profile pages and can post videos, pictures and such. Create and join groups and get push notifications for chosen content.

    1ST PAGE – ENROLLMENT & INTRO VIDEO
    1. Three minute intro video
    2. MEMBERSHIP ENROLLMENT BUTTON:
    Most important this will be a paid membership site with a pay to enter button. Emails provided in this sign up should integrate with mailchimp

    2ND PAGE- POST ENROLMENT
    Once they’ve entered we would like a landing page that has
    1. A embedded live stream video player
    2. A randomized video playlist player
    3. A grid avatar list of our core contributors below these two players
    4. Tabs up top to navigate to members profiles, groups and more

    we welcome your suggestions. Thank you all so much in advance

    1. Which version of WordPress are you running? WordPress 5.0.2
    2. Did you install WordPress as a directory or subdomain install? Directory installation
    3. If a directory install, is it in root or in a subdirectory? Root
    4. Did you upgrade from a previous version of WordPress? If so, from which version? No Fresh Install 2 days ago
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting. N/A
    6. Which version of BP are you running? 4.1.0
    7. Did you upgraded from a previous version of BP? If so, from which version? NO
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones? BuddyPress, Google Analytics for WordPress by MonsterInsights, Jetpack by WordPress.com, OptinMonster API, WPForms Lite
    9. Are you using a standard WordPress theme or customized theme? Tonic
    10. Which theme do you use ? Tonic
    11. Have you modified the core files in any way? NO
    12. Do you have any custom functions in bp-custom.php? NO
    13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in? NO
    14. Please provide a list of any errors in your server’s log files. https://codex.wordpress.org/Debugging_in_WordPress
    15. Which company provides your hosting? Bluehost
    16. Is your server running Windows, or if Linux; Apache, nginx or something else? Apache
    17. Which BP Theme are you using? Tonic
    18. Have you overloaded any BuddyPress template files. NO
    19. Any other site customisations that might have a bearing on the issue? NO

    #302029
    Venutius
    Moderator

    Thanks, have you overloaded any of the BP template files? located in themes/yourchildtheme/buddypress

    #302026
    Venutius
    Moderator

    So which theme are you using? BP Legacy or BP Nouveau?

    #302025
    Wushan TCM
    Participant

    I am seeing different tabs I can add as other profile fields in the backend but they dont appear on my profile page. I am using the Boss Theme of Buddy Boss. All other functions are working fine.

    #302024
    Venutius
    Moderator

    So if I understand you correctly, you are not seeing another tab beside Base on the profile page. Which BP Theme are you using? does it fail with either BP theme?

    Wushan TCM
    Participant

    Hello, I am trying to add additional Extended User Profile Fields in the backend but they dont show up on my profile page. I am using BuddyPress 4.1.0 as well as Buddy Boss Boss Theme, Wall plugin etc. The primary Profile fields are visuable on my Profile page members/user/profile/ but if I try to add a new field group and add a new field it doesnt show up on my page. MY WordPress version is 5.0.2 and all other plugins are also updated to the latest version. I installed Twenty Nineteen Theme by WordPress but still the same issue. My website is: https://wushantcm.com

    #302014
    rsmithgs
    Participant

    Hello guys,

    I’m trying to change the labels in a few different areas, specifically the Member’s Directory placeholder text and the Compose a Message label “Send @Username” under Profile>Messages, but I’m finding that there isn’t really an easy way to do this in Nouveau. I’m also having a tough time figuring out where to change the template. I tried this post (making the .POT file). https://codex.buddypress.org/getting-started/customizing/customizing-labels-messages-and-urls/

    But the text isn’t within the language file, it only contains the text from the legacy theme.

    I’ve gotten the membership placeholder text to be changed by writing a custom js file, but trying the same thing for the “Send @Username” label does not always work correctly.
    Here is my current code:

    $(document).ready(function(){
        if($('#dir-members-search')){
        $('#dir-members-search').attr('placeholder','Search members by name, discipline, position, etc....');
        }
        //currently doesn't work. Change Compose Label for Who to send to.
        $("#send_message_form label[for='send-to-input']").text('Send to User by Username (starting with @)');
    });

    I’d much rather not have to change the text after document.ready because it loads and the user can see the original text for a bit before the text changes.
    When the user clicks away from “Compose” and back to it, the text doesn’t always show my replacement text.

    #302006
    Venutius
    Moderator

    Have you added any custom functions or overloaded the members page/s. Does it do this with either BP Theme? Also, how about trying a different local server?

    Venutius
    Moderator

    Hi there, did you find a fix for this? It sounds like a theme related issue in that secondary pages would seem to be a feature of your theme. Did you check the page theme settings, sometimes themes install a meta-box that allows you to change the page format, this is usually on the right sidebar when you edit the page.

    #302000
    Venutius
    Moderator

    Hi there,

    You are going to have to troubleshoot this issue as it’s specific to your site and not something that’s a more general problem.

    The first thing t do is to deactivate all plugins apart from BuddyPress and see if the friends lists are correct. If not then try a default theme such as 2016 to see if that corrects it.

    It’s also worth turning on error logging in wp-config.php https://codex.wordpress.org/Debugging_in_WordPress

    Once you have enabled debugging, any errors will be logged to your debug log, you can get error log viewer plugins to make viewing it easier. Try viewing the friends list and then reviewing the log to see if any errors are being generated.

    #301998
    Venutius
    Moderator

    Hi there,

    It’s a bit difficult to know exactly what issue you are reporting. Does it do this with the other plugins deactivated and with a default theme? also, have you overloaded any of the BP pages? if so then those pages will need to be updated. Your theme may also be overloading pages and may need to be updated.

    Brajesh Singh
    Participant

    Hi,
    Before deciding to redirect from sitewide activity to user’s own activity you should know the difference between them and then decide.

    – On the sitewide page a user can see activity from whole site(including his won/friends/his groups and any non related member of the site)

    – On profile, a user can see his/her won activity as well as friends/groups etc but activities of group they are not member of or activity of users they are not friends with, won’t be visible,

    If you still want to redirect from sitewide activity to user’s own activity, You may use the following code.

    
    
    /**
     * Redirect logged in user's from sitewide activity page to profile activity.
     */
    function buddydev_redirect_sitewide_activity_to_profile_activity() {
    
    	if ( is_user_logged_in() && bp_is_activity_directory() ) {
    		bp_core_redirect( bp_loggedin_user_domain() . bp_get_activity_slug() );
    	}
    }
    
    add_action( 'bp_template_redirect', 'buddydev_redirect_sitewide_activity_to_profile_activity' );
    

    PS:- you can put the code in your theme’s functions.php or in the wp-content/plugins/bp-custom.php

    Best Regards
    Brajesh

    #301987
    Venutius
    Moderator

    The next thing to check is if there is something messing with the BP pages, so deactivate all other plugins apart from BuddyPress and install a default theme such as 2016 and see if they display.

    #301981
    Brajesh Singh
    Participant

    Do you want to override template files? If yes, the first step is to find out which template pack you are using(Dashboard->settings->BuddyPress->Options).

    BuddyPress comes with 2 template packs
    – BP Legacy
    – BP Nouveau

    Once you know the template pack, you can follow the following step

    1. create a directory named “buddypress” in your theme
    2. Now visit wp-content/plugins/buddypress/bp-templates, you will see two directories
    – bp-legacy
    – bp-nouveau
    3. Based on your current template pack, visit that directory. You will find “buddypress” directory inside them. This is the directory of your interest. Copy files from there and maintain the path.

    For example, if bp-legacy is your current template pack and you want to modify members loop,

    you should copy wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php to yourtheme/buddypress/members/members-loop.php

    Note the path after the template pack is what we need to maintain. Once you override it, BuddyPress will use it form your theme.

    Please do note that themes do not allow you to specify template pack while overriding template files, so if you override it for one template pack and then activate another, It can lead to a lot of issues.

    My suggestion is to remove/rename the “buddypress” directory in your theme if you change the current template pack for BuddyPress.

    Hope this helps.

    Best Regards
    Brajesh

    #301978
    Venutius
    Moderator

    so the directory structure should look like this:

    themes/your-child-theme/buddypress/members/file.php etc. can you confirm this is what you have got?

    Would you have a plugin or theme that is redirecting the buddypress default template search?

    #301977
    pradeepphule
    Participant

    Hi there,

    I want to copy buddypress files into child theme. I have copied exact path the the plugin folder have. Still it takes data from plugin folder.

    Any suggestion?

    Thanks,
    Pradeep

    #301966
    rsmithgs
    Participant

    Quite a few of my users also wish to be able to crop their cover photos. Is there custom code I can add to allow users to do this? I haven’t found it on any of the forum posts so far and most are over a year old. This seems to be the most recent.

    For those searching, here’s the codex of cover images (group and profile) and tells you how to customize the image size that you will accept for this area, but still not telling you how to allow cropping.

    BuddyPress Cover Images

    I’m on Version 4.1.0

    #301964
    HDcms
    Participant

    Hi @venutius
    That’s right, I put again theme.
    I will test. Is there a list of changes of the same type? for this new theme!
    Regards

    #301963
    Venutius
    Moderator

    You’d have to do something like this:

    function venutius_start() {
         
        if( function_exists( 'bp_register_template_stack' ) ) {
            bp_register_template_stack( 'venutius_register_template_location' );
    	}
        // if viewing a member page, overload the template
        if ( bp_is_user()  ) {
            if ( bp_get_theme_package_id() == 'legacy' ) {
    			add_filter( 'bp_get_template_part', 'venutius_replace_template_legacy', 10, 3 );
    		}
            if ( bp_get_theme_package_id() == 'nouveau' ) {
    			add_filter( 'bp_get_template_part', 'venutius_replace_template_nouveau', 10, 3 );
    		}
    	}
    }
    add_action( 'bp_init', 'venutius_start' );
    
    function venutius_register_template_location() {
        return <directory>; //replace with the main directory you are putting your new template files in
    }
    
    function venutius_replace_template_nouveau( $templates, $slug, $name ) {
        switch($slug) {
    
    	case 'members/single/profile/change-avatar' :
    		if ( '<your_directory>/members/single/profile/change-avatar.php' ) ) {
    			return array( 'members/single/profile/change-avatar.php' );
    			break;
    		} else {
    			return $templates;
    			break;
    		}
    
    	}
    	return $templates;
    }
    
    function venutius_replace_template_legacy( $templates, $slug, $name ) {
        switch($slug) {
    	case 'members/single/profile/change-avatar' :
    		if ( file_exists( '<your directory>/'members/single/profile/change-avatar.php' ) ) {
    			return array( 'members/single/profile/change-avatar.php' );
    			break;
    		} else {
    			return $templates;
                            break;
    		}
    
    	}
    	return $templates;
    }
    

    Something like that should work, not tested it though but you should get the idea.

    #301962
    Oxibug
    Participant

    That’s my question bro, I cannot find the way to do that because the folders in the two templates are same.

    if there’s a function to define the folder to read files from according to the user option

    Ex. get_option(‘_bp_theme_package_id’) -> [/THEME/temp1/buddypress] or [/THEME/temp2/buddypress]…

    Thanks Pal

    #301961
    Venutius
    Moderator

    Hi there, presumably you have changed to the BP Nouveau theme, in this case the action hook name has changed from bp_before_profile_avatar_upload_content to bp_before_member_avatar_upload_content.

Viewing 25 results - 2,451 through 2,475 (of 32,066 total)
Skip to toolbar