Replies
- Nestor Djintelbé on January 20, 2021 at 11:12 am in reply to: How to enable to upload MPP pics without entering text in BP Activity #35668
Hello Ravi,
Thank you for your reply to this Daniel’s post. I am interested in the question but I am using Legacy. How can I modify the code?
Kind regards,
Nestor
- Nestor Djintelbé on January 6, 2021 at 11:13 pm in reply to: [Resolved] Reply to comment button not working in buddypress stream activities #35286
Hello Ravi,
It was effectivelly the mater of template override. In my case, it was du to the presence of the js\buddypress.js template in my theme (oceanwp-child-theme-master\Buddypress\js\buddypress.js). I added this missing new additional code
'_' + form_id[2]
to
to
` ajaxdata = {
action: ‘new_activity_comment’,
‘cookie’: bp_get_cookies(),
‘_wpnonce_new_activity_comment’: jq(‘#_wpnonce_new_activity_comment’).val(),
‘comment_id’: comment_id,
‘form_id’: form_id[2],
‘content’: content.val()
};`like this
ajaxdata = { action: 'new_activity_comment', 'cookie': bp_get_cookies(), '_wpnonce_new_activity_comment': jq('#_wpnonce_new_activity_comment'+ '_' + form_id[2]).val(), 'comment_id': comment_id, 'form_id': form_id[2], 'content': content.val() };
The problem is therefore solved. I would like to thank you, Ravi and Brajesh, for your help. Thank you very much.
Regards,
Nestor
- This reply was modified 3 years, 10 months ago by Nestor Djintelbé.
- This reply was modified 3 years, 10 months ago by Nestor Djintelbé.
- This reply was modified 3 years, 10 months ago by Nestor Djintelbé.
- This reply was modified 3 years, 10 months ago by Nestor Djintelbé.
- Nestor Djintelbé on December 29, 2020 at 5:28 pm in reply to: [Resolved] Reply to comment button not working in buddypress stream activities #35147
Hello Ravi,
Thank you again.
As discribed in the link you joined in your reply, I have put the following code in wp-config.php .
// Enable WP_DEBUG mode define( 'WP_DEBUG', true ); // Enable Debug logging to the /wp-content/debug.log file define( 'WP_DEBUG_LOG', true ); // Disable display of errors and warnings define( 'WP_DEBUG_DISPLAY', false ); @ini_set( 'display_errors', 0 );
The “debug” file is only created when starting the website. So the response to comments does not appear in it:
[29-Dec-2020 16:44:24 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. in C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\wp-db.php on line 1653 [29-Dec-2020 16:44:24 UTC] PHP Stack trace: [29-Dec-2020 16:44:24 UTC] PHP 1. {main}() C:\Users\User\AppData\Local\Programs\Local\resources\extraResources\bin\wp-cli\wp-cli.phar:0 [29-Dec-2020 16:44:24 UTC] PHP 2. include() C:\Users\User\AppData\Local\Programs\Local\resources\extraResources\bin\wp-cli\wp-cli.phar:4 [29-Dec-2020 16:44:25 UTC] PHP 3. include() phar://C:/Users/User/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/php/boot-phar.php:11 [29-Dec-2020 16:44:25 UTC] PHP 4. WP_CLI\bootstrap() phar://C:/Users/User/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/wp-cli.php:27 [29-Dec-2020 16:44:25 UTC] PHP 5. WP_CLI\Bootstrap\LaunchRunner->process() phar://C:/Users/User/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/bootstrap.php:74 [29-Dec-2020 16:44:25 UTC] PHP 6. WP_CLI\Runner->start() phar://C:/Users/User/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:23 [29-Dec-2020 16:44:26 UTC] PHP 7. WP_CLI\Runner->load_wordpress() phar://C:/Users/User/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1158 [29-Dec-2020 16:44:26 UTC] PHP 8. require() phar://C:/Users/User/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1237 [29-Dec-2020 16:44:26 UTC] PHP 9. require_wp_db() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-settings.php:124 [29-Dec-2020 16:44:26 UTC] PHP 10. wpdb->__construct() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\load.php:527 [29-Dec-2020 16:44:26 UTC] PHP 11. wpdb->db_connect() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\wp-db.php:632 [29-Dec-2020 16:44:26 UTC] PHP 12. mysqli_real_connect() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\wp-db.php:1653 [29-Dec-2020 16:44:29 UTC] PHP Warning: mysqli_real_connect(): (HY000/2002): Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée. in C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\wp-db.php on line 1653 [29-Dec-2020 16:44:29 UTC] PHP Stack trace: [29-Dec-2020 16:44:29 UTC] PHP 1. {main}() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-admin\index.php:0 [29-Dec-2020 16:44:29 UTC] PHP 2. require_once() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-admin\index.php:10 [29-Dec-2020 16:44:29 UTC] PHP 3. require_once() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-admin\admin.php:34 [29-Dec-2020 16:44:29 UTC] PHP 4. require_once() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-load.php:37 [29-Dec-2020 16:44:29 UTC] PHP 5. require_once() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-config.php:77 [29-Dec-2020 16:44:29 UTC] PHP 6. require_wp_db() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-settings.php:124 [29-Dec-2020 16:44:29 UTC] PHP 7. wpdb->__construct() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\load.php:527 [29-Dec-2020 16:44:29 UTC] PHP 8. wpdb->db_connect() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\wp-db.php:632 [29-Dec-2020 16:44:29 UTC] PHP 9. mysqli_real_connect() C:\Users\User\Local Sites\vulgariser-les-maths\app\public\wp-includes\wp-db.php:1653
I don’t if I did what you asked for.
Regards,
Nestor
- Nestor Djintelbé on December 27, 2020 at 9:57 pm in reply to: [Resolved] Reply to comment button not working in buddypress stream activities #35131
Hello Brajesh,
Thank you very much for assistance.
When a comment is added after opening the network tab, the request send to wp-admin/admin-ajax.php is most of the time “failed to load response data” (admin-ajax.php appears in read). After about ten requests the response is something like
{"bnb-data":{"messages":[],"last_notified":0},"wp-auth-check":true,"server_time":1609106046}
.Regards
Nestor
- Nestor Djintelbé on December 24, 2020 at 7:04 pm in reply to: [Resolved] Reply to comment button not working in buddypress stream activities #35076
Hello Ravi,
Thank you again!
Here are what I am getting while the reply button is clicked: There are several admin-ajax.php. And it is still appearing.
The response in the first is:
{"bnb-data":{"messages":[],"last_notified":0},"wp-auth-check":true,"server_time":1608835280}
At this moment, the lastest is{"bnb-data":{"messages":[],"last_notified":0},"wp-auth-check":true,"server_time":1608836533}
Regards
Nestor
- Nestor Djintelbé on December 23, 2020 at 8:51 pm in reply to: [Resolved] Reply to comment button not working in buddypress stream activities #35064
Hello Ravi,
Thank you again!
The website is still in local. I am developing it using Local by Flywheel. So, I don’t know if it is possible to provide a temporarily guest account for someone in local installation. If yes, how can I do it? It can do anything you ask for; I really need to solve the problem.Best regards,
Nestor
- Nestor Djintelbé on December 21, 2020 at 10:02 pm in reply to: [Resolved] Reply to comment button not working in buddypress stream activities #35011
Helo Ravi,
Thank you for your quick reply. I can view the comment form and I am not getting any error. When the comment form appear and I type a text and click to reply button to send the comment, the buton stays clicked indefinitely and doesn’t send the text.
Regards
Nestor
- Nestor Djintelbé on June 5, 2020 at 11:19 pm in reply to: [Resolved] Extend activity inner area #30509
Thank you very much! I will contact them.
- Nestor Djintelbé on June 5, 2020 at 4:58 pm in reply to: [Resolved] Extend activity inner area #30498
Hello Brajesh,
Thank you for your very quick reply.
Unfortunally, I am not using your theme; I am using OCeanWP.
Best regards
- Nestor Djintelbé on May 30, 2020 at 6:44 pm in reply to: [Resolved] Notifications for comments on posts with mediapress media #30340
Hello again Brajesh,
There is a litle problem that still remains; if you can help me again.
When click on Wall media Gallery, specially here Wall video Gallery, there are videos and all posts and comments related to them and the textarea for starting new posts with “Want to say Something, [user first name] ?
I want just media (video, photo, document) without activity stream in Wall medias Gallery if you can help me again to do that.
Best regards