#wordpress 2017-11-16

2017-11-16 UTC
#
GWG
I still want to add that logging enhancement
#
GWG
I put the hook in
#
[miklb]
I suspect the issue is the mbstring. Someone else had some problem.
#
[miklb]
same problem
#
GWG
[miklb]: I proposed a fallback be put in just in case
Zegnat, tantek and [miklb] joined the channel
#
[miklb]
4.9 is officially out
#
GWG
Is it?
#
[miklb]
`Updating to version 4.9 (en_US)...`
#
GWG
How is it?
#
[miklb]
only updated my local install so far, but not seeing anything broken or different ¯\_(ツ)_/¯
j12t joined the channel
#
GWG
Hello, j12t
#
j12t
HI guys! So when I asked in Portland in June what plugins etc are relevant, I was told: bridgy-publish, indieauth, indieauth-post-kinds, indieweb, micropub, semantic-linkbacks, social-networks-0auto-poster, syndication-links, webmention, wp-uf2, independent-publisher, and sempress. I think. Is that still the list?
#
tantek
if there is such a canonical list, it should be on the wordpress plugins page
#
tantek
what are wordpress plugins
#
Loqi
WordPress Plugins are plugins that can help make your site more IndieWeb friendly https://indieweb.org/WordPress/Plugins
#
j12t
I don't know about canonical, I only know what people told me
#
j12t
So I'd like my "get Indieweb Wordpress running" trail to say "install plugins X,Y and Z"
#
j12t
and talk about alternatives and tradeoffs only after the site is running
#
j12t
objective is to be on the indieweb and see benefits (particular cross-posting and pulling comments back in) with the shortest possible time investment.
#
GWG
Bridgy Publish and Social Network Auto Poster can do the same thing. It is a matter of preference. Independent Publisher and Sempress are themes...so same function. wp-uf2 is only needed if you don't have an Indieweb friendly theme.
#
GWG
But, all the others I would install as canonical.
#
GWG
I really wish I could say just yes.
#
j12t
GWG: I'd like to pick one for each, and only talk about alternatives later. Your recommendation which?
tantek joined the channel
#
GWG
Bridgy Publish is more Indiewebby
#
GWG
SemPress is more mature
#
j12t
Excellent, thank you.
#
j12t
And if sempress, I don't need wp-uf2?
#
GWG
j12t: Correct
#
j12t
Actually, it occurs to me it would be nice to not just document site installation and setup, but keep the site running ..?!?
#
j12t
"and if you follow this tutorial, your site will look like this one"
[mrkrndvs] joined the channel
#
[mrkrndvs]
I have access miklb, just need to access it. Will look there (did not know to do so)
[chrisaldrich] joined the channel
#
GWG
j12t: Things continue to get better though. Even since June
#
j12t
One step at a time :-) of course!
#
GWG
j12t: I was very productive in July.
#
GWG
Something about being stuck abroad
#
j12t
Travel and productivity ... randomly correlated between -1 and 1
#
GWG
j12t: Fewer distractions
#
j12t
I've had it either way. There's a famous picture of me, typing away furiously on a laptop, on a yacht off the BVI. RIght behind the rum punch. Best business meeting ever :-)
steve2, steve33, [tantek], [manton] and [mrkrndvs] joined the channel
#
[mrkrndvs]
Can I just confer something. I thought maybe there was a log in the backend, but could not find anything. I know the dashboard, but have only started on the journey to hacking the code. miklb do you mean this? https://codex.wordpress.org/Debugging_in_WordPress
[miklb] joined the channel
#
[miklb]
Yes, that would be turning on debug and would generate a debug.log in your wp-content directory
#
[miklb]
mrkrndvs a simple debug step might to be turn off semantic linkbacks and see if webmentions work, that is where we are having the issue with mbstring. If that doesn’t fix it, then we can look at other options to debug. unless you are comfortable with the debugging steps
#
[mrkrndvs]
miklb I'll start with the semantic linkbacks and go from there. Thank you. Not averse to debugging, just never done it. Gotta be a first for everything
#
[miklb]
indeed
[jeremycherfas] joined the channel
#
[miklb]
speaking of debug.log my friend Andrew put this plugin together to allow you to view the log from the admin https://github.com/norcross/debug-quick-look
#
Loqi
[norcross] debug-quick-look: Adds a link to view or purge the debug.log file in WordPress
tantek, jeremycherfas and [colinwalker] joined the channel
#
[colinwalker]
Webmentions, semantic linkbacks and micropub all looking okay for me after WP 4.9 update.
[mrkrndvs] joined the channel
#
[mrkrndvs]
miklb that seems to have worked, although still testing. What is the mb_string fix?
#
[mrkrndvs]
Can anyone tell me why weird things might be happening to my author code, it reads as follows: <span class='p-author h-card'>Aaron Davis</span>
#
[mrkrndvs]
Do I need to add something associated with h-cards to my theme? I am sure I just missed something. Just wondering. (Apologies for stupid questions)
#
[mrkrndvs]
Had a go at using the plugin. Went into admin and turned WP_DEBUG to true, but it would not open the error log, sadly. Must have missed something. Maybe I was meant to reload or something. Unsure. Learning.
#
jeremycherfas
Are you still using twentyseventeen?
#
[mrkrndvs]
I am using SemPress, would that make a difference ?
#
jeremycherfas
I don't think so, but a good starting point. I use a child of Independent Publisher. I dont show author, as I am the only person who publishes there, so I need to check how my h-card works. Hang on
#
GWG
If you are using Sempress, turn off Microformats 2
#
jeremycherfas
Have you tried checking with php.microformats.io?
#
jeremycherfas
Ah, if GWG is here, I can relax.
#
GWG
Oh?
[colinwalker] joined the channel
#
jeremycherfas
My byline includes <span class="author p-author vcard h-card"> and is not visible on the site.
#
[mrkrndvs]
@GWG I wish all problems were that simple. Thank you.
#
GWG
It's an issue with the Microformats 2 plugin
#
[mrkrndvs]
So @GWG the Microformats 2 is only needed when the features are not baked into the Theme? Must admit, still learning about Microformats http://boffosocko.com/2017/10/27/reply-to-laying-the-standards-for-a-blogging-renaissance-by-aaron-davis/
#
Loqi
[Chris Aldrich] Reply to Laying the Standards for a Blogging Renaissance by Aaron Davis
#
GWG
Correct
#
[mrkrndvs]
Has anyone written up on the fix for mbstring? Assuming that if pings are now flowing through that maybe that is my problem ... (At least for one of my blogs)
#
GWG
I opened an issue
#
jeremycherfas
Is there a simple way to get the content of Mentions to appear rather than a facepile?
#
jeremycherfas
By simple, I mean not editing the database to change the nature of the Mention.
#
GWG
snarfed opened a ticket on that. There is not an easy way at the moment because of the way things are done. But it is still being debated
#
jeremycherfas
OK. Is the ticket on Semantic Linkbacks?
#
GWG
Yes
#
GWG
That is what does the Facepiles
#
GWG
You can call the Facepile code in your theme manually, which could address the issue, but...
#
GWG
I worked a little on having some themes take over functions because using hooks doesn't always allow the custom placement you want.
#
jeremycherfas
I'm trying to work around it in my Theme, which is OK for now as I don't have time to go deeper and probably won't for a couple of weeks.
#
jeremycherfas
I know I found a way to disable display of the Webmentions by Independent Publisher before, but I can't for the life of me find it or remember it now.
[pfefferle] joined the channel
#
[pfefferle]
good morning
#
jeremycherfas
Dispaly: none; on #comments will do it, but is not ideal for my purposes. But it will do for now.
#
jeremycherfas
If I could pull out and display only comments with class="h-as-mention" I think that would do the trick.
#
jeremycherfas
But it is time now for lunch.
#
[pfefferle]
jeremycherfas you can use the latest master version… snarfed added settings to disable facepiles for mentions
#
Loqi
[acegiak] Semantic-Linkbacks
#
Loqi
[pfefferle] wordpress-semantic-linkbacks: More meaningfull linkbacks
#
[pfefferle]
a bit tricky, I know ?
#
jeremycherfas
:) Doing it now. Thanks.
#
jeremycherfas
Do I need to rename the folder?
#
jeremycherfas
Or just update semantic-linkbacks.php?
#
jeremycherfas
That works fine.
#
jeremycherfas
Pfefferle++
#
Loqi
pfefferle has 7 karma in this channel (37 overall)
#
[pfefferle]
I want to add some more changes from snarfed before I release a new version, so this could last some more days
jeremych_ joined the channel
#
jeremych_
Success!
[kevinmarks] joined the channel
#
[pfefferle]
jeremycherfas nice theme
#
jeremych_
Thanks. Minor mods of Independent Publisher.
#
[pfefferle]
oh nice, this is based on Independent Publisher?
#
jeremych_
Yes.
#
[pfefferle]
if you are interested I am working on a very similar theme, which is fully indieweb compatible https://notiz.blog
#
Loqi
[pfefferle] ZenPress: Pure Zen for WordPress
#
jeremych_
That is a beautiful theme.
#
jeremych_
I think you have improved it since I first looked at it.
tantek joined the channel
#
jeremych_
One problem now is that displaying the source of the webmention by the theme seems pretty tricky. No time now though.
#
[pfefferle]
what do you mean by source?
#
[pfefferle]
the real message of a mention?
#
[pfefferle]
I think we should make an option for that
#
jeremych_
The author of the mention. But this is an issue with the theme, not the plugin.
#
jeremych_
And I am sure that there must be a better way of choosing which webmentions to display, using a filter rather than a CSS rule.
#
tantek
indeed
[kevinmarks], snarfed and [miklb] joined the channel
#
[miklb]
good morning
#
Loqi
guten morgen
[manton] and [pfefferle] joined the channel
#
[pfefferle]
Good morning miklb
snarfed, [eddie], [miklb], tantek, chimo and [chrisaldrich] joined the channel
#
[chrisaldrich]
jeremycherfas If you need details for converting from a facepiled webmention to a comment, this should work in general if you're okay with monkeying in your database until there's admin UI for tweaks: http://boffosocko.com/2017/10/06/using-facepiles-in-comments-for-wordpress-with-webmentions-and-semantic-linkbacks/#Steps+to+convert+a+mention+to+a+comment
#
Loqi
[Chris Aldrich] Using Facepiles in Comments for WordPress with Webmentions and Semantic Linkbacks
tantek and [mrkrndvs] joined the channel
#
Loqi
[miklb] #122 Absence of `mbstring` php extensions causes webmentions to fail
#
[mrkrndvs]
Is it fair to say that right now, just leave the Semantic Linkbacks Plugin off is the easiest solution for the Mb problem
[miklb] joined the channel
#
[miklb]
mrkrndvs if you do not have access to install php extensions on your server or your host for some reason is unable to then that’s currently the only option while we explore a long term solution
#
[miklb]
but webmentions by themselves are featureless. Semantic Linkbacks does most of the magic for being able to display the webmentions.
#
[mrkrndvs]
I have access, but sometimes I am like a little kid pushing buttons when I open up the bonnet. I found the issue raised on GitHub, but I could not identify the solution, sorry