Elon Muksis (@bhasic@mastodon.social)
Föderation EN Sa 16.12.2023 21:51:43
@pfefferle Not sure if it matters but i'm using this free theme: https://wordpress.org/themes/customizr/
and childtheme/templates/parts/content/singular/attachment_image_content.php
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 22:42:17
@pfefferle Would be awesome to get a solution for this, because it's like the idea of the site to media be found in Mastodon.
Matthias Pfefferle (@pfefferle@mastodon.social)
Föderation EN Mo 18.12.2023 22:44:57
@bhasic what do you use as object-type? Note?
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 22:45:30
@pfefferle Note, but i have tried all options.
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 22:47:18
@pfefferle I peeked at activitypubs settings.php and looked to me that there's only page and post to select.
Matthias Pfefferle (@pfefferle@mastodon.social)
Föderation EN Mo 18.12.2023 22:48:15
@bhasic you do not see attachments?
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 22:50:52
@pfefferle nope. Line 211
<?php $support_post_types = \get_option( 'activitypub_support_post_types', array( 'post', 'page' ) ) ? \get_option( 'activitypub_support_post_types', array( 'post', 'page' ) ) : array(); ?>
Matthias Pfefferle (@pfefferle@mastodon.social)
Föderation EN Mo 18.12.2023 22:54:36
@bhasic this is only the default. you have to see "Media" in the settings.
(Medien: 1)
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 22:56:26
@pfefferle Of course. Anyway the media checkbox is visible there just like in the screenshot. Selecting it just doesn't make my attachment posts federate.
Matthias Pfefferle (@pfefferle@mastodon.social)
Föderation EN Mo 18.12.2023 22:59:42
@bhasic but you have checked and saved it?
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 23:01:15
@pfefferle I have added hundreds of media files after I got articles to show in Mastodon. They are published.
https://mastodon.social/@woketus@kulttuurimarxismi.eu
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 23:08:28
@pfefferle I use MLA if that matters. https://wordpress.org/plugins/media-library-assistant/
Matthias Pfefferle (@pfefferle@mastodon.social)
Föderation EN Mo 18.12.2023 23:10:28
@bhasic "attachment" uses different hooks 🤦♂️
https://chandra.dev/hooks-inside-wp-insert-post-function/
Have to work on a fix, sorry about that!
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Mo 18.12.2023 23:11:43
@pfefferle No problem, happy to help make the plugin work better.
Matthias Pfefferle (@pfefferle@mastodon.social)
Föderation EN Mo 18.12.2023 23:54:49
@bhasic what would you expect as content? Empty?
(the images comes as attachment)
Elon Muksis (@bhasic@mastodon.social)
Föderation EN Di 19.12.2023 00:04:05
@pfefferle What attachment post type has. Ttile, media file, (I dont need caption and description, but they should be optional), alt. Everything as optional would be perfect. For me and other MLA-users, MLA's attachment tags and categories would be great.