Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'theme'

Viewing 25 results - 4,926 through 4,950 (of 31,073 total)
  • Author
    Search Results
  • #249204
    kmw1130
    Participant

    It seems like any changes I make to the members-loop.php file doesn’t make a difference, so it makes me wonder if I am updating the correct file. (wp-content\child-theme\buddypress\members\members-loop.php) is the members-loop file I’ve updated. As well as my child-theme function and child-theme\buddypress\members\index.php.

    #249201
    shanebp
    Moderator

    If your customizations are theme-specific, then theme/functions.php and theme/buddypress are the places for your code.

    You can put code in bp-custom.php, but it will run regardless of which theme is active.

    #249173
    kmw1130
    Participant

    I added this to members-loop:

    <?php /* Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter() */ ?>
    <?php do_action( 'bp_before_members_loop' ) ?>
    
    <?php
    if ( bp_ajax_querystring( 'members' ) ==""){
    $queryString = "type=alphabetical&action=alphabetical&page=1";}
    else {$queryString = bp_ajax_querystring( 'members' );}
    ?>
    
    <?php if ( bp_has_members( $queryString) ) : ?>
    
    <strong>Index.php</strong>
    
    <select id="members-order-by">
    	<?php if ( bp_is_active( 'xprofile' ) ) : ?>
    		<option value="alphabetical"><?php _e( 'Alphabetical', 'buddypress' ); ?></option>
    	<?php endif; ?>
    		<option value="active"><?php _e( 'Last Active', 'buddypress' ); ?></option>
    		<option value="newest"><?php _e( 'Newest Registered', 'buddypress' 
    
    Functions.php (child theme)
    /** Sort alphabetical name listings by lastname */
    function alphabetize_by_last_name( $bp_user_query ) {
        if ( 'alphabetical' == $bp_user_query->query_vars['type'] )
            $bp_user_query->uid_clauses['orderby'] = "ORDER BY substring_index(u.display_name, ' ', -1)";
    }
    add_action ( 'bp_pre_user_query', 'alphabetize_by_last_name' );

    Is that correct?

    Thanks
    Kim

    Slava Abakumov
    Moderator

    Place this code in bp-custom.php or functions.php of your theme.

    if ( ! is_super_admin() ) {
        add_filter( 'show_admin_bar', '__return_false' );
    }
    peter-hamilton
    Participant

    I had same problem during my first go on BuddPree/Wordpress, found problem to be my theme which left no space in members header to show default links for this.

    Did what @danbp mentioned and got it fixed with css.

    Good luck

    danbp
    Participant

    Hi,

    this will be a custom work on your site admin and concerns principaly wordPress.
    Read here how to do add a custom column on user’s list.

    Here the function reference you’ll need to use.

    Something like this you have to add to bp-custom.php or your child-theme functions.php

    function andrea_columns( $output, $column_name, $user_id ) {
    
    /* do something*/
    
    }
    add_action( 'manage_users_custom_column', 'andrea_columns', 10, 3 );
    danbp
    Participant

    Hi,

    have you activated Private message option in BuddyPress settings ?
    have you the same issue when you use one of the Twenty something theme ?

    #249132
    danbp
    Participant

    Hi,

    to modify the group directory sort order, you need a child-theme and a template overload of groups/index.php

    Copy this file from bp-templates/bp-legacy/buddypress/groups/index.php to child, to get the following path:
    wp-content/themes/your-child-theme/buddypress/groups/index.php

    In this copy, modify the html of the selector you’ll find at line 82~86 so the alpha. sort is in first position instead of latest.

    #249130
    Slava Abakumov
    Moderator

    I don’t see my fix in the source code of the /register page.
    Does your theme have /members/ or /buddypress/ directory? If yes, please give me content of the file /members/register.php or /buddypress/members/register.php.
    If there is no such file, – give me the content of a file (and its name) where you put the code I gave you. You can use http://pastebin.com/ to post there code from file (and post here in a forum only links to those files from pastebin).

    #249128

    In reply to: where is edit this?

    danbp
    Participant

    Hi,

    it’s a message within WordPress, not BuddyPress.
    if you want to modify this text, you have to use the WordPress language file. (xx_XX.po in wp-content/languages).

    Read here and here how to do that.

    #249124
    Dennis Alund
    Participant

    +1 for this thread

    See this FAQ on WooThemes Memberships regarding the issues that you can run into if you purchase a membership plugin and try to restrict access to e.g. Groups or Members directory.

    #249106
    Slava Abakumov
    Moderator

    The problem is with your theme.
    The quickest fix is this:

    function the7_bp_register_fix(){
        echo '<div style="clear:both"></div>';
    }
    
    add_action('bp_custom_signup_steps', 'the7_bp_register_fix', 999999);

    Place this code into either bp-custom.php or functions.php of your (child) theme.

    Ideally – contact your theme author and ask him/her/them to test the theme with BP.

    #249066
    shanebp
    Moderator

    If you want somebody to examine your site, you need to provide a user / pw.

    Your issue may be related to your theme.
    To confirm, try switching momentarily to a WP theme like 2013 and see if the problem persists.

    #249045

    In reply to: BP pages trigger 404

    mervinpearce
    Participant

    Created two WordPress sites with buddy press. I am using a Bossbuddy theme and it is just annoying that a register will trigger a 404. This problem is scattered all over the postings. Is there a single source for solving this??

    It goes to http://webaddress/register

    #249037
    Slava Abakumov
    Moderator

    What’s the content of your theme /members/single/profile.php file?

    #249033
    Slava Abakumov
    Moderator

    What’s the content of your theme /members/single/profile/profile-loop.php file?

    #249032
    Hellbounds
    Participant

    and i try to add line to the child theme but nothing happened

    #249031
    Hellbounds
    Participant

    not working ..

    /*
    Theme Name: Sweetdate (shared on themelot.net)
    Description: More than a WordPress dating theme
    Author: SeventhQueen
    Author URI: http://themeforest.net/user/SeventhQueen
    Version: 2.9.2
    Tags: dating, clean, responsive, creative, minimal, modern, landing page, social
    Text Domain: kleo_framework
    License: GNU General Public License
    License URI: license.txt
    */
    @import url("assets/styles/app.css");
    
    /*
    * DO NOT EDIT THIS FILE
    * 
    * If you want to edit/add styles you need to enable the child theme and add your custom styles there.
    */
    
    #buddypress .profile h4{display:none !important}
    #249030
    Slava Abakumov
    Moderator

    into style.css of your theme. Also try this:
    #buddypress .profile h4{display:none !important}

    #249028
    Hellbounds
    Participant

    /wp-content/themes/[your-theme]/members/index.php this work to delete id="members-all" but here /wp-content/themes/[your-theme]/members/single/profile/profile-loop.php i delete h4 text and nothing happened

    #249027
    Slava Abakumov
    Moderator

    You have /members directory.
    /wp-content/themes/[your-theme]/members/single/profile/profile-loop.php
    and
    /wp-content/themes/[your-theme]/members/index.php

    Have you tried CSS solution?

    #249025
    Hellbounds
    Participant

    i dont have budyppress in my theme only have in plugin.

    #249018

    In reply to: Cannot create groups

    Slava Abakumov
    Moderator

    There can be some plugins that make this happen. Try deactivating all of them (except BuddyPress) one by one to see which might cause it.
    You could have written some code in bp-custom.php file or in your theme’s functions.php – check those files as well.

    Also, groups can’t be added to forums – they are different components. Although groups can have own forums.

    #249017
    Slava Abakumov
    Moderator

    OR

    You can add these styles to your theme css file:

    #members-all{display:none}
    #buddypress .profile h4{display:none}
    #249016
    Slava Abakumov
    Moderator

    “Tab Base”

    To delete Base and all other fields groups names in user profile:
    1. find in your theme file /buddypress/members/single/profile/profile-loop.php
    2. Delete in that file: this line: <h4><?php bp_the_profile_group_name(); ?></h4>

    If you don’t have such file in your theme, than copy this file:
    /wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php
    into your theme here:
    /wp-content/themes/[your-theme]/buddypress/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php
    and remove the line that I wrote above (with h4).

    Members Directory – All Members

    1. find in your theme file /buddypress/members/index.php
    2. Delete in that file the line with this text: id="members-all"

    If you don’t have such file in your theme – do the same thing as written above but for index.php file.

    You should understand, that this will break ability to filter results on members directory page.

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