Replies
- Brajesh Singh on September 10, 2018 at 9:29 am in reply to: [Resolved] Fatal Error when activating BP Moderation Tools #17213
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 - Brajesh Singh on September 10, 2018 at 9:05 am in reply to: [Resolved] Fatal Error when activating BP Moderation Tools #17212
Sorry, I mistook it for avatar moderator. Please give me 5 mins to check. I need to pus an update for avatar moderator too.
- Brajesh Singh on September 10, 2018 at 9:02 am in reply to: [Resolved] Fatal Error when activating BP Moderation Tools #17210
Hi Loïc,
Thank you,.Please upgrade the Facebook Like Activity Stream plugin and see if that fixes. That should.
Regards
Brajesh - Brajesh Singh on September 10, 2018 at 8:18 am in reply to: [Resolved] Fatal Error when activating BP Moderation Tools #17208
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 - Brajesh Singh on September 10, 2018 at 6:57 am in reply to: [Resolved] Fatal Error when activating BP Moderation Tools #17205
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 - Brajesh Singh on September 9, 2018 at 7:13 am in reply to: My code with $wpdb and a condition is not working (HTML Forms/BuddyPress) #17201
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 - Brajesh Singh on September 9, 2018 at 6:40 am in reply to: BuddyPress Moderation Tools – moderate profile fields changes #17200
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 - Brajesh Singh on September 9, 2018 at 6:22 am in reply to: [Resolved] Mediapress: the style of the group gallery subnav is not like my theme's #17199
Thank you Goyelle.
Glad it is fixed.Have a nice day.
Brajesh
- Brajesh Singh on September 9, 2018 at 6:22 am in reply to: BuddyPress Private Message Rate Limiter #17198
Hi Carsten,
I am not sure that I understand it completelyYes, 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 - Brajesh Singh on September 9, 2018 at 6:14 am 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