Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 27 total)
  • Avatar of Rocío 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 Rocío 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 Rocío 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 Rocío 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 Rocío 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 Rocío 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 Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Great job!!!!! Congrats :D

    Avatar of Rocío 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 Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Avatar of Rocío 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 Rocío 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 Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

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

    Avatar of Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Thanks anyway for your fast reply :)

    Avatar of Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

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

    Avatar of Rocío 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 Rocío 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 Rocío 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 Rocío 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 Rocío 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 Rocío 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

    Avatar of Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Thanks Boone! :)

    Avatar of Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Great work francescolaffi, it works perfectly with version 1.6, congratulations for the plugin :)

    Avatar of Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Anyway, the plugin has a bug, cause when I log in my social network using the twit connect buttom it works perfectly and it creates a new user, but if I log out or I clear browsing data, the next time that I try to connect using the twit connect buttom again, it show me the next message: “User name XXXXXX cannot be added. It already exists.”

    So, what’s the solution?, if I’m logged in using twit connect I can’t never log out or delete the cookies?. The plugin must to check that if already exists a user with that username, maybe it’s the same user trying to log in again, so it should check if the email and password are the same, in that case, to log in with that username.

    Avatar of Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    Hi billydecola, I had the same problem, and after a time I noticed that it wasn’t working cause I copied the wrong code:

    <?php if(function_exists(´twit_connect´)){twit_connect();} ?> –> WRONG (it using written accent instead quotation marks)

    <?php if(function_exists(‘twit_connect’)){twit_connect();} ?> –> OK

    Hope it helps.

    Avatar of Rocío Valdivia
    Rocio Valdivia
    Participant

    @_dorsvenabili

    @blackphantom Thank you very much!, it works perfectly now!!!! :D.

    The problem was that I created the app on twitter like Client type, not like a Browser type, it’s fixed now.

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