Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Please upgrade to Avatar Moderator 1.0.2
    https://buddydev.com/plugins/buddypress-avatar-moderator/

    It will fix the issue.

    Please let me know if it works for you or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Sorry, I mistook it for avatar moderator. Please give me 5 mins to check. I need to pus an update for avatar moderator too.

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Hi Loïc,
    Thank you,.

    Please upgrade the Facebook Like Activity Stream plugin and see if that fixes. That should.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Thank you for the patience.

    Please upgrade to 1.0.4
    https://buddydev.com/plugins/buddypress-moderation-tools/

    It will fix the issue. We are also pushing the new version of our settings framework with all the plugins now. They will not have any conflict.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Hi Loïc,
    I am sorry for the inconvenience. Please allow me 2 hours. I am going to put an update that will not cause fatal error even with older plugins.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Hi Goyelle,
    I am glad that it is working on it but there are still some issues with the code and I will post with explanation for the first/2nd post.

    
     if ($results=1){
    

    That code does not check whether $results is 1. It assigns the value of 1 to $results and will always be true.

    That’s why the code inside

    
    if ($results=1){
                $wpdb->update( $table, $data, array( 'userID' => $foruserid, 'form_id' => $forformid) );
            } 
    

    Will always run.

    Now, that you have changed it to

    
    if (!empty($results)){            
               $wpdb->update( $table, $data, array( 'userID' => $foruserid, 'form_id' => $forformid) );
            } 
    
    

    It is working correctly as you are updating by checking if the result has some value, then update.

    The problem with your first fetch was you were using incorrect signature for the get_var() method.

    https://codex.wordpress.org/Class_Reference/wpdb#SELECT_a_Variable

    Instead of changing that code, Let us change it to a better option like this

    
    $results = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM {$table} WHERE form_id = %d AND userID = %d", $forformid, $foruserid ) );
    
    

    Hope it helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Hi Maksim,
    Thank you. I am glad that our plugins are helpful.

    1. I can understand this. Have seen many clients asking the same in past. If needed, I can share a plugin that forces user to complete their profile fields. I had written parts of it for one of our member and can put it as a plugin.

    2, 3,4:- Thank you. I can see it has a great potential, specially in intranet and dating sites. I will be interested in working on it in future. What is your timeline? I can confirm whether I will be able to add something like this within your schedule or not?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310

    Thank you Goyelle.
    Glad it is fixed.

    Have a nice day.

    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    Brajesh Singh on in reply to: BuddyPress Private Message Rate Limiter #17198

    Hi Carsten,
    I am not sure that I understand it completely

    
    Yes, and that is the key to the problem, because after sending a BuddyPress message, the users are able to communicate by email via the notification email.
    

    Are they able to communicate directly to each other via email or are they sending the email to your site and the site is acting as an intermediary between the users?

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25310
    Brajesh Singh on in reply to: [Resolved] paiement with featured Member #17197

    Hi Herve,
    That’s good to know.

    Featured Members does not store how the member was featured. All it stores is whether a member is featured or not?

    You can add user meta when marking a user as featured using

    
    update_user_meta( $custom[3], '_paid_featured', 1 );
    
    

    It will save in user meta an extra value when featuring a member. You will need to remove it too when a member is removed from the featured list.

    Regards
    Brajesh