Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 32 total)
  • Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Thanks @henrywright-1, and that was what I did, I was the one that added the prefix:

    buddyboss_childtheme_ to my function, but the point is that if I use the word “core” inside the title of a function, the ajax stop working ;)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Ok, I have found the problem and I fixed it :)

    The conflict was the name of the function:

    buddyboss_childtheme_core_get_notifications_for_user( $type_notification )

    When I was testing the function to find the problem, I realised that even with the empty function the ajax problem was still there. So I tried changing the function’s name and done!

    The new name is:

    buddyboss_childtheme_get_notifications_for_user( $type_notification )

    I will never use again the word “core” in the title of a function in functions.php ;)

    Hope it will be useful for someone. Cheers!

    Rocío

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi @justin_k

    thank you very much for your reply and first at all, thank you for your great job with your plugin WP-FB-AutoConnect.

    The issue that I had was 8 months ago, so I apologize if I don’t remember all the details about it. But I remember that the issue was getting the connecting’s user’s email address in some cases.

    The point was that I tested the plugin with different FB users with differents privacy settings and the problem was with those users that had their emails’ visibility for “Only me”

    Everytime that I logged in with the same “Only me FB user”, WP created a new account, so I had duplicated users in those cases.

    I would be very happy if you tell me that I was doing something badly and that your plugin has not that issue.

    Thanks again :)

    Rocío

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Mark it as Resolved if it worked ;)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi again! I’ve just answer you by twitter, but I’ll write down here because it can be usefull for other people ;)

    You can use the functions:

    groups_is_user_mod( $user_id, $group_id );
    groups_is_user_admin( $user_id, $group_id )

    or these ones aswell:

    BP_Groups_Member::get_is_mod_of( $user_id );
    BP_Groups_Member::get_is_admin_of( $user_id );

    Hope it helps!

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Ok, you can disable sending activation email to new registrant in WP multisite + BP installation by adding code below into your theme/child theme functions.php

    `
    // Change the text on the signup page
    add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );

    function my_disable_activation( $user, $user_email, $key, $meta = ” ) {
    // Activate the user
    bp_core_activate_signup( $key );

    // Return false so no email sent
    return false;
    }
    add_filter( ‘wpmu_signup_user_notification’, ‘my_disable_activation’, 10, 4 );

    //Disable new blog notification email for multisite
    remove_filter( ‘wpmu_signup_blog_notification’, ‘bp_core_activation_signup_blog_notification’, 1, 7 );
    add_filter( ‘wpmu_signup_blog_notification’, ‘__return_false’ );

    // disable sending activation emails for multisite
    remove_filter( ‘wpmu_signup_user_notification’, ‘bp_core_activation_signup_user_notification’, 1, 4 );
    add_filter( ‘wpmu_signup_user_notification’, ‘__return_false’, 1, 4 );
    `

    Cheers! :D

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    The last function has a bug, it activate the user after registration, but it’s still sending the activation key email using WP multisite, so it can be very confusing for the users, because they’re already active.

    Any ideas to stop sending the activation key email?

    Thanks

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi!

    If somebody still need to disable activation email, the following function works fine for me:

    `
    // Change the text on the signup page
    add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );

    function my_disable_activation( $user, $user_email, $key, $meta = ” ) {
    // Activate the user
    bp_core_activate_signup( $key );

    // Return false so no email sent
    return false;
    }
    add_filter( ‘wpmu_signup_user_notification’, ‘my_disable_activation’, 10, 4 );
    remove_filter( ‘wpmu_signup_blog_notification’, ‘bp_core_activation_signup_blog_notification’, 1, 7 );
    add_filter( ‘wpmu_signup_blog_notification’, ‘__return_false’ );
    `

    Thanks to @cnorris23 for it! http://buddypress.trac.wordpress.org/ticket/3443

    Hope it helps to someone :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Meanwhile, I’ve tested the BP demo of this one /loginradius-for-wordpress/ and it doesn’t duplicate the user. But I prefer not to use a external service.

    So, I found this one buddydev.com/plugins/buddypress-facebook-connect-plus/ (thanks to @mercime) and it looks perfect for what I’m looking for. Any of you have used it? if you do, does it duplicate the same FB user in wp_users? and does it work fine importing users Facebook data to BuddyPress profile?

    Thank you very much for your help and if I find more usefull info about this, I will post it here :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi all and thanks for all the info :)

    I’m looking aswell for a plugin that automatically fill in the Buddypress users’ X-Profile data from the uers’ Facebook profiles.

    I have tried the free version of http://wordpress.org/extend/plugins/wp-fb-autoconnect/ but it has a serious problem. If I login with my FB account a few times, this plugin create a new user every time in the wp_users table. I don’t know if the premium version of this plugin fix this problem, so if any of you have tested it, I would be very thankful for your comments :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi @purplemonkeyking you only have to disable the users’ registration option here: http://example.com/wp-admin/network/settings.php

    Then, try to connect with the plugin you’re using and done. I’m using the same plugin and it works for me ;)

    By the way, are you using the premium version of http://wordpress.org/extend/plugins/wp-fb-autoconnect/ it’s because I need the premium BP features and I would like to know other people opinion before to buy it.

    Thanks!

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Great job!!!!! Congrats :D

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    I did it with BP 1.5.5, I said it in the first post of this topic ;)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi @ubernaut

    I have installed the plugin and it happens the same: it appears to have the option but when I tested it the policy is not enforced and even logged out users can see the private fields on my site.

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Ok, I know that it’s not a good practice to change the core, but if someone needs it, here you have how editors can edit other user profiles:

    /wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-screens.php -> line 35

    if ( !bp_is_my_profile() && !is_super_admin())

    change it for this:

    if ( !bp_is_my_profile() && !is_super_admin() && !current_user_can(‘moderate_comments’))

    It works ;)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Ok, thanks Paul :). I will update to 1.6 and will test with the bp_moderator capability.

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Thanks anyway for your fast reply :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Mmmmm so is there no way to do it with BP 1.5.5? :(

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Yes @abysshorror it works, thanks, but it’s not what I was looking for.

    @DJPaul yes, I agree, the function that I have to modify is bp_activity_get() in bp-activity-functions.php to retrieve an activity or activities of both scopes :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi abysshorror!

    Thanks for reply so fast :). I have tried your code and it doesn’t work, even I tried with && instead || but nothing. The problem is that using both ways, it only shows the first scope activitys, for example, using this:

    `if ( bp_has_activities( ‘scope=friends’ ) || bp_has_activities( ‘scope=favorites’ )) :`

    it only shows the friends activity. And there is another problem, if I use the code above, when I click on the load more link, it works, but showing the sames activities again and again.

    Somebody knows how can I solve this? Thanks! :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi Isbul!

    with the plugin BuddyPress Private Community you can choose what will be private and what will be public:

    http://wordpress.org/extend/plugins/buddypress-private-community/

    Hope it helps to you :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Great job guys!!!!!, I noticed the toolbar too ;), but one thing: if we don’t have sufficient permissions to access to the New Post Page and the Comments Moderation Page, would be better if we don’t see those links in the toolbar? :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi @DJPaul , it’s great to know that you’re working on that now, beacuse it’s a very usefull feature :)

    Looking foward to see next version, thanks! :)

    Avatar of Rocio Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Eventpress works great to me in WP 3.2.1 multisite and BP 1.2.9. I have used the plugin Multisite User Management to mange all the users roles and to change them to the Event creator role in the main site.

    By the way, the only bug that I have found is that the link created in the admin bar in: My account -> Events and My acoount -> Events -> My events don’t work propertly, if I click them, they go to the site_url

    Anyway, great plugin, congrats! :D

Viewing 25 replies - 1 through 25 (of 32 total)