Mod Name / Version: RaiderSoft UBBThreads Integrated Secure Chat 1.5
Description: This integrates RaiderSoft's Java Based Chatroom into your site and updates the who's online information. This works with all versions of the RaiderSoft Chat Room (including the Free Version) but to get all the features to work (Database Authentication and the ability to view profiles) you'll need the Platinum Level Account (currently $100/year from RaiderSoft.com). This will also update the Who's Online Screen with "In the Chat Room" if the user is in the chatroom.
Featues:
Integrates with the look/stylesheet of your UBB.Threads
Can automatically log the user into chat, using their Threads Username
Option to limit chat to logged in/registered users
Option to temporarily close the chatroom
Updates the Threads Who's Online page with "In The Chat Room" when users are using Chat.
Optional Instructions included to display the number of users in the chat room at the top of every page of your forum
Can Authenticate chat username/password against your UBB.Threads Forum User Database. This eliminates the possibility of users being able to login as or impersonate other users in the chat room. This is the most secure authentication method. (Requires Platinum Level Service)
Allws you to right click a user from the list in the chat room and view their profile. (Requires Platinum Level Service)
Demo: Here at ThreadsDev.com - click "Chat Room" in our menu bar. Thanks to Chris at Raidersoft for our License
New Files: chat.php, chatheader.php, chatroom.php, chatauth.php, chatprofile.php, chat.tmpl
Database Altered: No
Info/Instructions: Visit RaiderSoft to signup for an account. Start with a free account, which will enable you to set this up and test. You can upgrade your account at any time by logging in at the RaiderSoft site. While there is a "professional" level service, to make use of the Database authentication and the ability to view profiles in chat, be sure to upgrade to the "Platinum" level service. If you already have a RaiderSoft "Professional" level account, you can login at RaiderSoft and upgrade the account to the "Platinum" level Service.
Additional help/instructions and troubleshooting documentation is included in the Instruction file in the attached ZIP file.
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.
Chris at RaiderSoft gave me a call in reference to some questions I had. We talked a bit and I had directed him to the hack you were working on as he was not aware of this. Figured it would be a good thing for the two of you to put your heads together and sort through this for the better of our community. He did mention that he would work on the licensing for ThreadsDev as well.
Glad it's all worked out and now...it's time for me to get this booger working.
Thanks to Chuck for helping out on this hack. However, I'm not getting authentication to work.
JOsh, I'm going through your instructions and I see this:
## In chat.tmpl template file ##
- Set the option if you are using AAS (Alternative Authtication System) Requires a Platinum Raidersoft Account - details at www.raidersoft.com If you are not using this option - or do not have a Platinum Raidersoft account make sure you set this to 0.
- Edit your Raidersoft Chat Room ID Number (If you are not sure, Login to your account at Raidersoft.com and click "Link Instructions", you'll see your room ID number there - it's usually a 5 digit number). ---------------------------------------
I'm using the Platinum verion of SigmaChat now but even if I choose not to use the authentication directly from RaiderSoft...I don't see where a person would set their option to 0 in their chat.tmpl file.
Thanks Josh for the response. The program is still not automatically logging our members in. Here's what I have in my ubbthreads/templates/chat.tmpl file:
================================= // ## VARIABLES ## // Are you using the RaiderSoft Alternative Authentication System (AAS)? // Put 0 for NO and 1 for YES $aas = 1;
// What is your Raidersoft Chatroom Number? // Click "Link Instructions at Raidersoft.com if you're not sure $roomnumber = 45816;
// END OF VARIABLES - Do Not Edit Below this Line
// if we are using AAS - pass the Password Parameter if ($aas) { $aasoutput = "<param name="password" value="$Password">"; }
<!-- NOTE: You will need to alter the "room" number --> <!-- Put the number of your chatroom where you see XXXXX below --> <!-- Signup for Free or Paid Chatroom at www.raidersoft.com -->
I'd double check the chatheader.php and chatroom.php files. I can't think of any reason why they would be blank... but those are the 2 that aren't loading.
I dunno either, but it's odd, I looked at those files in notepad and they're one big run on line, not formatted at all. Looking at them in another editor and they're fine.
I've probably got this mod running on ~40 or so sites right now. Make sure you are uploading your files in ASCII mode - there should be line feeds in there. I think that's the biggest clue of what's wrong - when you looked and didn't see line feeds.
PM me with FTP details etc.... and I can see what happens if I drop the script on your server.
I seem to have it working fine now. I basically loaded the files up in dreamweaver and then re-saved them and had dreamweaver do the upload to the server. Looks like cuteftp may be having a problem with ascii transfers... Either way, Nice Job on the mod.
What the chat page has to do - is load the header of the page in an IFRAME which contains the "send header" function. This part of the page refreshes every 9 minutes (or else the user drops off the Who's Online list after 10 minutes of not reloading any pages).
Then the middle of the page is another IFrame containing the chatmodule and the footer of the page.
So for this to work right, you need to turn off the sidebar on the chat page.
If you're using the IIP sidebar mod posted here - you can disable the sidebar on specific pages by placing:
$config['iip_call'] = 1;
above the send_header function on the page you don't want the sidebar.
It uses a regular page - so the sidebar will work fine. But instead of being able to refresh the header, it uses a little popup window which pops under the chat page, and refreshes every 9 minutes to update the who's online page.
But it's an old mod and was written for Jpilot.... but you could probably easily inert the Raidersoft chat code in instead.
Bumping this thread to ask if anyone is having problems with the RaiderSoft integration since RaiderSoft's recent upgrade. Some of my users are reporting difficulty getting out of the integrated chat page -- none of the header links ("main index," etc. -- the UBB links) are working for them, and the Java chat page constantly refreshes. I'm not having the problem myself so it's a little hard to describe.
Also, none of my Mac users can access chat anymore, but I think that is an issue of RaiderSoft's new Java implementations, whereas the other one seemed like it might have something to do with the actual integration with UBBthreads.
Hmm..... I have this on a few sites...... haven't had or heard any problems. I use a Mac as well.
I'd make sure the HTML in your header is prefect/validates (for exmaple no open tags by mistake etc....) as that can sometimes cause havoc with this type of stuff.
Installed this last week on my site and worked like a breeze!! Thanks Josh.
The only problem (with the free version) is that mischief makers can easily logout and login again using any other name. This is being misused by some impersonating as other members. I wish that the ONLY way to get into chatroom was through UBBT and no option for Login was there in the chat room. Anyway to do this?
No - not with the free version. The fully integrated one (paid version) you can authenticate against the Threads Database and even restrict it so it can ONLY be loaded from your domain name. But they don't give you the access to those controls for the free version.
I understood that, but as a policy we try to buy softwares as much as possible on a lifetime licence. Unfortunately Raidersoft doesnt seem to have any scheme like that. I will post on their support forum regarding this.
As a last issue Josh -- is it possible to have a "Invite User to Chat" somehow? Possibly through a popup box, which can be a) Accepted b) Declined c) Ignore for each session?
The links on the chat window don't break you out of the chat room. I had to use open other window commands to get the windows to open. That is on this 6.4 b2 site
I couldnt get my chat room to connect. It kept saying the chat room was closed.... I talked to the admins there, and we figured it out finally that all chat rooms with a room number of OVER 50000 are on client1.sigmachat.com!! So if you are having problems, just add the "1" in the url and you will be good to go.
Thank you very much for posting that tip, Deejay. I had the same problem, and came here to see if anyone else did. And sure enough, a solution was here -- posted not even two hours ago. Now everything works.
is it possible to have this set to a different timer than whos online? my chatroom says I have way to many folks most of the time with the whos online having a 90 minute setting.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.