#wordpress 2023-04-07
2023-04-07 UTC
gRegor, RasAlGhoul, gRegorLove_, sebbu, massageball, IWSlackGateway and [KevinMarks] joined the channel
[tw2113_Slack_], [snarfed] and RasAlGhoul joined the channel
[pfefferle] joined the channel
#
[pfefferle] I am not sure about avatars

#
[pfefferle] There so many good plugins

#
[pfefferle] *Avatar Privacy works like a charm*

#
[pfefferle] I agree on the rest though

[schmarty] joined the channel
nsmsn joined the channel
#
[pfefferle] I know, but avatar privacy does that also for webmentions and any other avatar, like gravatar

#
[pfefferle] And we had to do it mainly because of twitter, which is no longer a case :face_with_peeking_eye:

#
[pfefferle] But why making an extra plugin if avatar privacy is already doing a perfect job caching images locally?

#
[pfefferle] Now it works… just saying ☺

#
[pfefferle] Yes, I think we should try to work on the bug list ☺

#
[pfefferle] And I also have some parts in the code that I find hacky

[tantek], nsmsn, gRegor, gRegorLove_ and [chrisbergr] joined the channel
#
[chrisbergr] @GWG re what I want be able to do: My theme has it's own comments walker, displaying other html structure, using my custom author vcard function and adding some action hooks. Because of the walker provided by webmentions, I loose all of that. With a template solution like the one provided by me, I am able to add wp-content/themes/my-theme/webmention/comment-item.php and bring back all my custom code/structure. Super simple.

aaronpk left the channel
#
[chrisbergr] I remember there was a discussion 3-4yrs ago. As far as I remember you prefer filters over templates. Of course, this would also be a possibility I could work with. But templates are so much easier to use, and thanks to major plugins like woocommerce this was is very well known and accepted.

#
[chrisbergr] Can you tell me in detail what your concerns are?

#
[chrisbergr] Okay, sorry. I was worried, as I said, a few years ago you were against it :) In the end I realized https://cho.bz/t/mA with it. Whatever the final implementation of templates in webmention looks like, if I can't produce this layout, I just have to go my own way again, that's no problem either.

#
[chrisbergr] What I provided is the possibility to overwrrite the code for comment list item, reacion list item and the reaction list in a whole, in case someon wants to put the reactions into some sort of container or anything. I would say this is pretty much flexible 🙂

#
GWG [chrisbergr]: https://github.com/pfefferle/wordpress-semantic-linkbacks/blob/master/includes/class-linkbacks-walker-comment.php#L81 Not like I'm against different stylings.. I did write this.
#
[chrisbergr] Okay, reaction list is perhaps a bit much functionality. We could also limit ourselves to the various items and include an action hook both before and after the list. 'before_reaction_list'

#
[chrisbergr] I can agree with that.

#
[chrisbergr] Let me adjust the code a little bit....

#
[pfefferle] [dshanske] have you only created a 5.0 tag without an release?

#
[pfefferle] already did

#
[chrisbergr] I think there should be a setting for the decision to render reactions as comments.

#
[pfefferle] I would also love to disable templating at all

#
[pfefferle] should write an issue for that

#
[pfefferle] some parts are not that easy with the new structure

#
[pfefferle] limiting the items that should be displayed for example

#
[pfefferle] time to go to bed 👋

#
[pfefferle] me too, but I want to do it on theme level

#
[chrisbergr] Why disable templating? If you don't add custom templates in your theme, you'll have the default views.

#
[pfefferle] I want to add everything in the theme

#
[pfefferle] I want Webmention to ignore output templating completely

#
[pfefferle] because then I do not have to use hooks, to display facepiles, but can add them directly to my comments.php

#
[chrisbergr] That is understandable. Just like I don't want CSS files to be loaded 🙂

#
[pfefferle] whereever I want them

#
[pfefferle] have you worked with theme.json yet?

#
[chrisbergr] yes of course 🙂

#
[chrisbergr] [pfefferle] https://fullsiteediting.com/lessons/global-styles/ this is such a great help to get into all this theme.json stuff 🙂

#
[chrisbergr] @GWG I'd love to see those endponts in the rest api. But for fse support, we need our own comments block, I'm working on that.

#
[chrisbergr] I referenced this code before. See https://github.com/WordPress/gutenberg/blob/8904c565b3002c6d66be8a982f46c637e19b8beb/packages/block-library/src/comments/index.php

#
[chrisbergr] There is a get comments function. With own block, we can use our own get comments

#
[chrisbergr] Sounds good 🙂

#
[chrisbergr] Did we had code for swarm coins before in semantic linkbacks?

[jacky] joined the channel