JASKN Posted May 2, 2017 Report Share Posted May 2, 2017 The developers of our forum platform have discontinued their chat service. It has never been especially popular at OO.com, but I know there are a few power users. Those who would like to see a chat remain on this forum, feel free to research an option that is possible to (easily) integrate into IPS forum software, post below, and I'll try to make it happen. Quote Link to comment Share on other sites More sharing options...
epistemologue Posted May 3, 2017 Report Share Posted May 3, 2017 I'll look into this over the next few days. Eiuol 1 Quote Link to comment Share on other sites More sharing options...
epistemologue Posted May 4, 2017 Report Share Posted May 4, 2017 (edited) https://rocket.chat/ Someone wrote: "It's possible [to integrate Rocket.Chat with IPS4] with Oauth plugin from Marketplace. A friend of mine already did it and it looks stunning." Another person: "I have it integrated in my site. Pretty easy with this free plugin"https://invisionpower.com/forums/topic/429968-oauth-server/#comment-2638024 Here's how to configure the OAuth Server application to integrate IPS4 with Rocket.Chat. Rocket.Chat Install and setup Rocket.Chat. A walkthrough is beyond the scope of this guide. Create an initial administrator user and password, then login as that administrator. Administration > OAuth > Add Custom OAuth button (at the very bottom). Enter a unique identifier for this integration (ex: ips4) Find the Custom OAuth: <IPS4> section and expand it. Make a note of the Callback URL, e.g. https://your.rocketchat.com/_oauth/ips4 IPS4 Site ACP > Community > OAuth Server > Applications > Add Application. Enter a unique name for the integration (e.g. Rocket.Chat) and the Callback URL you obtained from Rocket.Chat above. Click Save. Select the user groups you wish to be able to authenticate against IPS4 for this integration. Do not select Guest! Click Save. Click on the Edit pencil again and take note of the Client ID, Client Secret, and 3 integration URLs. Rocket.Chat Change the following settings: Enabled: True URL: Top-level URL for your IPS4 site, such as https://your.ips4.com/. If your site is not installed at the root of the webserver, include any subdirectory here, such as https://mysite.com/ips4. Token Path: applications/oauth2server/interface/token.php Identity Path: applications/oauth2server/interface/me.php Authorization Path: applications/oauth2server/interface/authorize.php Token sent via: Payload or Header both work, it doesn't matter. ID: your Client ID from IPS4 here Secret: your Client Secret from IPS4 here Login Style: I recommend Popup Button settings as you wish. You may have to restart the Rocket.Chat server at this point. I had to, but I cannot guarantee that is is mandatory. Logout as Administrator and use the new button to log in as an IPS4 user. Log back in as the Administrator user and give admin access to your IPS4 user (#general chat > people icon on the right > click on user > MAKE ADMIN). (Optional) Disable username/password login for Rocket.Chat: Administration > Accounts > Show Form-based Login set to False. WARNING: Do not do this until you have made at least one IPS4 user an administrator or you will lose admin access to your Rocket.Chat server! Edited May 4, 2017 by epistemologue Quote Link to comment Share on other sites More sharing options...
JASKN Posted May 5, 2017 Author Report Share Posted May 5, 2017 (edited) Those instructions are good for integrating the chat with IPS. But, Rocket Chat first requires a host, which the chat company will provide and configure for $50/month. Otherwise, we would need to set that up ourselves, and besides needing to figure out how to do so, it would require double the resources currently purchased monthly to host the main forum through Digital Ocean. It's probably going to be hard to beat the $10/mo IPS was charging for their chat client. Edited May 5, 2017 by JASKN Quote Link to comment Share on other sites More sharing options...
epistemologue Posted May 5, 2017 Report Share Posted May 5, 2017 9 minutes ago, JASKN said: Those instructions are good for integrating the chat with IPS. But, Rocket Chat first requires a host, which the chat company will provide and configure for $50/month. Otherwise, we would need to set that up ourselves, and besides needing to figure out how to do so, it would require double the resources currently purchased monthly to host the main forum through Digital Ocean. It's probably going to be hard to beat the $10/mo IPS was charging for their chat client. ah I see. I'll look for another option. Eiuol 1 Quote Link to comment Share on other sites More sharing options...
softwareNerd Posted May 5, 2017 Report Share Posted May 5, 2017 What was the Chat we used before using IPS, was it PhpFreeChat? Placing a free chat of some type on the forum should be easy. The tricky part was integrating it with the user's forum-login, but most will have some way to do that. Quote Link to comment Share on other sites More sharing options...
bluecherry Posted May 8, 2017 Report Share Posted May 8, 2017 "It has never been especially popular at OO.com" Hey now, that's not true. D: It was really popular early on in my time here. There were times so many of us were in there at once that we crashed the program. I hope the chat gets restored somehow. I haven't used it much lately mostly because there just wasn't much of anybody else around. JASKN and epistemologue 2 Quote Link to comment Share on other sites More sharing options...
JASKN Posted May 8, 2017 Author Report Share Posted May 8, 2017 PHPFreeChat is probably still an option (googling actually brings up David V.'s 10-year-old implementation), but the exact setup was lost (read: I didn't save it) when we switched to the IPS Chat, which I figured was permanent. :| I'll give it a look as soon as I get a chance. Quote Link to comment Share on other sites More sharing options...
dream_weaver Posted May 9, 2017 Report Share Posted May 9, 2017 PHPFreeChat has two versions at this time. Version 2.1.0 has a feature list, indicated a number of features that have not been implemented yet. Version 1.7 states to be a well tested, full feature chat. The coming soon list for V2 includes features I'm guessing are probably part of the full featured V1 setup. be able to rename the username (/nick command) be able to create private messages multi-channel management long polling refresh system (to improve reactvity) user's avatars management user's role/rights management (admin, users) user's presence management (away, online) messages with smiley messages with url detection (open in a new window) messages with color, bold, or underline news message notification log message system Eiuol, epistemologue, I recognize some of these from when I used to roam IRC-land. Does the "tried and true" trump "beta-testing" in this regard? Quote Link to comment Share on other sites More sharing options...
epistemologue Posted July 16, 2017 Report Share Posted July 16, 2017 @JASKN have you had any chance to look at PHPFreeChat? or anything I can do to help? I'd love to get a chat back up here on OO again. maybe we could even do a regularly scheduled chat meetup on Sunday nights or something like that. Quote Link to comment Share on other sites More sharing options...
JASKN Posted July 17, 2017 Author Report Share Posted July 17, 2017 Unfortunately, after a lot of finagling it looks like the old framework that ran PHPFreeChat on the forum doesn't translate directly to the updated forum software, and it's not working now. RocketChat and Chatwee both require money, not to mention time. So, if you can find an option that fixes both of those problems, we can take a look at integration! Quote Link to comment Share on other sites More sharing options...
softwareNerd Posted July 17, 2017 Report Share Posted July 17, 2017 (edited) The key issue is the integration of login IDs, and then a "single login" that gets you into Chat once you're logged into the forum. If we relax that requirement, there may be some easy options. For instance, ... 1. A completely stand-alone chat that had a link from the forum. A place to chat...but only related in a nebulous way 2. A completely stand-alone chat, but with user-ids granted manually for any forum member requesting it...and everyone else shows up as "Guest". These types of options could probably be hosted somewhere in the cloud, not on the forum. TL;DR: We could try a non-integrated chat Edited July 17, 2017 by softwareNerd JASKN 1 Quote Link to comment Share on other sites More sharing options...
JASKN Posted July 18, 2017 Author Report Share Posted July 18, 2017 (edited) 5 hours ago, softwareNerd said: The key issue is the integration of login IDs, and then a "single login" that gets you into Chat once you're logged into the forum. If we relax that requirement, there may be some easy options. tlk.io was initially a 5 minute integration using the Portal software add-on, currently visible on the righthand side of the main OO.com Forums page. If we relied on Facebook authentication, it would end there. And for now, I've set it to require Facebook or Twitter logins, though it has the public/anonymous option. But, this language: If you already have a login for your users, you can use their names for this chat too. In the embed code, add a data-nickname attribute with the user's name. Like data-nickname="somename". ...seems to suggest forum usernames can be pulled. 30 minutes after that 5 minute setup, I still can't figure out how, maybe I'll try again later. I'm not sure if the embed code they use can do it easily, or if a more involved workaround is required: <div id="tlkio" data-channel="objectivismonlinechat" data-theme="theme--minimal" style="width:100%;height:800px;"></div><script async src="http://tlk.io/embed.js" type="text/javascript"></script> I'm pretty sure php-something-or-another needs to be used... Edited July 18, 2017 by JASKN Quote Link to comment Share on other sites More sharing options...
softwareNerd Posted July 18, 2017 Report Share Posted July 18, 2017 1 hour ago, JASKN said: I'm pretty sure php-something-or-another needs to be used... I think they'r referring to the attributes in the "div"... like "data-channel" and "data-theme" in the snippet above. They're suggesting adding another attribute named data-nickname="USERNAME". The tricky part is: the "right hand side" (i.e. USERNAME)...where to get that from. When a person is logged in, it is showing up in the header, so there must be some variable that can be used. If you like, switch me to Admin and I'll take a look at it. Quote Link to comment Share on other sites More sharing options...
JASKN Posted July 19, 2017 Author Report Share Posted July 19, 2017 Thanks to SoftwareNerd for figuring out how to get our usernames to show up in the chat automatically! The chat can be found on the main Forums page to the right, and on the Portal page. It's easy to move it around, so if it's annoying or could be in a better spot, just let us know. Quote Link to comment Share on other sites More sharing options...
dream_weaver Posted July 19, 2017 Report Share Posted July 19, 2017 It shows up on both the Portal and the Forum pages. to both you gentlemen. JASKN 1 Quote Link to comment Share on other sites More sharing options...
epistemologue Posted July 20, 2017 Report Share Posted July 20, 2017 Can a button be added to the top banner like it used to be? https://tlk.io/objectivismonlinechat Quote Link to comment Share on other sites More sharing options...
JASKN Posted July 21, 2017 Author Report Share Posted July 21, 2017 18 hours ago, epistemologue said: Can a button be added to the top banner like it used to be? The closest we can get with our version of the forum software is to have the chat show up in something else that already has its own page, such as the Portal area. Quote Link to comment Share on other sites More sharing options...
dream_weaver Posted August 10, 2017 Report Share Posted August 10, 2017 Here's the link to the chat page that can be opened in a separate browser window: https://tlk.io/objectivismonlinechat Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.