Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 5,751 through 5,775 (of 31,072 total)
  • Author
    Search Results
  • danbp
    Participant

    Hi @aethermage,

    looks like a captcha question: what animal says miaw.
    Do you use such a plugin or is your theme adding this ?

    #241278
    Henry Wright
    Moderator

    This is theme-related. You should use Chrome dev tools to investigate whether that particular nav item’s CSS or HTML is different from the rest of the nav items (or it may just be that they don’t fit in the horizontal space). Alternatively, you could contact the theme author for support.

    #241272
    jugglenet
    Participant

    Hi.

    The thing is I’ve got the same code working on another wordpress website which uses a different theme. So it has to be theme related. I was just wondering if anyone had come across this issue or similar before.

    It really is odd.

    I’ve tried putting the code snippet into the actual template file also but that didn’t work either.

    #241261
    Henry Wright
    Moderator

    CSS and HTML are the things you’ll need to use in order modify the page. The BuddyPress Template Hierarchy article will show you which files you’ll need to modify. Note, you may have to create the templates if your theme doesn’t already have them.

    #241248

    In reply to: Button Display Problem

    Henry Wright
    Moderator

    Theme-related issues can be solved with CSS. Alternatively you could write to the theme author asking them for help.

    #241239
    barrettathome
    Participant

    NM. Just found this and it is what I’m looking for.

    Members Navigation Menus

    #241218
    danbp
    Participant

    @quinngoldwin

    it goes to my personal activity instead.

    It’s intended so ! You’re on a profile page, and any links added directly to buddybar or his subnav is alwways, and only, user related. It’s a contextual menu.

    But you can use bp_member_options_nav action hook which is on the template.
    bp-templates/bp-legacy/buddypress/members/single/home.php

    Add this snippet to bp-custom.php your your child theme functions.php:

    
    function goldwin_custom_setup_nav() {
      if ( bp_is_active( 'xprofile' ) )
    ?>
    <li><a href="<?php bp_activity_directory_permalink(); ?>"><?php printf ('All Activities'); ?></a></li>
    <?php  
    }
    add_action( 'bp_member_options_nav', 'goldwin_custom_setup_nav' );

    By default, the hook is placed as latest item of the navbar items. To get as first item, simply move the action at the begin of the list.

    Default code looks like this:

    
    <ul>
    
    <?php bp_get_displayed_user_nav(); ?>
    
    <?php do_action( 'bp_member_options_nav' ); ?>
    
    </ul>

    that you can chage to:

    <ul>
    
    <?php do_action( 'bp_member_options_nav' ); ?>
    
    <?php bp_get_displayed_user_nav(); ?>
    
    </ul>

    But you can’t get your custom item as second, or third, or whatever. Only first or latest.

    How to use bp-custom, functions.php and child_theme is explained on the codex.

    #241216
    kjgbriggs
    Participant

    This was one of the first things I checked, but for sanities sake I tested it again, when using with the same theme on no CSS, the line still appears.
    I am unable to test with a default theme as I only have Divi on my development site, but I will be testing this next.

    #241215
    danbp
    Participant

    Hi,
    have you tested with one of WP default theme ?
    And what if you use the original Divi theme, without custom CSS ?
    As you use a premium theme, you have to ask on their support. We have no access to his code here.

    #241208
    Graeme Fulton
    Participant

    At the top of edit.php (yourtheme/buddypress/members/single/profile/edit.php), find this bit near the top:

    if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) :
    	while ( bp_profile_groups() ) : bp_the_profile_group();

    The important part in the snippet above is this function call: bp_get_current_profile_group_id(). That grabs the current group ID from the URL, and sets it for the rest of the page. We want to change that bit.

    Just above the first code snippet I wrote, paste this query to collect all the profile groups into one variable:

    $sqlStr = "SELECT *idFROMwp_bp_xprofile_groups`”;
    $groups = $wpdb->get_results($sqlStr);`

    Now you can replace bp_get_current_profile_group_id() with this: $groups[0]

    That will leave you with this:

    if ( bp_has_profile( 'profile_group_id=' . $groups[0] ) ) :
    	while ( bp_profile_groups() ) : bp_the_profile_group(); ?>

    Now if you visit any of your edit profile group links, you’ll see all the groups on a single page.

    Next, you will probably want to remove the pagination from the page, as it will get included multiple times (since we’re in a while loop), and it is also unnecessary now that we’re showing all groups on one page.

    Remove this bit:

    <ul class="button-nav">
       <?php bp_profile_group_tabs(); ?>
     </ul> 

    Hope that works for you.

    #241202
    Henry Wright
    Moderator

    A few options spring to mind:

    • Ask the theme author to make their templates BuddyPress-compatible
    • Create your own BuddyPress templates. See the Template Hierarchy article

    Making a theme BuddyPress-compatible is something many theme authors would consider doing because it opens the door to 2,000,000+ BuddyPress sites, so it’s probably worth a shot asking.

    #241199
    jimjas
    Participant

    Thanks Hugo. I found your article on companion styles, but the only thing I found on deregulating the new styles was:

    function dequeue_bp_twentyfifteen() {
    wp_dequeue_style(‘bp-twentyfifteen’);
    }
    add_action(‘wp_enqueue_scripts’, ‘dequeue_bp_twentyfifteen’);

    However I’m not using a twentysomething theme.

    The current default profile menu runs horizontal across the page

    https://drive.google.com/file/d/0B0PCT5EGd34SN0JIQzdJNWswVEU/edit?usp=drivesdk

    But what I’d like is for the profile menu to run vertically down the page under the profile pic (like it does on the Buddypress site itself)

    https://drive.google.com/file/d/0B0PCT5EGd34STnhqYnM4NXZSVDQ/edit?usp=drivesdk

    Sorry if my pics are not that clear.

    Do you still suggest the dequeue code in the function file as the approach I should follow? And if so, should I change the references to be for the theme I’m using instead of 2015?

    IF not, is there some other code I should use to restore the old profile template format?

    Thanks Hugo!

    jas

    #241185
    Hugo Ashmore
    Participant

    Are you referring to using BP running under one of the default WP themes? If so please state so, it helps, the image is inconclusive and doesn’t help much.

    If you are running under 2014 or 2015 then you may be inheriting the companion styles we introduced with BP 2.3

    If you check the codex in the theme section you will find a guide to these companion styles and instructions on how to de-register those new styles.

    #241169
    danbp
    Participant

    Have you tested with 2015 theme ? Does @mention appear near profile avatar ?

    If it does, ask on your (premium) theme support.

    #241168
    danbp
    Participant

    Searching for code needs a correct search tool. Use Notepad++ and you’ll find 48 occurence to avatar-crop-pane !
    The first of them is in buddypress/bp-core/bp-core-cssjs.php
    Another one is in buddypress\bp-core\css\avatar.css

    But you haven’t to hack core files. All you have to do is to create a child theme from where you can adjust CSS to your need.

    Codex is your friend ! If you accept to read…

    #241162
    sharongraylac
    Participant

    That’s really odd… I haven’t even copied any Buddypress php files into my child theme yet. Must be something I did in the CSS?

    Thanks for the heads up! No more admin 🙂

    #241161
    shanebp
    Moderator

    >I still can’t seem to figure out where that @username went.

    Look in this file, hopefully in [your-theme]\buddypress\members\single\member-header.php

    Look near the top for bp_displayed_user_mentionname();

    btw – you should not use ‘admin’ as a username.
    https://codex.wordpress.org/Hardening_WordPress#Security_through_obscurity

    http://www.wpbeginner.com/wp-tutorials/how-to-change-your-wordpress-username/

    #241151
    danbp
    Participant

    hi @thepofo,

    that’s a question for woocommerce support !
    And have you seen this ?
    http://themekraft.com/store/woocommerce-buddypress-integration-wordpress-plugin/

    #241146
    djsteveb
    Participant

    succurri, limit login attempts, “good question”

    what kind of security you looking for? people trying to admin login? people probing for theme / plugin vulnerabilities?

    #241136
    danbp
    Participant

    Please, read henry’s answer and follow the given doc.

    define’s goes to bp-custom.php This file doesn’t exist by default, you have to add it manually via FTP to wp-contet/plugins/

    #241128
    Henry Wright
    Moderator

    This could be theme-related. Which theme are you currently using? Try using TwentyFifteen to see if the problem resolves.

    #241126
    Henry Wright
    Moderator

    Check out the Customizing BuddyPress Avatars article. You’ll see that avatar sizes can be set using constants:

    define( 'BP_AVATAR_FULL_WIDTH', 250 );
    define( 'BP_AVATAR_FULL_HEIGHT', 250 );
    #241124
    Henry Wright
    Moderator

    Check out the BuddyPress Template Hierarchy article if you’re not already using templates. You can add the new fields to buddypress/groups/create.php

    #241118
    danbp
    Participant

    hi @nnc24,

    you have to read and to debug. As first test, activate 2015 theme and deactivate any plugin but BP. Put debug mode on true in wp-config during your test.

    Some related topics:
    https://buddypress.org/support/topic/user-activation-issue/
    https://buddypress.org/support/topic/new-user-registration-problem-invalid-activation-key/

    #241113
    jeremysuel
    Participant

    I have this same exact issue. Of the three pages for buddy press settings, the “save settings” button is only found under the last page (the “settings” page). There is no “save” button under the pages section or components pages. I have manually created a register and activate page but cannot save them in the proper fields. I have tried multiple themes with no avail. The save buttons just don’t exist. Is there an easier fix than having to go through page elements? Don’t want to screw anything up. Any help is greatly appreciated.

Viewing 25 results - 5,751 through 5,775 (of 31,072 total)
Skip to toolbar