Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 2,626 through 2,650 (of 32,013 total)
  • Author
    Search Results
  • #278519
    John
    Participant

    I have taken on development of a site which currently uses buddypress 2.9.4, although really only uses the members profile functionality, so no groups, activity streams, notifications, friendships, private messaging etc.

    In truth, I don’t think the BP was the right choice for the site but it’s so baked into the site now that changing to something different just isn’t an option.

    I’m currently in the process of developing a new theme for the site and so now would be a good time to upgrade from 2.9.4 to 3.2 (current latest).

    The only add-on plugin for BP on the site is BuddyPress Xprofile Custom Fields Type, for which I see development has now ceased but that there is a replacement for.

    Is there anything that I should be aware of, gotchas etc, in making the upgrade? I’m quite wary of making the upgrades as the existing codebase isn’t mine and I am new to BP development, although a very experienced WP dev.

    I’ve read the release notes and nothing leaps out at me as being a massive problem but I am anticipating some, deprecated functions being one.

    So, any general or specific advice from others who have gone through the upgrade would be appreciated!

    Thanks,

    John

    #278498
    dennymar
    Participant

    Hello, I searched existing posts but didn’t find this exact question.
    On the members’ page, and on individual profile pages, it shows the time the member was last active. (example ‘active 3 minutes ago’)
    I’d like to hide/turn this off but can’t figure out where or how to do this. I have turned off the activity stream but that didn’t do it.
    Is there a snippet of code I need to change or add to accomplish this?

    I changed the theme to twenty-seventeen and it still shows up.
    Wordpress version 4.9.8
    BuddyPress version 3.2.0

    This will (temporarily) take you directly to the member ( ‘Connect’ ) page.

    Thank you!
    Denise

    #278459
    janaa
    Participant

    As per this page https://codex.buddypress.org/releases/version-3-0-0/
    #7691 At User’s front Page Edit your bio link leads to current admin user backend profile

    This is true even for subscribers.

    I want to keep users at the front-end only, and away from the wp-admin dashboard. Is this possible?

    I am using WordPress 4.9.8 with Woocommerce and BuddyPress 3.2.0. I have enabled BuddyPress to WordPress profile syncing in BP Options because I need BP integration with Woocommerce. I have installed Theme My Login to redirect users to the front-end for Registration, Login, Logout and Lost Password. But it doesn’t allow for bio-edit.

    Is there any way to resolve this so that users are kept at the front end for editing their bio?

    #278455
    Prashant Singh
    Participant

    Hi,

    No need to edit any template. I have created a snippet for you. Please paste the following snippet in your child theme’s functions.php file:

    function ps_redirect_next_group() {
    	
       	if ( ! bp_is_user_profile_edit() || ! bp_is_my_profile() ) {
    		return;
    	}
    	
    	$group_id = bp_get_current_profile_group_id()+1;
    	if ( bp_get_current_profile_group_id()==4 ) {
    			bp_core_redirect(bp_displayed_user_domain()."profile/");
    	}else{
    		bp_core_redirect(bp_displayed_user_domain()."profile/edit/group/$group_id/");
    	}
    	
    }
    add_action( 'xprofile_data_after_save', 'ps_redirect_next_group' );
    
    add_filter( 'gettext', 'ps_change_save_button_text', 20, 3 );
    
    function ps_change_save_button_text( $translated_text, $text, $domain ) {
    
       if ( ! bp_is_user_profile_edit() || ! bp_is_my_profile() ) {
    		return $translated_text;
    	}
    
        switch ( $translated_text ) {
            case 'Save Changes' :
            	$translated_text = __( 'Save and Continue', $domain );
            break;
        }
        
        return $translated_text;
    }

    If there is no child theme then create a file bp-custom.php in wp-content/plugins/ folder and paste this there. https://codex.buddypress.org/themes/bp-custom-php/

    If not possible to create bp-custom.php file then third and easy solution is to install the plugin code snippets https://wordpress.org/plugins/code-snippets/ and there add a snippet and paste the code and save.

    Hopefully, it will help you.

    Thanks

    #278452
    Prashant Singh
    Participant

    In particular,I’d like to distinguish between organizations and individuals.

    The organizations apply to build communities, and organizations can post blogs in established communities to answer questions, free and paid features.

    The data discussed by members can be saved and can be provided to scientific institutions for analysis.

    Hi,

    BuddyPress have member type features that you can use to distinguish between members. Please check this plugin https://buddydev.com/plugins/buddypress-member-types-pro/ and then can restrict group creation and blogs by member type organization.

    Also use this plugin https://wordpress.org/plugins/bbpress/ for forum creation where members can come and reply on topics.

    The topics and replies and activity post in buddypress are stored in the database.

    Please check all of them and then can choose a BuddyPress based theme https://colorlib.com/wp/best-buddypress-wordpress-themes/ and it will have most of things inbuilt.

    Thanks

    #278449

    In reply to: Private Blogs

    Prashant Singh
    Participant

    Hi,

    Please put this snippet in child theme’s functions.php file:

    function ps_private_posts( $query ) {
    	if(is_user_logged_in()){
    	    if ( $query->is_archive() && $query->is_main_query() ) {
    	        $query->set( 'author', get_current_user_id());
    	    }
    	}
    }
    add_action( 'pre_get_posts', 'ps_private_posts' );

    Hopefully, it will help you.

    Thanks

    #278442
    Henry Wright
    Moderator

    You will need to ask the author of your theme and plugins.

    #278441
    inderpreet2018
    Participant

    How I check my theme or plugin conflict with that?

    Bit Boy
    Participant

    In that case, you can put it in your bp-custom.php or your theme/child theme’s functions.php

    
    /**
     * Start buffering the visibility template.
     */
    function bitboy_start_buffering_visibility_template() {
    	ob_start();
    }
    add_action( 'bp_custom_profile_edit_fields_pre_visibility', 'bitboy_start_buffering_visibility_template', -1 );
    
    /**
     * End buffer and discard.
     */
    function bitboy_end_buffering_visibility_template() {
    	ob_end_clean();
    }
    add_action( 'bp_custom_profile_edit_fields', 'bitboy_end_buffering_visibility_template', 1000 );
    
    

    It will remove the visibility options completely.

    Best Regards
    B

    #278439
    Henry Wright
    Moderator

    If you aren’t modifying the templates then check your theme or plugins in case they are modifying them. It is likely that something has changed and that change has introduced the issue.

    amkh
    Participant

    Thanks for your reply,

    I needed for both profile edit and register page both. I used CSS earlier but inserted that into style.css of my child theme. However now I inserted again in the Appearance > Customize > Additional CSS. But the behavior is same. The page at the time of loading shows the field and toggle for few seconds and then vanishes. This make the look of the page very unprofessional. I do not want it to show on page for even a moment at the time of loading.

    #278437
    inderpreet2018
    Participant

    I didn’t modified any template or file from Buddypress. I am using Divi theme and memberPress plugin for maintaining the members. Also used “MemberPress + BuddyPress Integration” plugin to integrates MemberPress with BuddyPress.

    Is any one from above creating issue for tabs?

    Bit Boy
    Participant

    Hi,
    How did you disable the option? Are you using css to do it?

    There are two ways to do it
    1. Using css
    2. editing template file(register.php and keeping a copy in your theme’s buddypress/members directory)

    I will prefer the first approach as it will not be much work on a site admin’s part.

    
    .register-page .signup-form .editfield .field-visibility-settings,
    .buddypress-wrap .standard-form .field-visibility-settings-header {
        display:none;
    }
    
    

    Please visit Dashboard->Appearance->Customize menu then open “Additional Styles” and add those lines.

    Does that work?

    Best Regards
    B

    #278419
    vincitygialam
    Participant

    I’ve WordPress MU 2.7 (installed trough svn) and Buddypress SVN revision 641 and Prologue theme for wordpress 2.7.

    Why in every page does it appear?

    A

    Warning: session_start() [function.session-start]: Cannot send session cookie – headers already sent by (output started at /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-groups/bp-groups-ajax.php:1) in /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-core.php on line 153

    Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-groups/bp-groups-ajax.php:1) in /home/admin/domains/mikiti.net/public_html/wp-content/mu-plugins/bp-core.php on line 153

    Prashant Singh
    Participant

    Hi,

    Please try to find the template named index.php in bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php and there you will find the HTML. You just need to put that button code in condition of yours. That is if user role is this then only show otherwise not.

    You can try: if(current_user_can('manage_options')){ ?> // Button HTML Code here <?php }?>
    One last thing, if you have child theme then try to override the file there and then change otherwise on next update changes will be lost.

    Thanks

    #278385
    Prashant Singh
    Participant

    In these situations most probably plugins are getting conflicted and that’s why this issue is coming.
    I have just tested with BuddyPress and twentyseventeen theme and it’s working fine: https://screencast-o-matic.com/watch/cF6Qb7YY6Z

    Please try to disable plugins one by one and check if the issue remains same or gone.

    Thanks

    #278381
    yuravw
    Participant

    I tested this in the theme you suggested.
    But here too it does not work.

    #278374
    yuravw
    Participant

    I am afraid when I switch from theme I loose all my already created pages in the woffice intranet theme

    #278373
    Prashant Singh
    Participant

    Can you please confirm if this behaviour remains same with the default theme like twenty seventeen?

    If no then certainly your theme is creating the issue there.

    Thanks

    #278370
    Prashant Singh
    Participant

    Hi,

    They are called favourite and delete activity icon. Can you please confirm if there is any js error in browser console when you click theme?

    Thanks

    #278369

    In reply to: Activity/updates

    Prashant Singh
    Participant

    Create a file named bp-custom.php in the plugins folder and then put this code there. For reference: https://codex.buddypress.org/themes/bp-custom-php

    If not able to do it then the easiest way is to install the plugin Code Snippets https://wordpress.org/plugins/code-snippets/ and add a new snippet there, then paste this code.

    Thanks

    #278358
    israel4lincelot
    Participant

    Hi Prashant, I should have maybe started with listing following information:

    1. Which version of WordPress are you running?
    WordPress 4.9.8

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

    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    I installed the latest.

    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes

    6. Which version of BP are you running?
    Latest Version 3.2.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?
    BuddyDrive, Custom Profile Filters for BuddyPress, Gravity Forms, K Elements, Really Simple SSL, rtMedia for WordPress, BuddyPress and bbPress, Slider Revolution, What The File,
    WPBakery Page Builder

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

    10. Which theme do you use ?
    Kleo Theme from seventhqueen

    11. Have you modified the core files in any way?
    Yes I have, but always in the child-theme.

    12. Do you have any custom functions in bp-custom.php?
    Yes
    <?php
    // hacks and mods will go here
    define( 'BP_DEFAULT_COMPONENT', 'profile' );

    ?>

    15. Which company provides your hosting?
    Compbell

    So to answer your other questions, I added a new Profile Field with checkboxes. Indeed you have to select it and that’s why I can’t just wrap it in an anchor tag because I need the fields to be clickable separately.

    In Profile fields the Expertises are individually links. In my Members page all the Expertises ar put in a Paragraph. But I’d like them to be individual links such as in Profile page.

    See Screencast here: https://screencast-o-matic.com/watch/cF6QiCYqw6

    Thx!

    Anonymous User 16484011
    Inactive

    Hi ! Prashant,

    Heads off you man for forwarding me or suggesting me below article for my above mentioned problem.

    Article : Link

    By reading of above articles one of answer “Hi It is all resolved now. Turns out the Jetpack lazy loading option was on and causing a mad headache.”

    In above answer has the word “lazy loading” strike in my mind that in my Flatsome theme’s advanced options has lazy loading sub menu.

    I already checked “LAZY LOAD IMAGES Enable lazy loading for images. Use with caution! Disable if you have plugin comp ability problems.” and for that my above problem came.

    So, I just unchecked it and my problem solved.

    Thanks ! for your time.

    #278344
    Prashant Singh
    Participant

    Hi,

    For him it was his theme’s bug. So you can also test once with the default theme like twentyseventeen and if it fixes the bug then certainly your theme have the issue. You have to then report to the theme developer.

    Thanks

    #278329
    mrsmedegaard
    Participant

    Hi Prashant

    The console shows no errors and switching to the default theme also has no impact. The site that I am working with is airmag.dk.

    Thank you

Viewing 25 results - 2,626 through 2,650 (of 32,013 total)
Skip to toolbar