hhmx.de

Elon Muksis

Elon Muksis (@bhasic@mastodon.social)

Föderation EN Mi 13.12.2023 17:18:48

@pfefferle In the settings - supported post types I have media checkbox checked, but my attachment/media posts are not shown.

Matthias Pfefferle

Matthias Pfefferle (@pfefferle@mastodon.social)

Föderation EN Do 14.12.2023 18:11:35

@bhasic I will have a look, but I am glad that it finally works 😍

Elon Muksis

Elon Muksis (@bhasic@mastodon.social)

Föderation EN Do 14.12.2023 18:18:44

@pfefferle Thanks for your help. Site had problems after migration. All my posts are attachment post type so It would be great to get that working.

Elon Muksis

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: wordpress.org/themes/customizr
and childtheme/templates/parts/content/singular/attachment_image_content.php

Elon Muksis

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

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

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

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

Matthias Pfefferle (@pfefferle@mastodon.social)

Föderation EN Mo 18.12.2023 22:48:15

@bhasic you do not see attachments?

Elon Muksis

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

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

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

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

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.
mastodon.social/@woketus@kultt

kulttuurimarxismi.eu/

Matthias Pfefferle

Matthias Pfefferle (@pfefferle@mastodon.social)

Föderation EN Mo 18.12.2023 23:10:28

@bhasic "attachment" uses different hooks 🤦‍♂️

chandra.dev/hooks-inside-wp-in

Have to work on a fix, sorry about that!

Elon Muksis

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

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

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.