Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 26 through 50 (of 67 total)
  • @talk2manoj

    Participant

    Your menu bar seems fine to me without login.

    For displaying a shortcut to the logged in members profile in this bar

    Create your own function like bp_adminbar_authors_menu for logged in members profile and add an action to bp_adminbar_menus

    e.g.

    function bp_adminbar_logged_members(){
    ....
    ....
    }

    add_action( 'bp_adminbar_menus', 'bp_adminbar_logged_members', 100 );

    @talk2manoj

    Participant

    Uncomment the following line in at wp-content/themes/bphome/style.css

    @import url(css/custom.css);

    @talk2manoj

    Participant

    Plugin has been updated, please download it from http://manojkumar.org/wp-content/uploads/bp-bulk-import.zip location

    @talk2manoj

    Participant

    I don’t want to encourage you to do hard-coded changes, but if you want to, here are the instructions

    1. Open wp-content->plugins->buddypress->bp-core->bp-core-classes.php

    2. replace line 247 and 248 by following code

    $total_users_sql = apply_filters( 'bp_core_search_users_count_sql', "SELECT DISTINCT count(u.ID) as user_id FROM " . CUSTOM_USER_TABLE . " u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id WHERE pd.field_id=1 AND pd.value LIKE '%%$search_terms%%' ORDER BY pd.value ASC", $search_terms );
    $paged_users_sql = apply_filters( 'bp_core_search_users_sql', "SELECT DISTINCT u.ID as user_id FROM " . CUSTOM_USER_TABLE . " u LEFT JOIN {$bp->profile->table_name_data} pd ON u.ID = pd.user_id WHERE pd.field_id=1 AND pd.value LIKE '%%$search_terms%%' ORDER BY pd.value ASC{$pag_sql}", $search_terms, $pag_sql );

    in above code “pd.field_id=1” should be the id of Full Name field ( I think its 1 )

    @talk2manoj

    Participant

    Add a filter on bp_core_search_users_count_sql and bp_core_search_users_sql with an extra parameter

    pd.field_id=1 and pd.value LIKE

    @talk2manoj

    Participant

    Hi ougian,

    Have you followed instructions given on following link?

    https://trac.buddypress.org/browser/trunk/bp-forums/installation-readme.txt

    I think you have missed following line at the end of bb-config.php file

    $bb->bb_xmlrpc_allow_user_switching = true;

    @talk2manoj

    Participant

    May I know versions of BuddyPress and WPMU?

    @talk2manoj

    Participant

    Could you rephrase it with page URL?

    I am not able to visualize, which page you are referring to.

    @talk2manoj

    Participant

    If you are referring to theme changes, you can control it from following files

    bp-themes/bpmember/directories/blogs/index.php

    bp-themes/bpmember/directories/blogs/blogs-loop.php

    bp-themes/bpmember/directories/groups/index.php

    bp-themes/bpmember/directories/groups/groups-loop.php

    bp-themes/bpmember/directories/members/index.php

    bp-themes/bpmember/directories/members/members-loop.php

    @talk2manoj

    Participant

    Its a customized theme :)

    @talk2manoj

    Participant

    Deanes02, Please turn on the Green light :)

    @talk2manoj

    Participant

    jgadbois – You can’t install WordPressMu with www. it automatically remove www. from your domain.

    I have written a post on How to install WordPressMU with www. you can refer to that.

    http://manojkumar.org/install-wordpress-mu-with-www/

    @talk2manoj

    Participant

    Please check wp_bp_xprofile_groups table in your database, it seems that there is a group exists with blank name field.

    @talk2manoj

    Participant

    Can you please provide us your site URL to check?

    @talk2manoj

    Participant

    When I add tag in Group its says

    string 'http://domain.com/groups/admin-group-name/edit' (length=49)

    @talk2manoj

    Participant

    Thanks for the quick answer. Yes, I want to use it in my own component.

    @talk2manoj

    Participant

    Hi Burt,

    This seems amazing! looking forward to use the same.

    Can we use this along with our custom developed component?

    Thanks

    @talk2manoj

    Participant

    I know that by hardcoding this to something like this might work but can we do this without hardcoding and by hiding menu?

    if ( $bp->current_component == $bp->wire->slug || $bp->current_component == $bp->profile->slug ) {
    return apply_filters( 'bp_get_wire_get_action', $bp->displayed_user->domain . $bp->wire->slug . '/post/' );
    } else if ($bp->current_component == $bp->custom_component->slug) {
    return apply_filters( 'bp_get_wire_get_action', $bp->displayed_user->domain.'/' . $bp->custom_component->slug . '/wire/' );
    } else {
    return apply_filters( 'bp_get_wire_get_action', site_url() . '/' . $bp->{$bp->current_component}->slug . '/' . $uri . '/' . $bp->wire->slug . '/post/' );
    }

    @talk2manoj

    Participant

    1. Delete all tables created by bbPress from your database

    2. Install bbPress without integration with wordpress

    3. Login with Key Master

    4. Go to admin tab

    5. Do wordpress integration

    @talk2manoj

    Participant

    Your code should look like this

    http://manojkumar.org/bp-blogs-widgets.tiff

    @talk2manoj

    Participant

    Its very simple

    1. Login with admin id

    2. Paste following in your address bar and press enter

    http://youdomainname.com/wp-admin/admin.php?page=xprofile_settings&group_id=1&field_id=1&mode=edit_field

    Note: Replace “http://youdomainname.com” with your domain name in above url

    3. Do editing as you want and save for changes.

    @talk2manoj

    Participant

    For displaying admin post only use following steps

    1. Use \”Recent Blog Posts\” widget

    2. Open bp-blogs-widgets.php under mu-plugins/bp-blogs

    3. Paste following code at line no. 36 i.e. just after <?php foreach ( $posts as $post ) : ?>

    <?php if ($post->post_author==1) {?>

    4. Close } at line no. 50 i.e. just after end of li

    5. Done!

    @talk2manoj

    Participant

    You can upload it on your site and provide a link here.

    @talk2manoj

    Participant

    Check your Daylight setting in options

    Time may be incorrect because you have not adjusted the offset in the WP admin panel for daylight savings.

    @talk2manoj

    Participant

    Any Suggestions?

Viewing 25 replies - 26 through 50 (of 67 total)
Skip to toolbar