Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Rocio Valdivia
    Participant

    @_dorsvenabili

    Sure! I’ll translate those strings this week! Thanks for letting me know @djpaul šŸ˜‰


    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 šŸ˜‰


    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


    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


    Rocio Valdivia
    Participant

    @_dorsvenabili

    Mark it as Resolved if it worked šŸ˜‰


    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!


    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! šŸ˜€


    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


    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! https://buddypress.trac.wordpress.org/ticket/3443

    Hope it helps to someone šŸ™‚


    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 šŸ™‚


    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 https://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 šŸ™‚


    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 https://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!


    Rocio Valdivia
    Participant

    @_dorsvenabili

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


    Rocio Valdivia
    Participant

    @_dorsvenabili


    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.


    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 ;)


    Rocio Valdivia
    Participant

    @_dorsvenabili

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


    Rocio Valdivia
    Participant

    @_dorsvenabili

    Thanks anyway for your fast reply :)


    Rocio Valdivia
    Participant

    @_dorsvenabili

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


    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 :)


    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! :)


    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi Isbul!

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

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

    Hope it helps to you :)


    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? :)


    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! :)


    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 30 total)
Skip to toolbar