wp-new-user-notification.php, lines:
$message = sprintf( __( 'Username: %s' ), $user->user_login ) . "\r\n\r\n";
$message .= __( 'To set your password, visit the following address:' ) . "\r\n\r\n";
$message .= '<' . esc_url_raw( network_site_url( "wp-login.php?action=rp&key=$key&mail_key=$email_verification_sig&login=" . rawurlencode( $user->user_login ) ), 'login' ) . ">\r\n\r\n";
The characters “<” and “>” from the last line above causes that the url is not displayed.
]]>Is it possible to use WordPress to login to Discourse?
]]>WP Discourse creates an error every couple of seconds around the clock. Fills the logs, routinely crashes the website. It’s endless.
[2022-05-01 03:01:16] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:20] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:20] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:22] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:28] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:32] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:32] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:49] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:01:58] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:02:03] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:02:15] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:02:16] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:02:21] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
[2022-05-01 03:02:47] comment_formatter.ERROR: format.missing_post_data {"keys":"discourse_permalink,discourse_comments_raw"}
]]>
I followed the installation instructions to the letter (https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752).
Under the Connection tab, I get “You are connected to Discourse!” Also, under Webhooks, I get a Status Code 200, all seems fine, yet the comment system doesn’t display under any WP posts.
This is a fresh install of WordPress with no other plugins installed. I’ve tried several WordPress default themes, no change. For testing, I can get the WP Comments to show and work fine.
Discourse is being hosted on DigitalOceans and everything works great there. The WordPress install is located at Rochen Hosting, again no issues or errors found.
I do not have DiscourseConnect enabled.
Suggestions?
]]>Hello,
Since update 2.3.5, an error is displayed on posts that are not linked to a topic on Discourse.
Below is a capture to the error.
https://1drv.ms/u/s!Aiq0yirkk82kj70y3doSCKLWp6BZtQ?e=oK9YCe
The return to version 2.3.4 corrects the problem.
Romain
]]>Is there any way to purge data (from post meta etc.) on uninstalling this plugin
]]>An error of type E_ERROR was caused in line 207 of the file /www/sociocracyforall_679/public/wp-content/themes/Divi/includes/builder/feature/gutenberg/blocks/Layout.php. Error message: Uncaught ArgumentCountError: Too few arguments to function ET_GB_Block_Layout::get_the_excerpt(), 1 passed in /www/sociocracyforall_679/public/wp-includes/class-wp-hook.php on line 303 and exactly 2 expected in /www/sociocracyforall_679/public/wp-content/themes/Divi/includes/builder/feature/gutenberg/blocks/Layout.php:207
Stack trace:
#0 /www/sociocracyforall_679/public/wp-includes/class-wp-hook.php(303): ET_GB_Block_Layout->get_the_excerpt(‘It was yet anot…’)
#1 /www/sociocracyforall_679/public/wp-includes/plugin.php(189): WP_Hook->apply_filters(‘It was yet anot…’, Array)
#2 /www/sociocracyforall_679/public/wp-content/plugins/wp-discourse/lib/discourse-publish.php(271): apply_filters(‘get_the_excerpt’, ‘It was yet anot…’)
#3 /www/sociocracyforall_679/public/wp-content/plugins/wp-discourse/lib/discourse-publish.php(209): WPDiscourse\DiscoursePublish\DiscoursePublish->sync_to_discourse_work(32452, ‘The day I conse…’, ‘
After updating to the latest version of the plugin, we started getting errors on out website When I visit most pages on my website, the following error is shown in the browser: “There has been a critical error on this website.”.
The web server error log file shows the following error:
[Fri May 21 12:11:29.642929 2021] [proxy_fcgi:error] [pid 25977:tid 139967565043456] [client 192.168.1.1:43910] AH01071: Got error ‘PHP message: PHP Warning: require_once(/mnt/public_html/valuehub_io/httpdocs/wp-content/plugins/wp-discourse/vendor/autoload.php): failed to open stream: No such file or directory in /mnt/public_html/valuehub_io/httpdocs/wp-content/plugins/wp-discourse/wp-discourse.php on line 60PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /mnt/public_html/valuehub_io/httpdocs/index.php:0PHP message: PHP 2. require() /mnt/public_html/valuehub_io/httpdocs/index.php:17PHP message: PHP 3. require_once() /mnt/public_html/valuehub_io/httpdocs/wp-blog-header.php:13PHP message: PHP 4. require_once() /mnt/public_html/valuehub_io/httpdocs/wp-load.php:37PHP message: PHP 5. require_once() /mnt/public_html/valuehub_io/httpdocs/wp-config.php:101PHP message: PHP 6. include_once() /mnt/public_html/valuehub_io/httpdocs/wp-settings.php:391PHP message: PHP Fatal error: require_once(): Failed opening required ‘/mnt/public_html/valuehub_io/httpdocs/wp-content/plugins/wp-discourse/vendor/autoload.php’ (include_path=’.:/usr/share/php’) in /mnt/public_html/valuehub_io/httpdocs/wp-content/plugins/wp-discourse/wp-discourse.php on line 60PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /mnt/public_html/valuehub_io/httpdocs/index.php:0PHP message: PHP 2. require() /mnt/public_html/valuehub_io/httpdocs/index.php:17PHP message: PHP 3. require_once() /mnt/public_html/valuehub_io/httpdocs/wp-blog-header.php:13PHP message: PHP 4. require_once() /mnt/public_html/valuehub_io/httpdocs/wp-load.php:37PHP message: PHP 5. require_once() /mnt/public_html/valuehub_io/httpdocs/wp-config.php:101PHP message: PHP 6. include_once() /mnt/public_html/valuehub_io/httpdocs/wp-settings.php:391′, referer: https://valuehub.io/wp-admin/
I removed the plugin and installed an older version. That fixed the error.
]]>Hi,
Can you please reflect Discourse post status in WordPress? When I delete (hide) posts in Discourse – they are still visible in WordPress as article comments. I think this should consider Discourse post status. When I want to get rid of a post (e.g. moderation) – I also want it to disappear from WP.
Is there a way to resolve it?
]]>It is possible to make a comment from the wordpress page and load it directly into discourse. Or even upload the form to create a discourse response on the wordpress page itself?
]]>Just FYI, but out there is another characters than en_UK/US ??
If I tried to use tag including scandinavic characters like ?, ? or ? the plugin just ignores them.
]]>If I want to add Discourse to a membership site (for a members only forum), I assume that I’d have to use WP to handle the login?
]]>I’m getting an error message when I try to create a new post or page…
TypeError: Cannot read property ‘split’ of undefined
at DiscourseSidebar.buildPostState (https://fpadvance.com/wp-content/plugins/wp-discourse/admin/discourse-sidebar/build/index.js?ver=1606956042:1211:41)
at DiscourseSidebar.initializePostState (https://fpadvance.com/wp-content/plugins/wp-discourse/admin/discourse-sidebar/build/index.js?ver=1606956042:1192:43)
at new DiscourseSidebar (https://fpadvance.com/wp-content/plugins/wp-discourse/admin/discourse-sidebar/build/index.js?ver=1606956042:1124:29)
at Ag (https://fpadvance.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:63:107)
at Vg (https://fpadvance.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:89:442)
at ph (https://fpadvance.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:217:70)
at lh (https://fpadvance.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:126:409)
at O (https://fpadvance.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:121:71)
at ze (https://fpadvance.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:118:14)
at https://fpadvance.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:53:49
Hi,
This seems to have only become a problem since we updated to WordPress 5.5. The actual problem occurs in the initialize_update_user_route
method of the SyncDiscourseUser
class. Apparently register_rest_route
now requires that you have a permission_callback
. I added 'permission_callback' => '__return_true'
after line 53, and the problem went away. We are using WP Discourse version 2.1.2
Regards,
Mark Pemburn
Blue Ocean Ideas
I have the option “Do not load the WordPress comments template for posts that are not Published to Discourse.” checked, but in the last few days, the posts that don’t have a post on the Discourse are showing the WordPress comments.
I’ve tried to uncheck and check it again but It didn’t worked.
]]>I’d love to provide more details, but unfortunately I’ve only got the least helpful error message possible to work from:
There has been an error publishing this post to Discourse.
Nothing in any error logs I can see on either the site or Discourse.
I can link to an existing topic, but that’s little more help than updating post meta directly.
Is there a debug switch I missed in the settings? Or some other way to get a useful error message?
]]>We are using the plugin utilities to update Discourse user profile information. The error “An error was returned from Discourse while trying to sync the sso record.” crops up frequently, though not every time. I can see that this is thrown by a WP_Error, but there is no indication of exactly what circumstance has caused the error. Can you suggest how to debug this? Perhaps you could add more detailed error information in your next release?
Thanks in advance,
Mark
]]>Can I create a forum for a given Woocommerce Product (which is really a post underneath) and then provide access to those who purchased the product? Would I need to implement a subscription in Woo? Can this be done? Thanks.
]]>There is a bug in the current release of the Discourse plugin where if I try publishing a new topic in Discourse (from the WordPress article, mind you) for an article that has two colons “:” in the title, I will get the error: “cURL error 52: Empty reply from server.” Strangely enough, topic will have been created successfully in my Discourse forum, though, so I can at least manually link it. The real issue here is the Discourse plug-in is unable to automatically link to a topic with colons when it had first created that topic.
]]>Is there a way to make the entire text describing a thread discussion a hyperlink to Discourse? For our users, we sometimes get questions out of confusion about where to click or tap to reach the forum thread at the bottom of posts because they can’t clearly see that the hyperlink doesn’t start until further in the phrase. To simplify this, it would be better if we could make the entire text string be the link from start to finish. Is there a workaround so we not only make the “Discourse Link” portion the hyperlink but make the Join…, Start… and Continue Discussion text strings part of that link as well? That way, the entire text is a link so when our users hover their mouse or tap their finger on the first few words, they don’t think the link is dead or misconfigured. Maybe you could make this an option in a future release? Thanks!
]]>Enabling the latest release of the LiteSpeed Cache plugin (v2.9.8.7), enabling it will interfere with WP Discourse (latest release, v1.9.5) causing all its content, including links to the forum and comments, to be hidden at the bottom of posts.
]]>Is it possible to use WP comments plugin like wpDiscuz and syncronize comments between it and Discourse forum posts?
]]>Hi there.
I’am using ‘wpdc_after_sync_sso’ hook to trigger additional requests to discourse using discourse user variable available in that hook. Also got some custom sync sso triggers which are using Utilities::sync_sso_record method. Found that sync_sso_record method dont have
do_action( 'wpdc_after_sync_sso', $discourse_user, $user_id );
It is simillar to sync_sso available in DiscourseSSO class which have that hook.
Could you tell me if that on purpose or not? Need to find a way of dealing with that or wait for your update.
Cheers, Mateusz
I’m optimistic about making this work as a discussion on our site, now that BB Press is going nowhere fast. Some questions:
1. Will comments on posts look like comments, even if they get created as forum topics in Discourse? I mean the replies etc will still show in posts as a threaded discussion, or will that area just link to Discourse page?
2. Login: On Discourse I understand I can allow for users to sign up using Facebook, Google, etc. Let’s say they do. Will that login then work for comments etc as well? And we have some newsletters for which we use MailPoet, and the ability to sign up is also added as checkboxes to the comment area. When a user is commenting for the first time, they “register” and at the same time tick checkboxes for the newsletters they sign up to. Will this functionality now all belong to Discourse?
Not sure how these integrations might work. Many thanks!
]]>If SSO is enabled, the plugin overrides default wp_new_user_notification function. Unfortunately it does not include important filters:
wp_new_user_notification_email_admin
wp_new_user_notification_email
Can you please implement (copy from the WordPress Core)?
]]>I see all the implementation of the plugin in a wordpdress very complicated … 30 minutes?
this forum allows unregistered users to post, upload images and create conversation topics?
]]>Please post your support queries and feature requests to our dedicated WordPress category on the official Discourse forum:
https://meta.discourse.org/c/support/wordpress
A large community of Discourse developers monitor that forum, so by posting there you have a much better chance of getting a timely and helpful response.
Thank you for using Discourse for WordPress!
]]>