Alex Kirk
Forum Replies Created
-
Forum: Plugins
In reply to: [Friends] When activated all blog posts go poof — goneYes, I still see all your posts. Could you view yourself in an Incognito/Private window to verify?
Maybe you could also share a screenshot of what you’re seeing? Thank you!
Forum: Plugins
In reply to: [Friends] When activated all blog posts go poof — goneOh no. You’re saying it removes the posts from your frontpage when it’s active? In order to show your own Friends feed at https://sethgoldstein.me/friends/ (when logged in), it does modify the Query Loop but it should only do so on
/friends/
to avoid what you are describing.Do you have other plugins installed that might be interfering?
Forum: Plugins
In reply to: [Friends] Can’t seem to delete a Mastodon subscriptionHi, it does sound like something causes a PHP fatal error (sorry about that!) Do you have access to your server’s error log? Maybe you can find something there.
It is normal (until I implement Get old ActivityPub messages upon subscribe using RSS #136) that when you add a Mastodon account, no messages appear. Only when they post something.
Forum: Plugins
In reply to: [Friends] 404, multisite limits, and a few other observationsThank you for your feedback! This is helpful indeed.
I did quite a bit work to make the Friends plugin functional on multisite and it should work both inside a multisite and between multisites, so I wonder what might be going wrong for you. I have to admit that primary and original focus is on creating friendships between completely unrelated sites across the internet.
Regarding BuddyPress functionality, I am afraid I don’t have a lot of experience. Could you help me with some screenshots at which points it would make sense to integrate the Friends plugin?
I did not find an obvious way to friend request another user on the same blog.
This is not supported. I tried to cover this in the FAQ entry “Why is the friendship established between WordPress sites and not WordPress users?” Specifically, a “friend user” is associated with a remote site. This could be one inside a multisite network or one elsewhere.
The 404 page for the
/friends/
page is possibly a known bug, could you check that Github issue and maybe draw the connection to your experience?On multisite (even when using different domains and subdomains) every sub-site needs the main site with the plugin installed. This is because the friend link always goes to the root blog. That’s less than ideal for me.
Could you maybe post one or more screenshots to illustrate this? This would be a bug since by design the
home_url()
of a site is supposed to be used, it should not even be aware of the root site. Are you working with a subdir multisite?Forum: Plugins
In reply to: [Friends] Page TemplatesOk understood! You can easily do this and override each of the templates in https://github.com/akirk/friends/tree/main/templates by just adding it to your theme under a
friends/
directory.So, for example to display “hello” instead of the logged in
/friends/
page, you’d create a file containing “hello” in thefriends/frontend/index.php
file.So for you specifically you can create a file
wp-content/themes/hotelblues/friends/frontend/index.php
and it will override that template.Since this is not very useful, you’d be best off by copying the respective file from https://github.com/akirk/friends/tree/main/templates/ and then start your customization from there.
- This reply was modified 1 year, 11 months ago by Alex Kirk.
Forum: Plugins
In reply to: [Friends] Page TemplatesHi! I’d like to help you but could you please be more specific? The Friends Plugin uses a Custom Post Type (CPT) but I am not sure if you mean this.
Could you share (relative) URLs and describe which behavior you see there? Thanks!
Forum: Plugins
In reply to: [Friends] Can’t follow “friends” across fediverse?People can follow your blog via ActivityPub. When you post something they’ll receive it.
Mentioning others is theoretically finished for the ActivityPub protocol but the PR needs a review: https://github.com/pfefferle/wordpress-activitypub/pull/213. If you want you can already download that version as a ZIP from https://github.com/akirk/wordpress-activitypub/tree/outgoing-mentions
Forum: Plugins
In reply to: [Friends] I got error in friend pageGreat! Thank you for helping me debug this!
re 1, I’ve logged this here: https://github.com/akirk/friends/issues/135
re 2, Mastodon is “push” (see this super old issue https://github.com/mastodon/mastodon/issues/34), so you can only get new entries as they arrive.
A workaround that works and I am considering is to temporarily subscribe the RSS feed just for the backfill. You can do this manually by adding https://mastodon.uno/@staipa.rss as another feed with the SimplePie parser.
I’m tracking this approach in https://github.com/akirk/friends/issues/136
Forum: Plugins
In reply to: [Friends] I got error in friend pageI think it’s because there are no posts yet (it causes a 404 for /friends/). This is why I suggested to add some other feed that uses RSS because for it you can click the “Explicitly Refresh” (it’s not possible for Mastodon).
If you added https://www.ads-software.com/news/ then the URL https://www.staipa.it/blog/friends/www.ads-software.com-news/ should work. Does it show news entries?
Forum: Plugins
In reply to: [Friends] I got error in friend pageThanks for sharing the screenshot, this is helpful! Can you check the Subscriptions section? And also click “Modifica” to view the Edit Friend page.
Forum: Plugins
In reply to: [Friends] I got error in friend pageSo, just to confirm, in your Friends → Friends & Requests you see two users, your own on Mastodon and
www.ads-software.com-news
? If you click Edit on thewww.ads-software.com-news
one, in the section “Posts”, does it say “0 posts”?Forum: Plugins
In reply to: [Friends] I got error in friend pageOh, you’d just go to wp-admin, then on the left Friends → Add New Friend and enter a URL like https://www.ads-software.com/news/
Forum: Plugins
In reply to: [Friends] I got error in friend pageOk but probably there are no posts yet (also because of another bug, could you go to that user and deactivate the feed, save and re-activate it and save?). Maybe you could subscribe to some other RSS feed just to get started?
Forum: Plugins
In reply to: [Friends] I got error in friend pageDid you already add someone as a friend or subscribed to someone? I found a bug with the Friends page that happens if there are no posts from friends yet.
- This reply was modified 1 year, 11 months ago by Alex Kirk.
Forum: Plugins
In reply to: [Friends] Migrate a mastodon user into my blogNo, this is not currently supported but would be interesting. Tracking it here! https://github.com/akirk/friends/issues/134