Hi, one major issue I’m having with the WP-Discourse plugin is that comment replies are unclear. When there is a comment reply in Discourse, the WordPress side does not show what it’s a reply to. It’s just a pure flat conversation.
It would be nice to either utilize WordPress’ threading capabilities (unlikely given Discourse’s stance), or at least state “This is a reply to comment #2” or something like that.
It has been discussed before, so you might search for those conversations; I’d point you to a thread, but it is always mentioned in passing. Get yer search on!
I like that - this could be acceptable. What’s “our standard embed script” though? What you have in WP-Discourse isn’t doing this for me (also tried in default theme, still nothing).
Hi, I’m revisiting this issue. The JS embed isn’t working well enough for my liking, so I’m looking at going back to the comment sync.
Doing some tests, many of our conversations look plain awful without knowing who’s replying to whom. Is there a possibility of getting a bit more clarity with the replies?
Unfortunately, when you are doing the wp_remote_get inside of lib/discourse-comment.php, using the best=____ parameter strips out the reply information from your JSON!
Not sure if that’s on purpose or is a bug, but that’s a roadblock on its own.
Edit: Yet, if you remove the best parameter, it doesn’t work with /wordpress.json anymore. I can see the problems baked in here for wanting this ‘simple’ change.
I just launched Discourse comments on my Wordpress site, and I’m having the same issue as Berto—without the context of “This is a reply to…” (either name or comment), the comments are a bit challenging to follow. Since I am trying to sell my readership that Discourse is a superior experience to Disqus, and that they should give it a try, it’s not the best look for that.
@simon Did you come up with a solution to this? Do I need to use the the Javascript embedding? It’d be great if I could make the conversation flow more clearly like on Coding Horror’s blog. (But I’d really prefer to keep using WP-Discourse, which I love.)
You already have a super-solid integration with linking the comments between the sites. Having both references to replies (and even active links that move you through the conversation) on Wordpress, like @codinghorror uses on his blog, would be a big benefit. His site, I think, gives a good template to start from and, if necessary, you could tweak the UI from there.
Please let me know if you need any help testing things. I’m happy to offer whatever assistance I can.
If improving the way comments are displayed is something you’re going to focus on, I might also ask for a cleaner presentation for when you are quoting previous content.
Quoting is something I’m trying to encourage now in order to have the comments on Wordpress make more sense. But currently the name quoted and the quote itself are separate and styled differently:
I think it feels a little disconnected.
It’d be cool if it could match more like how it’s presented in Discourse:
Solo quería saludarte. Todavía me encantaría ver una presentación más clara de las respuestas, citas y comentarios en WordPress.
¿Has tenido tiempo para echarle un vistazo?
Por supuesto, lo entenderé si no has podido, pero solo quería comentarte que es algo que me gustaría mucho ver. He recibido más comentarios de mis lectores indicando que seguir la conversación en el formato actual resulta confuso, y creo que si las copias de WordPress fueran un poco más claras, podría animar a más personas a probar Discourse en mi sitio.
Gracias por tu excelente trabajo con este plugin. Es realmente genial y muy apreciado.
Estoy investigando qué se puede hacer para indicar que un comentario es una respuesta o para agregar un enlace de ‘respuestas’ debajo de los comentarios que tienen respuestas. Los datos necesarios para esto no se están transmitiendo actualmente desde Discourse a WordPress, pero parece que se pueden hacer disponibles con un cambio bastante pequeño en Discourse.
Sí, los estilos predeterminados para esto no son muy buenos. Puedes mejorarlos agregando esta regla al CSS de tu tema:
La expectativa con el plugin es que los sitios estilicen los comentarios para que coincidan con su tema, pero los estilos que se habilitan cuando se activa la opción ‘Cargar CSS de comentarios’ deberían proporcionar un punto de partida razonable. Agregaré algo como la regla CSS que publiqué anteriormente al plugin muy pronto.
Lo cual es definitivamente una mejora. Pero mi tema sigue añadiendo ese borde extraño. He intentado revisar el CSS, pero hay muchas referencias a “bordes” y me cuesta mucho trabajo identificar cuál es el responsable. (Mi nivel de CSS no es muy bueno.)
¿Tendrías algún consejo sobre qué buscar en mi CSS para eliminar ese borde y poder acercarme más a lo que lograste con el tema twentynineteen?
Lo entenderé si no tienes tiempo. Seguiré intentando averiguarlo. ¡Pero muchas gracias por ayudarme a llegar hasta aquí!
Habrá algunas mejoras en el CSS predeterminado de las citas en la próxima actualización del plugin.
Este cambio debería funcionar para corregir la alineación a la derecha del blockquote y su título en tu sitio. También debería solucionar el problema con el borde. Este CSS se añadirá al plugin antes de que termine la semana, pero no habrá ningún problema en agregarlo a tu sitio de inmediato:
Solo una última cosa: ¿hay alguna forma de crear un pequeño espacio debajo de la fecha, como en los comentarios pero sin el cuadro blanco de respuesta?
Creo que tener un poco de espacio negativo entre la fecha y el borde del cuadro blanco podría verse un poco más limpio.
Sí, creo que este es un problema relacionado con tu tema. Prueba agregando una regla CSS algo así:
.comment .comment-content {
margin: 22px;
}
Es posible que necesites ajustar el valor de 22px para que el margen se adapte a tu sitio.
Hay otro problema con tu tema que quizás quieras corregir. WordPress utiliza listas ordenadas para los comentarios, pero usa CSS para eliminar los números de la lista. Si no deseas mostrar números junto a los comentarios, prueba agregando una regla similar a esta del tema Twentyninteen: