#wordpress 2023-05-14
2023-05-14 UTC
#
[chrisbergr] That sounds great and would certainly make it easier to set up when that is no longer an issue at all.
#
[chrisbergr] The less third-party the better
#
[chrisbergr] many years ago there were two seperate projects.. open street map and opgen geo db (not sure if that was the exact name) - I guess something like that is needed.
#
[chrisbergr] Oh, sorry.. Just lerned open geo db is still around but only coveres germany, austria, switzerland and belgium .. That is not helpful
#
[chrisbergr] About your nextcloud phonetrack solution?
#
[chrisbergr] I also used Compass years ago, but I don't remember why I set up my own database for my Overland data.
#
[chrisbergr] You fetch the data from Compass when you make a new post in WordPress to store it in simple location?
#
[chrisbergr] I like that the publish date is matched with the historical data 🙂
#
[chrisbergr] Do you always post your "regular" posts from within wp-admin on desktop?
#
[chrisbergr] Do you use http://micro.blog for writing your short posts or do you automatically syndicate frow wordpress to it?
#
[chrisbergr] But it seems like you also only store geo data in checkin posts.
#
[chrisbergr] ah okay, got it 🙂
#
[chrisbergr] I'm always interested how people post on their (wordpress) site, becaus I find it pretty difficult.
#
[chrisbergr] more logic behind what? private location data?
#
[chrisbergr] I guess there is potential for some logic according to category, tag, and/or kind
#
[chrisbergr] I also want to create more content.
#
[chrisbergr] But even writing a short post the length of a tweet takes me more than 10 minutes, which would take 30 seconds on twitter. So I just don't do it.
#
[chrisbergr] Congratulations on the achievement of having made all the switches smart 🙂
#
[chrisbergr] Unfortunately, IndiePass does not work for me.
#
[chrisbergr] yes
#
[chrisbergr] I can only set tags. After the post is published, there is only the default category set, and I need pll (polylang) lang attribute
#
[chrisbergr] But there is no setting for category in the app. (of course, ios is still an old indigenious version)
#
[chrisbergr] What would be great is a possibility to hook some actions after publishing a post via micropub. With that I could solve my issues comming from my site setup
#
[chrisbergr] Oh wow just found it. Great documentation! 🙂 I need to free up some time to dive deeper in that, so I'm finally be able to post more comfortable
#
[chrisbergr] Yes, that would be great. I do quite a lot of customization on the output, every time I examine your code I find an excellent number of filters that can be used.
#
[chrisbergr] You could use some grunt script for auto docblock insertation
#
[chrisbergr] Or maybe a plugin in your editor?
RasAlGhoul_ joined the channel
[tw2113_Slack_] joined the channel
#
[tw2113_Slack_] it shows 😛
#
[chrisbergr] Speaking of missing documentation and simple location: can you tell me what the replacement is for "Loc_View::get_location"?
#
[tw2113_Slack_] i dunno , i'm just talkin smack
#
[tw2113_Slack_] legit ignore me 🙂
#
[chrisbergr] I see a commented out line of "_Geo_Data::location_content" in my file. Those general changes always kill me ^^_
#
[chrisbergr] I've seen the upgrade notice and there is no problem at all. I noticed the old call caused an error so I just commented the line of code out. Now that I know the new call I can search for the function and figure out how to get the output I want back in
#
[chrisbergr] Now it's working again, that was easy, thanks 🙂
#
[chrisbergr] Great 🙂
#
[chrisbergr] There is an issue with map zoom level (at least on my site with geoapify)
#
[chrisbergr] I've set 14 as default in the settings. All my venues have 18 stored and all new checkins use that 18... I always have to manually change it
#
[chrisbergr] I'll take a closer look and post an issue on github. It has become quite late by now
[aciccarello], RasAlGhoul_, RasAlGhoul__, Loqi__, sebbu, IWSlackGateway, Guest6, [KevinMarks], KMF and [chrisbergr] joined the channel
#
[chrisbergr] Hi GWG
#
[chrisbergr] Oh that's something new :)
#
[chrisbergr] I'm laying on my sofa 🙂 I wanted to come back to the micropub hooks again.
#
[chrisbergr] I read the documentation and inspected the endpoint class.. As far as I can see there is no hook after the post is created.
#
[chrisbergr] For some things I'd like to do I need the real post ID.
#
[chrisbergr] And the post object does exist at the moment this is triggered?
#
[chrisbergr] Okay, great, then I can continue to work with that. Thanks 🙂
#
[chrisbergr] I hope you don't have to wait much longer.
#
[chrisbergr] Good example, thanks
#
[chrisbergr] Oh, there I see the map zoom level thingy you noticed yesterday
#
[chrisbergr] I really do want always use map zoom 14. Do you think there is a possibility for a setting "Always use default Map Zoom Level"?
#
[chrisbergr] Or a filter doing the same
#
[chrisbergr] Yes, I see the math according to geo accuracy.. I guess it makes a lot of sense. But mavericks like me always want something special ^^
#
[chrisbergr] Yes, in micropub_set_location you have a check for 'checkin' and if so you'll youse 18.
#
[chrisbergr] "youse"?? Funny creation
#
[chrisbergr] with the micropub hook? set polylang data, post must exist before.
#
[chrisbergr] And I need to change the post format and post kind. Guess that could be done before.
capjamesg left the channel
#
[chrisbergr] I got everything in 'after_micropub' to work except 'set_post_format'.... Let's see what the problem is.
#
[chrisbergr] yes! just called to early. prio 90 fixed it 🙂
#
[chrisbergr] Interestingly no post date is displayed in the frontend
#
[chrisbergr] if I do wp_update_post(
#
[chrisbergr] 'post_date' => $now,
#
[chrisbergr] array (
#
[chrisbergr] 'ID' => $post_id,
#
[chrisbergr] 'post_date_gmt' => get_gmt_from_date( $now ),
#
[chrisbergr] );
#
[chrisbergr] the date will be displayed. wrong timezone but it's there. Not sure what exactly causes the issue.
#
[chrisbergr] On a client project I noticed that after programmatically adding new posts the function 'the_post_date' returns empty but 'echo get_the_date' contains the right value...
#
[chrisbergr] Yes, until I find out more, I can't say anything qualified about it. I just mentioned it in case someone might have made the same observation before.
#
[chrisbergr] But I have managed it now. So I can actually use IndiePass (Indigenious) now, that makes me very happy 🙂
#
[chrisbergr] I have to go to bed now. Have a nice evening with your parents, David 🙂
