UBB.Dev
Posted By: Micky [7.0] [Beta] RaiderSoft Integrated Chat - 09/12/2006 6:48 PM
Mod Name / Version: RaiderSoft UBBThreads Integrated Chat 7.0

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 $135/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.




Working Under: UBB.Threads 7.0

Mod Status: Beta

Any pre-requisites: A Chat Room at Raidersoft

Author(s): Micky

Date: 09/12/06

Credits: Chris at Raidersoft.com for commissioning it

Files Altered - /templates/default/header.tpl,
/languages/english/online.php

New Files - chat.inc.php, chat.tpl

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.

Note this is exactly the same as version 7.0 - the files are simply updated to work with threads 7.0.

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 Groupee.com.If you need official support, you'll need to restore unmodified files.

Attached File
Great! I know there's already been several requests for this Micky, thank you thumbsup
No problem, I also need the Hack. laugh wink
Menu link only with log in

Quote

#######################################################
###
### Open /templates/default/header.tpl
###

##
## Find this:
##

{$lang.FAQ_TEXT}

##
## Change to this:
##

{$lang.FAQ_TEXT}      
{if $myspace_link}
{$lang.CHAT_TEXT}
{/if}

I believe chat.inc.php can be cut down to the following
Code
<?php
if(!defined("UBB_MAIN_PROGRAM")) exit;

function &page_chat_gpc () {
return array(
"input" => array(),
"wordlets" => array("chat"),
"user_fields" => "",
"regonly" => 1,
"admin_only" => 0,
"admin_or_mod" => 0,
);
} // end page_chat_gpc

function &page_chat_run () {
global $user,$ubbt_lang,$config,$var_start,$var_eq,$var_sep,$var_extra;

return array(
"header" => array (
"title" => "{$ubbt_lang['CHAT_ROOM']}",
"refresh" => 0,
"user" => $user,
"Board" => "",
"bypass" => 0,
"onload" => "",
"breadcrumb" => <<<BREADCRUMB
<a href="{$config['BASE_URL']}/ubbthreads.php{$var_start}ubb{$var_eq}cfrm">{$ubbt_lang['FORUM_TEXT']}</a>
»
{$ubbt_lang['CHAT_ROOM']}
BREADCRUMB
,
),
"template" => "chat",
"data" => array( "Username" => $user['USER_DISPLAY_NAME'] ),
"footer" => true,
"location" => "",
);
}
?>

With the template reading

Code
{* Script Version 7.0.0b5 *}
{* $Id: closedboard.tpl 360 2006-09-08 18:36:27Z rick $ *}

{$tbopen}
<tr>
<td class="tdheader">
{$lang.CHAT_ROOM}
</td>
</tr>
<tr>
<td class="alt-1" align="center">

<!-- 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 -->

<applet
codebase="http://client.sigmachat.com/current/"
code="Client.class" archive="scclient_en.zip"
width="600" height="350">
<param name="room" value="65136" />
<param name="cabbase" value="scclient_en.cab" />
<param name="username" value="{$Username}" />
<param name="autologin" value="yes" />
</applet>

</td>
</tr>
{$tbclose}

Just to validate and remove from non-applicable parts
Yes Ian. thumbsup Thus we come on a minimally code.
How do I put the link in the navigation bar??

I believe I have followed the instructions, yet nothing shows up anywhere so I suspect i messed up.

I mess up a lot smile

Words of wisdom??
In the templates/default/header.tpl

Code
#######################################################
###
### Open /templates/default/header.tpl
###

##
## Find this:
##

<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}faq">{$lang.FAQ_TEXT}</a>

##
## Change to this:
##

<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}faq">{$lang.FAQ_TEXT}</a>      
<a href="{$config.BASE_URL}/ubbthreads.php{$var_start}ubb{$var_eq}chat">{$lang.CHAT_TEXT}</a>

##########################################################


wink
Does anyone have a working model of this?

It should work, but I gotta be doing something wrong...
Hi Stan,
I can edit to you the files thus you must copy them only in your forum. In addition I need your chatroom number. Then I can send to you everything by eMail. wavey
Thanks the number is SC-98102 (98102)

my email is [email protected]

Which changes do I have to make on raidersoft? I have the plat. account...

Really appreciate that...
Does anyone have this working with the platinum or higher version??
You should remember the codechanges from Sigma. If you run german:

PHP Code
<applet 
codebase
="http://client1.sigmachat.com/current/"
code="Client.class" archive="scclient_de.zip"
width=600 height=350 MAYSCRIPT>
<
param name="room" value="XXXXXX">
<
param name="cabbase" value="scclient_de.cab">
</
applet>
To get the navigation menu text displayed you have to edit language/english/generic.php too.

Find:
$ubbt_lang['FAQ_TEXT'] = "FAQ";

Add under it:
$ubbt_lang['CHAT_TEXT'] = "Chat";

Do this to all language files.
Thank you again, just installed this for a client smile

Hey Stan, what issues are you having with your platinum acct?
trying again, making headway, thanks for the reminder of this...

I do have the link in my header now, but it does not take me to my site,.

wonder if this has to change

codebase="http://client.sigmachat.com/current/"


to something at addonchat.com ??

OK

had to change the code to
codebase="http://client1.addonchat.com/current/"
When I go to the chat, i am not an admin.... any one else have that problem???
If I change my screen name over the admin as named in the control panel it gives a log in error

Thoughts?
ALSO the code to show who is online is cut off from the file that comes with the download...

The code from radiersoft to show who is online doesn't work after you have this intergrated..
That whole applet code section has to change:

Code

<applet code="Client.class"
codebase="http://client1.addonchat.com/current/"
archive="scclient_en.zip" width="600" height="400"
alt="Java Chat Software - AddonChat" MAYSCRIPT>
<param name="room" value="your#">
<a href="http://www.addonchat.com/">Java Chat Software</a>
</applet>
Is there anyone interested in installing this mod for me? I can pay $150...

am using Threads 7.1 with AddonChat Professional Plus.
I got it working now... Just needed the remote auth script.
lol next time you're throwing around $150, feel free to pm me haha
For those who may be confused, raidersoft is now addonchat:

http://www.addonchat.com/

The code for the applet should be updated per my instructions at the bottom of page 1 of this topic.
Yo, Gizzy ... is this the chat you had installed at my site?

Let me know!

~Sue
adwoff.com
No, you're using the pJIRC Clickly Clicky

pJIRC is FREE, whereas this is not.
For those interested, AddonInteractive is currently offering 12% off for AddonChat purchases to ubbdev.com members. For more information, and to sign-up, please visit http://www.addonchat.com/

To take advantage of the offer, enter the coupon code UBBDEV when checking out.

If you have any questions about our services, or would like a free two week trial upgrade (for best integration with UBB, we recommend the Professional PLUS edition) feel free to eMail us at support@addonchat.com
I'm glad to hear about the discounts Chris, I'm sure some will definitely take advantage of them; glad to have you guys working on things over there to integrate in with us smile.
Posted By: Nardus Re: [7.0] [Beta] RaiderSoft Integrated Chat - 04/03/2007 5:55 PM
I have uploaded the files but I cannot get things to work.

It seems like the applet hangs - I cannot login at all.

Is the mod working with Ubb Threads 7.1?



It should be, there weren't any changes in 7.1 that would affect this mod. Double-check your coding please smile
Posted By: Nardus Re: [7.0] [Beta] RaiderSoft Integrated Chat - 04/04/2007 8:00 AM
I solved the one with the applet not loading - it was a Windows Vista problem. Solution found at AddonChats support site.

But I cannot get the remote authentication to work. What should I set as the Authentication URL?

Kristian
Posted By: Nardus Re: [7.0] [Beta] RaiderSoft Integrated Chat - 04/04/2007 2:43 PM
Hmm, my problem is solved. I had not set CHMOD 0666 on chat.tpl. After I did that I got it to work.
Posted By: Micky Re: [7.1] [Beta] RaiderSoft Integrated Chat - 04/06/2007 11:55 AM
Hello,
RaiderSoft Integrated chat runs under UBBT version 7.1 without problem. smile
Posted By: Gizmo Re: [7.1] [Beta] RaiderSoft Integrated Chat - 04/06/2007 12:55 PM
Glad to hear it wink.. I've been messing with it for a while now, it's pretty interesting
Posted By: Nardus Re: [7.1] [Beta] RaiderSoft Integrated Chat - 04/10/2007 10:02 AM
Now I can use the chat but moderators and administrators don't log in with the moderaters possibility to kick, ban etc.

Any idea of how to log in admins and moderators to act as moderators with this mod?

Sorry for my bad english frown
Posted By: Gizmo Re: [7.1] [Beta] RaiderSoft Integrated Chat - 04/10/2007 1:20 PM
Simply put, you don't... It literaly only reads your login name and password; little information is given for anything involving the integration file, and the staff over at their support forums aren't much help either...
Posted By: Nardus Re: [7.1] [Beta] RaiderSoft Integrated Chat - 04/10/2007 2:50 PM
But it worked under UBB Threads 6.5. I really need this function but I'm not that good at programming frown
Posted By: Gizmo Re: [7.1] [Beta] RaiderSoft Integrated Chat - 04/11/2007 3:03 AM
You'll need to contact their developer for assistance with their integration; I myself have dived into the file and don't see that it's used at all, though there is like 0 documentation on their integration file...
© UBB.Developers