Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 17 replies - 1 through 17 (of 17 total)

  • robertosalemi
    Participant

    @robertosalemi

    Hi,
    I’m using default theme of buddypress and not apply custom functions.

    Now I try default theme of WordPress.

    🙂


    robertosalemi
    Participant

    @robertosalemi

    Resolved (this time for good!):

    function admin_bar_remove_this(){
    	global $wp_admin_bar;
    	$wp_admin_bar->remove_node('my-account-buddypress');
    }
    add_action('wp_before_admin_bar_render','admin_bar_remove_this');

    Thanks.


    robertosalemi
    Participant

    @robertosalemi

    No,
    it’s not a correct way, because if I enable this action, I don’t show the image in media section!

    Why?

    Thanks! 😉


    robertosalemi
    Participant

    @robertosalemi

    Resolved.

    function remove_buddypress_admin_bar_init() {
    	echo '<style type="text/css">
    		div#wp-toolbar > ul#wp-admin-bar-top-secondary > li#wp-admin-bar-my-account > div.ab-sub-wrapper > ul#wp-admin-bar-my-account-buddypress {
    			display: none !important;
    		}
    	</style>';
    }
    
    add_action( 'init', 'remove_buddypress_admin_bar_init' );

    Thanks! 😉


    robertosalemi
    Participant

    @robertosalemi

    Hi @shanebp,
    I try to use
    do_action( 'bp_before_member_header_meta' );
    but I not managed to work with this.

    At the moment, I continue to use my function and I have hidden the error between the button with CSS code.

    🙁


    robertosalemi
    Participant

    @robertosalemi

    Ok, I will try to follow your way.

    Thanks.


    robertosalemi
    Participant

    @robertosalemi

    Hi #shanebp,
    this is my function.

    Thanks.


    robertosalemi
    Participant

    @robertosalemi

    Hi @shanebp,
    how can I use my function bpfr_add_mention_from_profile() with do_action?

    In member-header.php for shown user-nicename there is function bp_displayed_user_mentionname();

    Thanks for the support.


    robertosalemi
    Participant

    @robertosalemi

    Hi @henrywright,
    I tested the plugin “BuddyPress Component Stats”, it seems very good, but for “Blogs”, “Forum” and “Group”, it not shows data.
    Why?

    The second plugin is very old and I think that not works with buddyPress 2.x

    Thanks.


    robertosalemi
    Participant

    @robertosalemi

    Hi @danbp,
    I saw function groups_action_create_group(), but I don’t understand how can I hide steps about how create group in my functions.php

    Can you help me?

    Thanks.


    robertosalemi
    Participant

    @robertosalemi

    I resolved with this code:

    //GET INFORMATION GROUP
    if (!$group = groups_get_group( array( 'group_id' => $group_id ) ) )
    {
    	return false;
    }
    else 
    {
       $group_name = $group->name;
       $group_slug = $group->slug;
    }

    Thanks for all!


    robertosalemi
    Participant

    @robertosalemi

    Hi @danbp,
    I resolved with:
    add_action( 'groups_group_create_complete', 'my_function');

    How can I get the informations of current groups?
    For example “name of group” to insert in my page?

    Thanks.


    robertosalemi
    Participant

    @robertosalemi

    Thanks, I will try.


    robertosalemi
    Participant

    @robertosalemi

    @danbp

    I see your link,
    the plugin that you indicated.
    Since they are old, they are compatible with latest version of BuddyBlog?

    I need that arrive a notification when user joins in a groups.

    It’s possible?

    Thanks.


    robertosalemi
    Participant

    @robertosalemi

    I explained myself badly, during my research I have not found the solution you posted.
    Thanks for your link.


    robertosalemi
    Participant

    @robertosalemi

    Hi danbp,
    I search always a solution to resolve my problem before to post in support.

    I don’t find the link that you wrote me.

    Thanks for the support.


    robertosalemi
    Participant

    @robertosalemi

    Hi gt4877c,
    have you resolve your problem?

    Thanks.

Viewing 17 replies - 1 through 17 (of 17 total)
Skip to toolbar