Replies
- Brajesh Singh on September 10, 2018 at 6:46 pm in reply to: [Resolved] Buddypress Member Type Pro in Profilfield #17220
Thank you for confirming. I am glad that it is fixed.
Have a great day.
Brajesh
- Brajesh Singh on September 10, 2018 at 6:45 pm in reply to: Buddy Press Member Home Widget Media Press Galleries Issues. #17219
Hi Buko,
I am sorry, I have been missing this update. It will be available by day end tomorrow. I will post back.I sincerely appreciate your patience.
Thank you.
Brajesh - Brajesh Singh on September 10, 2018 at 10:39 am in reply to: [Resolved] Fatal Error when activating BP Moderation Tools #17217
Hi Loïc,
We piggyback on WordPress’s check for the updates. It may take a little longer to be available.If you are inside the wp-admin, you can manually visit
yoursaite.com/wp-admin/update-core.phpand click on Check again to force check for update.
Hope that helps.
Regards
Brajesh - Brajesh Singh on September 10, 2018 at 10:27 am in reply to: [Resolved] Fatal Error when activating BP Moderation Tools #17215
Please install and configure the dashboard.
https://buddydev.com/docs/buddydev-dashboard/installing-configuring-buddydev-dashboard/
Once you have done that, whenever a new update for any of our plugin is available, You can see it from the plugins screen as normal.
The update process is seamless for the plugins(It is same as WordPress hosted plugin, You can simply click and update like you do for any other plugin)
Hope that helps.
- 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