you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (3 children)

Nice, that looks like it will work but then we have to host KiwiIRC ourselves to make those changes. No big deal, but we have to set it up and update it ourselves.

If we're going to do all that, what about using this IRC client instead? It's more modern and simple looking imo: http://shout-irc.com

(there's one or two other projects who seem to use this same code, like lounge irc).

[–]magnora7 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (2 children)

If you feel like it'd be simpler to use shout-irc, then by all means use that. It looks good to me too. It just looks like you've got it so close with the kiwi IRC, you've even got the login name and chat room correctly filled in, it just needs to click the button...

On another note, I had one other idea I wanted to run by you about where to position the chat. Instead of a sticky as the first post of the sub, what if the chat was located at the top of the sidebar on the right? The same position where the "notes" box is located when admin mode is turned on, just immediately below the search bar.

It'd be neat if there was a persistent chat there, but the problem would be to keep it logged in as a person navigates around the sub. It would always be visible in every page which would be awesome! But the downside would be that it would constantly be logging people in and out of IRC as they change from page to page, which would create tons of annoying login/logout notifications.

If there was a way to prevent that through IRC settings (keeping someone's session alive for 5 seconds while they change pages) or alternately by keeping a separate HTML frame that doesn't change when the page changes...then it'd be awesome to put in the top of the sidebar. But if we can't patch that constant log in/out problem easily, then I'd say we just leave it as a sticky at the top of each sub, and people can open it in a separate tab if they want it around as they browse.

Anyway, that's my 2 cents. But please use whatever client you like the most, I'm not attached to the kiwi one, other than the fact you seem so close to having it completed! I found this page that says you can create a plugin for the kiwi client to do it, it might be worth looking at: https://kiwiirc.com/docs/scripting/client_plugins

This looks really promising. I think integrating IRC is going to be one if the breakthrough features that makes this website a novel branch-off of the reddit source.

[–][deleted] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (1 child)

so the whole chat interface would load in the sidebar? Is it wide enough there to be usable? i will get a test together. I figured out shout irc autologin.

[–]magnora7 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

Yeah it would be very narrow. Perhaps we get rid of the listing of users in the channel, on the right side of the chat. Perhaps we could also get rid of "user joined" and "user left" notifications. So it's just like a super streamlined group chat, and people would only show up if they said stuff. That'd be ideal, anyway. Super minimalist, such that you almost can't even tell it's IRC.

Nice job figuring out shout! I look forward to seeing it in action. When you get it working, let me know the process by which you activate a chat window on a subreddit.