Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#218859 06/14/2002 6:22 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Has anyone found a chatroom software package... either remotely hosted... or running on their server that integrates nicely with Threads.. meaning shares the username password database?

We use a remotely hosted chatroom now, but I have to enter in peoples reserved usernames and passwords by hand.

We'd love something that could share the same username / password database.

Sponsored Links
Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
Unfortunately, as far as I know, the only way you will be able to keep your username/password data the same is to host the chat server and/or java client yourself and build some sort of bridge into the chat system to send .threads data to it with.

There are a number of chat related software sites out there though. You may want to search for "chat" on google.com and see what returns. There may be a solution already available.

Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Some of my users really want's a web based chat as well and even though I'd rather use IRC myself I'm thinking of caving in.

I've looked around for a good chat software but haven't really find anyone to my liking yet and certainly not one that integrates with threads. I will probably be looking a bit more in the near future and if I find something I'll let you all know. But it'll quite probably be a few weeks since I first have to upgrade both software and hardware on my server before and I'm hopefully go to the Roskilde Festival in Denmark in a week.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
On my board I was able to integrate pretty well (except for the username issue), thanks to Wrath's basic page template. I've even got it so that "who's online" shows "in the chatroom". We're using a remotely hosted thing called chat-forum.com. It's like $30 per month.
The user doesn't need to enter a password... they can just make up their chat name. But some have requested a reserved username and password (which I have to put in by hand), so that nobody can "be them" in the chatroom.

But I'd love to be able to give users "instant messaging" integrated into the site..so they could "live chat" while browsing the site...and not have to have yet another username/password to deal with.

Plus our current software is not compatible with Web TV, which we get alot of complaints about.

Users have also requested the ability to web cam on our site. But I don't know where to start there...or if I even want to open that can of worms.

Dave, thanks for the suggestions. It's a tough thing to search for, because there is so much with the word "chat". I had wondered if since your URL is "chattersonline" if you had done any extensive work with this. You'd think that somewhere in the threads community, someone has.
Maybe I need to hire someone and be the first. LOL


Daine #218863 06/14/2002 10:44 PM
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Well, here is a list of 12 chat scripts written in PHP for hosting yourself. And at HotScripts.com they seem to have a list of 56 chat scripts. These are the two places I would start looking for scripts, but I haven't checked them out yet.
I couldn't pay $30 per month for something for my site so I would have to host myself.

Getting the chat integrated into threads shouldn't be that hard, depending on how the chat script is written. I've integrated threads with my own poll system as well as partly with my own CMS and it has been quite easy.

Sponsored Links
c0bra #218864 06/14/2002 11:05 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Thank you.

I'll check them out!!!

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
In UBB.C there is a hack by LK that uses a very good chatroom. It is very simple, but intergrates nicely with UBB, with smilies, sounds, and the category pages display how mnay people are in the chatroom.

I am sure that it could be easily ported. It uses jIRC.

See this thread for details.

Ian



Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Gorlum #218866 06/19/2002 12:23 PM
Joined: Aug 1999
Posts: 184
Member
Member
Offline
Joined: Aug 1999
Posts: 184
www.jpilot.com the absolute best for chat pages and connectivity to IRC.


Silly ricer.. Wings are for airplanes!
Franky #218867 06/20/2002 12:03 PM
Joined: Jan 2001
Posts: 374
Enthusiast
Enthusiast
Offline
Joined: Jan 2001
Posts: 374
Agreed.

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Okay - so all we need now is to port it into threads


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
Joined: Apr 2002
Posts: 141
Member
Member
Offline
Joined: Apr 2002
Posts: 141
If you port one, let's keep it pure and use a PHP chat module: http://www.phpheaven.net/chat/

It should be fairly easy for the PHP guru's around here to intergrate this so that it uses user records from UBBT for loggind into the chat and administer it.

Regards,

Ron.


Those who fail to read ask many questions:-)
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
I have searched through the net to find the best chat software. By the word best I mean:
  • Browser independent
  • Plethora of features (images, themes, customization)
  • Transparent to users
  • Light on the server

All the chats mentioned above work either with a refresh of the chat page or they require components to be installed in the end users' computers.

I have found though a product from Digi-Net (www.digi-net.com) called Digi-Chat which gives you all the above features. Make no mistake though it is expensive. The minimum that you are looking to pay is around 700 GBP for the Pro version (max 100 users).

I managed to integrate the two using knowledge obtained from this forum and especially from the Mark All Read hack (tought me how to include a java script on a link) and suggestions by JustDave, Gardener and JoshPet. Credits to you guys and thanks.

This is what happens:
A new link appears for the registered users. (Chat). When the user clicks on it a new window appears with specific coordinates, no links, no address bar, not resizable. That window opens the chat.php that I have created and using the main.inc.php queries the database for specific fields (all in the users table) and passes them in the java applet. I even modified the table by adding a new field which holds the chat icon for every user. The only thing remaining now is to add a relevant section in the user preferences...

If anyone wants the code I will be more than happy to attach it, but bare in mind that it is specific to the DigiChat product.

Also if my post is considered to by advertisement please feel free to delete the offensive sections.

Warm regards

Nikos


Nikos
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
THat is some very nice software, although expensive. But I think at least having the code available would be great, because you never know when someone may just happen to own this software or upgrade to it

Although I could really use an integrated chat solution, this is a bit pricey, but maybe sometime down the line

Joined: Jun 2001
Posts: 3,273
That 70's Guy
That 70's Guy
Offline
Joined: Jun 2001
Posts: 3,273
I am sure that this would be of use to others so please do make it avaialable and thanks for all your work on it.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Cool.

I'd love to see it?

Do you have a link to where I can see it "in action"?

Daine #218874 09/11/2002 10:30 AM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Unfortunately my forum is "by invitation only" but I can certainly set up my dev forum to give you an idea of what I mean.

As soon as I go home (in 3-4 hours) I will post the files and set up a couple of test accounts for all of you to see.

Warm regards

Nikos


Nikos
Daine #218875 09/11/2002 10:31 AM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
BTW I don't want to sound like a prat (pardon the French) but my forum is only for a small community of Ferrari fans, so ....

Warm regards

Nikos


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I understand.
Sometimes people here set up a test username and let people have a look.

I just like to see how integrated it is.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
yes, please post the files, I know of someone right now who would love this


- Allen wavey
- What Drives You?
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Hi All

Here are some instructions and the files attached in a zip file.

First of all you need to add a new field in the w3t_users table. I called it ChatIcon VARCHAR(10) NULL DEFAULT 1000. (1000 is the default icon for DigiChat)

Then I made a small change to the ubbt_registerednav.tmpl. Right below the line:
code:
($template['members_link'])


I added the following code:
code:

|
<!-- 20020826 Chat Link New Start -->
<script langauge="javascript" type="text/javascript">function OpenChat()
{window.open('$phpurl/chat.php','','left=10,right=10,width=400,height=200');}
</script><a href="javascript: OpenChat()">Chat</a>
<!-- 20020826 Chat Link Read New End -->


(NOTE: The script is in one line, I put some carriage returns for aesthetic purposes)

Third and most important I created the chat.php file. This is the file that instantiates the java class and logs in the user. The programming is very simple:
code:

<?

// Require the library
require ("main.inc.php");

// -----------------
// Get the user info
$userob = new user;
$user = $userob -> authenticate("U_Email, U_Homepage, U_ChatIcon, U_Name");

$Username = $user['U_Username'];
$RealEmail = $user['U_Email'];
$Name = $user['U_Name'];
$Homepage = $user['U_Homepage'];
$ChatIcon = $user['U_ChatIcon']; // A new field that I added for my chat application

echo <<<UBBTPRINT

<TITLE>
FFFF Chat
</TITLE>
<FONT FACE="Verdana" SIZE="1" COLOR="navy">
If you are disconnected by accident, click on the Connect button to reconnect.<BR>
You can resize the chat window. Also you can talk in private to as many people as
you wish by double clicking on their username
</FONT>
<CENTER>
<APPLET NAME="DigiChat"
CODEBASE="http://ffff.niden.net/DigiChat/DigiClasses/"
CODE="com.diginet.digichat.client.DigiChatApplet.class"
WIDTH="200"
HEIGHT="100"
ALIGN="MIDDLE"
ARCHIVE="client.jar">
<PARAM NAME="siteID" VALUE="1000">
<PARAM NAME="roomID" VALUE="1001">
<PARAM NAME="cabbase" VALUE="Client.cab">

<PARAM NAME="nickname" VALUE="$Username">
<PARAM NAME="realname" VALUE="$Name">
<PARAM NAME="email" VALUE="$Homepage">
<PARAM NAME="realemail" VALUE="$RealEmail">
<PARAM NAME="iconID" VALUE="$ChatIcon">
<PARAM NAME="autopop" VALUE="true">
<PARAM NAME="RoomsTab" VALUE="false">

<PARAM NAME="background" VALUE="FFFFFF">
<PARAM NAME="textcolor" VALUE="000000">
DigiChat requires a Java Compatible web browser to run.
</APPLET>
</CENTER>
UBBTPRINT;
?>



The first line gives access to the database. Following that I retrieve the contents of the U_Username, U_Email, U_Name, U_Homepage and U_ChatIcon from the database. These are purely for constructing the profile for the user while in the chat room.

The rest are parameters that DigiChat accepts. There is a plethora of options for the users to use such as moderated rooms, locked rooms etc. One can extend the model with the help of the user groups to allow access to specific rooms.

For those who would like to give it a try, below is a link on a test board. User: test1, Password: test1 and User: test2, Password test2
Test Forum

My next endeavour is to write a bot that will log into the chat invisible and check who is online. Following that it will update the w3t_online table on who is in the chat from the logged in users and the Who's Online screen and hack will display that so that users know if someone is all alone and crying in the chat - That however will require java knowledge which I don't have. Never mind, some experimentation wouldn't hurt

I hope this helps

Warm regards

Nikos
Attachments
56428-ChatFiles.zip (0 Bytes, 18 downloads)


Nikos
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Wow!

Very cool!
Nice integration.

Joined: Mar 2002
Posts: 147
Member
Member
Offline
Joined: Mar 2002
Posts: 147
Anyone have $750 I can borrow?

Last edited by casper; 09/11/2002 2:37 PM.
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I'll share what I did..... if anyone wants to see.

The integration of the Chatroom into a threads page uses the "basic page" template here. My chat company recently added the ability to pass the username variable through to the chat client... so everyone's chat username is the same as their forum username. Only the Admins need to fool with a password for chat.

I'm using Chat-Forum.com which is $100 setup and $30/mo.

To see it: visit: http://www.measurection.com
Login with
username: testchatuser
password: test

Then click "Chatroom" at the top.
Then click connect.

It allows you multiple rooms, and private chat.

The mods and admins can do quizzes and force URLs to pop up on everyone's screen.


Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Unfortunately casper it is 750 GBP and not USD. It goes to 1000 USD if you convert it. I was lucky enough to buy the 3.5 version at a discount because the 4.0 version was being released, hence it cost me only 550 GBP (circa 750$).

However they have hosting options where you pay a "lease" and the chat is hosted in one of their servers...

Warm regards

Nikos


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Well I am using Jpilot which I own and it works great. I would love to get the username passed on instead of having to type it. I am not lucky enough to know how to do that even looking at the code. The Jpilot software is the exact software LK used for the UBB integrated chat program he created.

Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Very nice chat program (I still can't see $599...) and the integration is great. Too bad I'm broke and my site doesn't make much money, lol.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thank you Nikos

Here's a xhtml'd version of the chat.php for those who want it
Attachments
56448-chat.txt (0 Bytes, 61 downloads)


- Allen wavey
- What Drives You?
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Nice to be of assistance boys and girls, with all my novice and crappy programming

One last remark is that there is also a secure chat mode, whereas users will download an applet. This will allow them to have file transfers between them, but that needs a different syntax on the applet.

Warm regards

Nikos


Nikos
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
OKay simple question. I tried the chat.php file above and entered my Jpilot chat stuff and it runs fine and passes the username which is cool. However it does not pull the header and footer. I was hoping it did but I tried this chat.php in my chat directory and right in the ubbthreads directory and both did not pull headers or footers.

Now on the other hand I have my chat program set up using Josh's basic page design and it works great but does not pass the username. I take it this is because of the ?> <? begin and end PHP brackets.

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I was able to add the username variable to my chat room using the basic page.

This thread is where I posted and received help on how to do so.


Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Thanks I am almost there. I now get it to integrate the username but there is no footer. LOL I tried manually adding it but no luck.

Here is basically a combo of Josh's Basic page and some other hints along the way. This one is for Jpilot but no luck with the footer yet.

<?

// Require the library
require ("main.inc.php");
$userob = new user;
$user = $userob -> authenticate();
$Username = $user['U_Username'];
$Password = $user['U_Password'];

// ---------------------
// Send the page to them
$html = new html;
$html -> send_header("The Chat Room",$Cat,0,$user);
$html -> table_header("The Chat Room");
$phpurl = $config[phpurl];
$html -> open_table();
echo "
<br>
<center>
<applet name="jchat" archive="jirc_nss.zip" code="Chat.class" width="600" height="350" vspace="0">
<param name="CABBASE" value="jirc_mss.cab">
<param name="ServerPort" value="6667">
<param name="ListTextColor" value="blue">
<param name="ServerCmdColor" value="127,127,127">
<param name="BorderVsp" value="5">
<param name="NoConfig" value="false">
<param name="AcceptCommands" value="true">
<param name="TotalChannelsAllow" value="1">
<param name="TextColor" value="black">
<param name="AllowIdentd" value="true">
<param name="AllowPrivateChatWindow" value="true">
<param name="DirectStart" value="true">
<param name="nickname" value="$Username"/>
<param name="LogoBgColor" value="white">
<param name="BorderHsp" value="5">
<param name="IgnoreServerMsg" value="false">
<param name="BackgroundColor" value="99,132,181">
<param name="ListScreenColor" value="234,233,209">
<param name="NickNameColor" value="-1">
<param name="ServerName1" value="washington.dc.us.undernet.org">
<param name="ServerName2" value="irc.dal.net">
<param name="ServerName3" value="liberty.nj.us.dal.net">
<param name="ServerName4" value="typhoon.va.us.dal.net">
<param name="ServerName5" value="irc.dal.net">
<param name="ActionColor" value="red">
<param name="IgnoreChannelChangeMsg" value="false">
<param name="isLimitedChannel" value="true">
<param name="isLimitedServers" value="false">
<param name="FGColor" value="black">
<param name="DisplaySoundControl" value="true">
<param name="DisplayAbout" value="true">
<param name="TotalServersAllow" value="5">
<param name="InputScreenColor" value="white">
<param name="AllowURL" value="true">
<param name="DisplayColorControl" value="true">
<param name="DisplayConfigChannel" value="true">
<param name="DisplayConfigChannelPass" value="false">
<param name="DisplayConfigMisc" value="true">
<param name="DisplayConfigNick" value="true">
<param name="DisplayConfigPort" value="true">
<param name="DisplayConfigRealName" value="false">
<param name="DisplayConfigServer" value="true">
<param name="DisplayConfigServerPass" value="false">
<param name="LogoHeight" value="90">
<param name="Channel1" value="ReefTalk">
<param name="ServerErrorColor" value="red">
<param name="TextScreenColor" value="white">
<param name="TitleForegroundColor" value="white">
<param name="BorderSpacing" value="0">
<param name="RefreshColorCode" value="true">
<param name="InputTextColor" value="black">
<param name="TitleBackgroundColor" value="black">
<param name="AllowSound" value="true">
<param name="IgnoreModeChange" value="false">
<param name="IgnoreMOTD" value="false">
<param name="TextFontName" value="Helvetica">
<param name="TextFontSize" value="12">
<param name="WelcomeMessage" value="Welcome to ReefTalk Chat!">
<param name="UserCmdColor" value="blue">
<param name="LogoWidth" value="52">;
</center>
";

$html -> close_table();

// -------------
// Send a footer
$html -> send_footer();


Last edited by omegatron; 09/12/2002 6:55 PM.
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
http://www.michiganjeepers.com/chat/

I have my chat integrated, works great. It also sends the footer. I noticed in your code you do not have an </applet> tag, which should be right after the last param. Maybe that's why the footer isn't showing?

palmen #218891 09/12/2002 11:43 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
that looks real nice jeremy


- Allen wavey
- What Drives You?
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Thanks, my users already love it. Now I need to cough up 50 bucks

palmen #218893 09/13/2002 12:51 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
heheh... the price of fame


- Allen wavey
- What Drives You?
Joined: Apr 2002
Posts: 141
Member
Member
Offline
Joined: Apr 2002
Posts: 141
anyone who has the files and exact instructions?

Thanks,

Ron


Those who fail to read ask many questions:-)
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
For which chat app?


- Allen wavey
- What Drives You?
Joined: Apr 2002
Posts: 141
Member
Member
Offline
Joined: Apr 2002
Posts: 141
sorry, for this one. I knew the applet, but he has intergrated it very nicely! Can someone post the code and files. I'll register the applet and pay for it n/p:-)

Regards,

Ron.


Those who fail to read ask many questions:-)
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Hello I have solved my problem as it was very simple. I had the "; in the wrong place so anyway I have attached for anyone using Jpilot a chat.txt file that you can save as a chat.php file. Just change the servers and edit the path to main.inc.php.
Attachments
56579-chat.txt (0 Bytes, 43 downloads)

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thank you Chuck! Lots of people use JPilot


- Allen wavey
- What Drives You?
Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)