If anyone is using RaiderSoft's chat at the Platinum level, here is a custom authentication script for it.
If you go to your RaiderSoft control panel, click User Accounts, then Options, scroll to the bottom and select "Custom Authentication Script". In the field, enter:
You will be automatically logged in when you invoke the applet. The authentication script also takes advantage of the return value of 2, which grants moderators and admins chat room op status (they can kick and ban and such).
Cheers,
Chris
"Some dream of doing great things, while others stay awake and get on with it." -- Anonymous
Cool, I registered on your site to check it out, does having the chat software on your server slow your site down at all? Also, do you know if there is a way to only allow a certain "group" access to the chat?
I am actually working with RaiderSoft on the login problem... should be fixed soon, but it you just refresh the page a few times when you have that problem you will get in.
As for performance, the chat hosting is done by RaiderSoft's machines and is very quick.
You can allow anyone access through several methods of authentication. For our site, you MUST enter the chat room through a specific page, and that page can only be accessed by registered members of our site.
You could easily create UBB.threads groups and have the chat link available only to them.
HTH,
Chris
"Some dream of doing great things, while others stay awake and get on with it." -- Anonymous
I will let you know, looking at all the options so far but this one does look good. Is there a hack for this that will display on the forums how many people are in chat? I could have sworn I saw something like that here but can't find anything.
I use this chat on my site and it works quite well. Registered users from my Threads board are automatically logged into the chatroom, and an indicator on the message board records how many users are currently chatting. In addition, I've got a "banned from chatroom" user group so I can ban naughty people from chat without banning them completely from the message board. I don't think the "Banned from Chatroom usergroup" mod is posted here, but when Josh comes back I'm sure he'll happily write it up.
[]You could easily create UBB.threads groups and have the chat link available only to them. [/] My problem currently is that Members are giving the password out to non-members so even if I were to hide the link to chat so only Members could access it, Members could still give out the URL to no-members so I would like chat access to be by group like the forums are: You are a Member you get access if not you don't, no way around it, can this be done?
Yes, absolutely... first in the RaiderSoft control panel you want to be sure to specify the referrer URL, so that the chat app will only load if it was accessed from that location.
While you are there set the custom authentication script URL.
Then upload the custom authentication script (the attached file in this thread). In your page that loads the chat applet just specify the params above and you got it.
The way I do it is with a link to rchat.php, which verifies that the user is a valid user, and if so it gives them the rchat.tmpl file which has the applet code embedded in it.
Let me know if that helps. I can send you the files if you'd like.
"Some dream of doing great things, while others stay awake and get on with it." -- Anonymous
I use this chat on my site and it works quite well. Registered users from my Threads board are automatically logged into the chatroom, and an indicator on the message board records how many users are currently chatting. In addition, I've got a "banned from chatroom" user group so I can ban naughty people from chat without banning them completely from the message board. I don't think the "Banned from Chatroom usergroup" mod is posted here, but when Josh comes back I'm sure he'll happily write it up. [/]
I didn't see this while I was gone. Yeah, the Raidersoft is fully integrated in a threads page. When they visit, it logs them in using their forum username.
If she wants to Ban someone from chat, she simply adds them to the "chat banned" group in threads. Then on the chat page, Below the authenticate function, I used a simple step that checks if they are part of the "banned" group and intercept them if they are.
The "kiddies" on her side did just discover a bit of a loophole where they could still sign in if they opened a new window within chat. I added a step that stopped the chat page from reloading if the online table already showed them in "chat". And also disabled the "float" function of Riadersoft.
The group thing could easily be adapted to only allow certain groups into chat.... everyone else gets a page that they are not authorized to use chat.
[]The group thing could easily be adapted to only allow certain groups into chat.... everyone else gets a page that they are not authorized to use chat. [/]
Not sure which part you mean... if you want to keep people from being able to access your chat room outside of your site, then yes, you need to have a link on your site that goes to some page that will load the applet. Then in your RaiderSoft control panel you specify the URL of the page at the end of your link as the ONLY access point.
Does that answer your question?
"Some dream of doing great things, while others stay awake and get on with it." -- Anonymous
// Block if Not Logged in if (!$Username) { $html = new html; $html -> not_right('You must <a href="login.php">Login</a> or <a href="newuser.php">Register a Username</a> To use the Chatroom.',$Cat); }
Sorry... In your rchat.php file search for "<applet"
That is the beginning of the applet tag. You will see a bunch of other PARAM tags within it. Just add those three to the end of the list, before the </applet>.
That should do you up. If you can't get it from that I will look at your site and paste the right code here. Just let me know.
"Some dream of doing great things, while others stay awake and get on with it." -- Anonymous
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.