Git Repository and To-Do List

Started by snow, Feb 27, 2025, 05:48 AM

Previous topic - Next topic

snow

This forum is very much a work in progress. Bet you couldn't tell!

For the interested, I'll be tracking any major modifications here: https://git.2ki.xyz/hell-labs/f9 Please feel free to contribute however you'd like. Submit a PR if you have access, email/PM patches, send a hand-written letter saying what lines to change via carrier pigeon, etc.

SMF is easy to modify, but there is so much to modify. I can't promise an ETA, but here's a list of major tasks I'd like to do:

  • Provide a more """modern""" experience on mobile. Not a complete overhaul, but certain aspects from the default SMF theme don't translate well to mobile (looking at you, "User Actions" menu)
  • Inline attachments for posts, likely based off what @viviridian has previously built
  • Some way to contact moderators outside of just using the "Report" button. Something like the ModMail system in some Discord servers
  • Some kind of chat? like IRC that's tied to the forum??? or something??????

viviridian

a long time ago I had an irc bot that was written in php and had direct db access, it would post a notification to irc whenever a new post was made. that was a pretty decent way to tie together a forum and chat channel imo. nowadays that'd probably be a webhook I guess

lifning

Quote from: viviridian on Mar 03, 2025, 11:16 AMa long time ago I had an irc bot that was written in php and had direct db access, it would post a notification to irc whenever a new post was made. that was a pretty decent way to tie together a forum and chat channel imo. nowadays that'd probably be a webhook I guess

the bot would just post the topic name and who'd posted, but if you wanted a link to it you had to type !link. i wonder how important that aspect was, as an exercise in practicing a trivial bit of intentionality in a socially visible way
You cannot view this attachment.
Please consider the environment before printing this post.

snow

Quote from: viviridian on Mar 03, 2025, 11:16 AMa long time ago I had an irc bot that was written in php and had direct db access, it would post a notification to irc whenever a new post was made. that was a pretty decent way to tie together a forum and chat channel imo. nowadays that'd probably be a webhook I guess

Huh, there's no integration hook for new posts/topics as far as I can tell. That seems really weird. I guess we'd have to rely on direct DB access too, or adding an integration hook I suppose.

A webhook could work, although I'd prefer to avoid the chat environment being Discord or Matrix. Part of me was thinking XMPP because I've had the best luck with it, but I was thinking of IRC due to it being relatively easy to build a web interface around.

lifning

Quote from: snow on Mar 06, 2025, 05:18 AMA webhook could work, although I'd prefer to avoid the chat environment being Discord or Matrix. Part of me was thinking XMPP because I've had the best luck with it, but I was thinking of IRC due to it being relatively easy to build a web interface around.

hmm... wondering if there's a way we could tie IRC auth to forum account auth
You cannot view this attachment.
Please consider the environment before printing this post.

snow

#5
Quote from: lifning on Mar 06, 2025, 06:36 AM
Quote from: snow on Mar 06, 2025, 05:18 AMA webhook could work, although I'd prefer to avoid the chat environment being Discord or Matrix. Part of me was thinking XMPP because I've had the best luck with it, but I was thinking of IRC due to it being relatively easy to build a web interface around.

hmm... wondering if there's a way we could tie IRC auth to forum account auth

The common method is generating an "IRC Key" that's used as the password for a user on the IRC server, but we could also make SMF into an OAuth2 provider! I see no way this could complicate things :eggbug_tuesday:

to be clear, I am not seriously considering the latter. being an OAuth2 provider is a nightmare, and I don't even know if there are good PHP libraries for it

viviridian

Quote from: lifning on Mar 05, 2025, 05:27 AM
Quote from: viviridian on Mar 03, 2025, 11:16 AMa long time ago I had an irc bot that was written in php and had direct db access, it would post a notification to irc whenever a new post was made. that was a pretty decent way to tie together a forum and chat channel imo. nowadays that'd probably be a webhook I guess

the bot would just post the topic name and who'd posted, but if you wanted a link to it you had to type !link. i wonder how important that aspect was, as an exercise in practicing a trivial bit of intentionality in a socially visible way
that's a really interesting observation. yeah, writing !link (or !lank) effectively signaled to everyone in the chat that you were around and going to look at the post