Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 4,726 through 4,750 (of 31,073 total)
  • Author
    Search Results
  • #251328
    @mcuk
    Participant

    @georgio-1,

    The easiest way is to probably just use CSS on the ID of the name you wish to remove and insert into your style.css file:

    #id { 
    display: none; 
    }

    (find the ID using your browser’s developer tools).

    The other option is to find the file creating the second name using its ID and delete the code creating it. If it’s BuddyPress then copy the file into your child theme first before deleting. If it’s your bp-cover plugin creating it, then the approach with CSS is probably easiest.

    #251323
    Manuel5cc
    Participant

    I am going to change my theme in a few days, I will try then and find if it was theme-related.

    #251308

    In reply to: what widget ?

    Paul Wong-Gibbs
    Keymaster

    It’s hardcoded. If you know how to customise a theme and write PHP, you can see the implemetnation: https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions.php#L355

    bbPress does have shortcodes, I’d suggest doing that instead. I don’t know what the shortcode is, I’d suggest searching on bbpress.org.

    @mcuk
    Participant

    The code doesn’t remove the bar, it just removes the WordPress logo in the top left.

    The code is put in your functions.php file. It is a file you create (if you haven’t already done so) and put in your child theme folder.

    https://codex.wordpress.org/Child_Themes

    #251291
    Thorsten :-)
    Participant

    Hi @henrywright,

    thank you for your answer. Please take a look to the screenvideo I made for you https://drive.google.com/file/d/0B04CBuSaY-1iVFNHbUlmN2FRcHM/view

    As you can see, a user tries to compose a private message and enter the first letter of a friend. The name appears and the user clicks on it. You will see a space between the name and the profile symbole. The message cannot be sent.

    After this, the user visits the profile of the person he wants to send a private message and clicks on private message. Now the name appears right without any space between name and profile symbole and the message can be sent successfully.

    Do you understand the issue better now?

    I used the theme Twenty Fourteen for testing. And unfortunately the built-in Emails in BP v2.5.1 doesn’t work for me, but can’t say why. Before I updated to BP v2.5.x everything worked like a charme and updated because of the new features inBP v2.5.x

    Best Regards,
    Thorsten

    #251289
    @mcuk
    Participant

    Haven’t encountered that problem myself so wouldn’t really know where to start. The code above does work fine with notifying the person you are trying to be friends with (I’ve just double checked on my project).

    Might even be a conflict with something in your theme or another plugin you are using. You could also try disabling other plugins to check if that is an issue and switching themes to one of the WordPress default themes to see if it works as it should.

    Only other suggestion I can give is to start a new forum thread and maybe someone else has encountered that issue.

    #251283
    @mcuk
    Participant

    Maybe ask the wplms authors for help as to why your cover images aren’t working? I haven’t used that theme so can’t help there.

    Glad you finally got there!

    #251281
    pedrohgl18
    Participant

    sorry for my dumb questions.
    my cover imagens aren’t working 🙁 . i tried update but dont change the image.

    let me explain, i’m using a wlms theme and not a buddypress theme
    this is what i did, first i try tu edit the files functions and cover-image-header from this folder
    /public_html/wp-content/plugins/buddypress/bp-themes/bp-default
    not work this way.

    So finally i WIN !! thanks for u ! hahaha
    this is the folder u have to edit ( for future questions by another users )
    i edit insite the child theme
    /public_html/wp-content/themes/wplms_modern functions.php
    and
    /public_html/wp-content/themes/wplms_modern/members/single member-header.php

    #251279
    @mcuk
    Participant

    So you are using cover images but they aren’t working? Or do you just mean the button isn’t appearing?

    Since you are using cover images the second code segment (number 2 above) needs to be placed in cover-image-header.php . It won’t appear if you put it in member-header.php because that is for profiles when you haven’t activated the use of cover images.

    That’s correct it won’t be in your child theme unless you’ve already put it there to make modifications. So it sounds like you need to copy the cover-image-header.php into your child theme following the same file structure. Something like:

    mychildtheme>buddypress>members>single

    (it goes in the single folder).

    Hopefully you’ll see the button now

    #251277
    pedrohgl18
    Participant

    yes, i have, but doesnt work too.
    and i cant find this file cover-image-header.php in my child theme, only in main theme. that’s correct ?
    btw thanks for the fast reply

    #251275
    pedrohgl18
    Participant

    yes, that’s what i did.
    i put the first code in functions.php and the second on member-header.php of child theme.

    #251272
    @mcuk
    Participant

    Hi @pedrohgl18,

    and another in single.php child theme too.

    Do you mean you used the same code twice? i.e. one in functions.php and one in single.php?

    1. This code goes in either your bp-custom.php or functions.php (preferably the bp-custom.php):

    function add_another_friend_button() {
    	$user_id = get_the_author_meta( 'ID' );
    	$mybutton = bp_add_friend_button( $user_id ); 
    	if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) {
    		echo $mybutton;
    	}
    } 
    
    add_action( 'button_here', 'add_another_friend_button' );

    2. Then insert the code below into the file where you wish your button to appear:

    <div id="another-friend-button">
    	<?php 
    		do_action( 'button_here' ); 
    	?>
    </div><!-- #another-friend-button -->
    #251267
    @mcuk
    Participant

    Also to remove the bar itself for non admins put this in your functions.php :

    function remove_admin_bar() {
    	if ( !current_user_can( 'administrator' ) && !is_super_admin() ) {
    	  show_admin_bar(false);
    	}
    }
    add_action( 'after_setup_theme', 'remove_admin_bar' );
    #251264
    pedrohgl18
    Participant

    i have the same problem,
    i did the same solution but didnt work.

    i put this code in funcions.php child theme
    function add_another_friend_button() {
    $user_id = get_the_author_meta( ‘ID’ );
    $mybutton = bp_add_friend_button( $user_id );
    if ( ( is_user_logged_in() && ! bp_is_my_profile() ) ) {
    echo $mybutton;
    }
    }

    add_action( ‘button_here’, ‘add_another_friend_button’ );

    and another in single.php child theme too.

    any other solution ?

    #251245
    Henry Wright
    Moderator

    If you use the Theme My Login plugin, you can customise the login template quite easily.

    marcus540
    Participant

    I have the exact same issue, it’s the multi-select ‘checkbox’ fields that display (0 selected) instead of the descriptive placeholder text, that tells users what they should be selecting.

    I’m also using the Kleo theme however the Kleo support says it has nothing to do with the responsiveness of their theme. Which I’m inclined to believe, since changing the theme results in the same problem, like Mickey mentioned. So it must be happening somewhere in the Buddypress or BP-search form code. Can we get any help with this? There was one other topic posted 10 months ago, with the same issue and no information was received there either?

    #251232
    @mcuk
    Participant

    Adding this to your style.css in child theme should work:

    #wpadminbar { 
        background: transparent; 
    }
    #251231
    richdal
    Participant

    Thanks! I was able to copy that to my child theme

    /wp-content/themes/genbu-child/buddypress/members/single/profile/edit.php

    and can do some basic edits. Not familliar with making these types of changes but how would I change up some of the form field information. As an example I wanted to add some description text next to the 3 date fields for the Birth Date. If looked like those were getting generated here…

    
    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
               <div<?php bp_field_css_class( 'editfield' ); ?>>
    
               <?php
                $field_type = bp_xprofile_create_field_type( bp_get_the_profile_field_type() );
                $field_type->edit_field_html();
    

    but not sure how to change those up.

    WalkerDesign1
    Participant

    I revised bp-custom.php to have the following code –

    <?php
    // hacks and mods will go here
    define ( ‘BP_AVATAR_THUMB_WIDTH’, 60 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 60 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 );
    add_filter( ‘bp_do_register_theme_directory’, ‘__return_true’ );
    ?>

    By changing the line – define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, 20000 ); to have the numeric value of 20000 it now allows me to upload an avatar image.

    But now it will now allow me to crop the image.

    Error message reads – There was a problem cropping your profile photo.

    #251190
    xxsemmiexx
    Participant

    Hi Henry,

    It’s not about the theme, cause it was working fine till the last buddypress update.
    but the theme that i am using is “Point” from the wordpress theme site.
    http://PROUDLesbians.nl

    Plugins that i am using are:

    Advanced Ads
    Akismet
    Birthdays Widget (for buddypress)
    BP stickers
    Code PHP in widget
    Contact Form 7
    Custom Login Page
    Jetpack
    Loco Translate
    Loginizer
    Quick Chat
    WP Smush
    WP-Optimize
    YOAST Seo.

    hellojesse
    Participant

    Same thing for theme Twenty Fifteen

    Into theme create /buddypress/groups/single/index-action-admin.php copy content from /buddypress/groups/single/admin.php with get_header() and get_footer()

    rosyteddy
    Participant

    And how to disable the threaded reply buttons …. so that an easy UI is there ?
    Any responsive theme that does this ?

    #251165
    Henry Wright
    Moderator

    buddypress.php is a generic template to be using. Take a look at the Template Hierarchy article for info on the various templates available to BuddyPress.

    This bbPress article will also be useful: https://codex.bbpress.org/themes/theme-compatibility/

    #251161
    Henry Wright
    Moderator

    I’m trying to think if there’s anything else you can check. Humm? Usually in cases such as this the problem is caused by either:

    • a plugin
    • your active theme
    • something inside bp-custom.php (if you have one)
    • something inside functions.php

    It’s strange things work in Chrome but not in FF. I’m wondering if the issue could be JavaScript related?

    #251149
    Henry Wright
    Moderator

    Hi Sammy

    What theme are you using and what plugins do you have activated?

Viewing 25 results - 4,726 through 4,750 (of 31,073 total)
Skip to toolbar