What change did you make for the edit?

|
Author
Topic: [Mod]ActivityPub Federation for SMF 2.1 (Read 5497 times)
Hatshepsut and 1 Guest are viewing this topic. Any errors in the error_log for this or anything you can see
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ The only one that was natively throwing errors were likes. After I installed, likes werent saving and it was tossing errors in the log (I didnt save those, sorry.) What I figured out was that the ActivityPub hook in Subs-ActivityPub.php was directly accessing $obj->_content and $obj->_type, but those properties are protected in my version of Likes.php. Likes provides the public get() method for accessing them. I changed:
Posting wasnt throwing any actual errors, Acrivitypub was just showing 0 posts. I entered logging lines into the mod pages to try and figure out where it was tripping up. My logs showed that the ActivityPub hook runs immediately after db_insert, while topicOptions['id'] is still 0. The immediate message lookup consequently returned the new message with id_topic=0, and the first test produced:
The relevant sequence for the failing post was:
Great feedback updated with the previously mentioned issues. Their is a new hook registered at install time, so their existing installation won't pick it up from a file update alone. Reinstall the mod, or register the hook once on their live board,
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ Cool! I won't have time to test again until next week, but I'll let you know how the update goes.
Current version is missing .well-known directory.
Fixed bad habit of trying to skip files that start with a period.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ Installed newest version, had to edit the install.xml again to get the admin area. I can only see the toggle to use my account on ActivityPub on admin account, and when I open permissions I generate errors 2: Undefined array key "permissionname_activitypub_admin" and 2: Undefined array key "permissiongroup_activitypub" Posts seem to be logging on SMF's end, haven't tried to access from a Lemmy client yet.
What change did you make for the edit?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Like What I do? Support me at https://www.patreon.com/vbgamer45/ Related Topics
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 8.29 | 21-08-2026 |
| 2 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 26.67 | 13-08-2026 |
| 3 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 15.28 | 21-08-2026 |
| 4 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 15.26 | 13-08-2026 |
| 5 | Re: [Mod]ActivityPub Federation for SMF 2.1 | 0 | 15.26 | 21-08-2026 |
| 6 | Footnotes | 0 | 6.52 | 17-08-2026 |
| 7 | Re: ActivityPub / Fediverse bridge | 0 | 16.9 | 28-06-2026 |
| 8 | Re: Discussion Forum Structured Data for Google Search | 0 | 11.23 | 30-05-2026 |
| 9 | AI Assisted Best Free SMF mods | 0 | 11.76 | 10-08-2026 |
| 10 | Re: Do I need to recount forum statistics? | 0 | 7.9 | 21-08-2026 |