Mod Name / Version - Integrated DigiChat with UBBT 1.1 Description - This modification allows a seamless integration with DigiChat using data from the UBBT database Working Under - UBB.Threads 6.2 Features
Retrieves the data from the database and passes it as parameters in the DigiChat applet
Shows on the Who's Online screen on a different section, who is online
Pre-requisites - none Author - dimopoulos Credits - Threadsdev Files Altered - online.php, templates/default/online.tmpl, templates/default/ubbt_registerednav.tmpl Database Altered - Yes. New table w3t_InChat. New field U_ChatIcon in w3t_Users table New Files - Yes. chatmain.php, chatcheck.php, chat.php Other Info - Backup your database and your files before modifying!!!!!
1. DATABASE Changes 1.1 Create a new table called w3t_InChat with two fields: C_UserID INT(9) NOT NULL and C_Last INT(9) UNSIGNED NOT NULL.
The U_ChatIcon field holds the chat icon that the user will have. It defaults to the default icon of DigiChat which is 1000. You can put more items in there
2. Open templates/default/ubbt_registerednav.tmpl Find
Code
<br />($template['members_link']) <br />
BELOW it ADD
Code
<br />UBBTPRINT; <br />// 20030113 - Chat Link - New Start <br />echo <<<UBBTPRINT <br /> | <br /><script langauge="javascript" type="text/javascript"> <br /> function OpenChat(){window.open('$phpurl/chat.php','','left=10,right=10,width=400,height=250');} <br /> </script><a href="javascript: OpenChat()">Chat</a> <br />UBBTPRINT; <br />// 20030113 - Chat Link - New End <br />echo <<<UBBTPRINT <br />
NOTE: The above code is in One line. I present it in three lines for aesthetic purposes
Yes it was DaLan. I got the license one which enables me to install the software on my server and use it.
It was really expensive, but I managed to get it for only 400 GBP.
DigiChat has many modules which are sold separately, one of them being the commander which allows you to check who is online in the DigiChat at any time, plus some other stuff. Also you can get the moderation module, which is kind of good if you have chats with important people and users ask them questions - this way you filter out the junk.
The license that I got was for 100 concurrent users.
Thanks very much for this, Josh just installed it for me and it works great, now I have Chat, UBBT and Photo Gallery (photopost) working great with one login.
Thanks to Dave for IIP and PhotoPost my users dont have to login three seperate times to access all the features on my site.
Thanks to Josh for his hard work and help to get my site working perfect.
Josh, thanks for the suggestion but you posted the same thing twice
I agree it should be
Code
ALTER TABLE `w3t_Users` ADD `U_ChatIcon` VARCHAR( 10 ) DEFAULT '1000'
but I can't edit my original post - time expired, so if you can please do.
Gill, nice to hear that you have everything sorted out. Rufnex, sorry but I don't have a test site enabled, but when I do, I will either post it here or PM you.
I ran into a slight problem, the mod is working great but most of my users have dial up, including myself. I just disconnected from the internet (it happens a lot here bad phone lines) well DigiChat still thinks I am logged in since I did not log off. Of course when I get re-connected and try to get back into chat it wont let me because I am actually still logged into chat from the previous login. I wonder if you have run into this problem and what you did to work around it. I have not found a way to allow more than one login with the same name.
This has nothing to do with you mod, just curious if you had problems with this before.
I did find myself in this situation and yes it is a bit of a pain.
The only way to get around it is to close all your internet explorer windows and then login again. It appears that even if you have one IE window open, DChat's java classes use that and think you are connected still. I have been meaning to ask the support people of DChat but never got around it.
Last night what happened was that I got disconnected from the internet (dialup) When that happens You are still in digichat with the first login name, then when you get re-connected and try to login the new way, DigiChat say's "Hey you are allready logged in" so it wont let you back in.
I thought well ok, I will just go back to the other link at the top of the page and login the old way. WRONG.. that wont work, it keeps telling me (no matter what name I use) that I am typing in the wrong name and password.
before the mod, you could allways go back and login as gblue ii or gblue iii or whatever, For whaterver reason it wont work this way now.
What I did to get by it was I had to go into DigiChat and 'delete' the room, restart the chat server and then create the room again. Once I did that it seem to work ok the new and the old way, but I wonder what will happen when someone gets disconnected "mid chat" and tries to get back in.
BTW I did delete my cookies but that did not help,
I did talk to digichat and they basically told me because of the client / server type of chat that the ghost login's remain, they said to login as chatmaster and "kick" the ghost out (which I tried) still did not work.
I'm very thankfull for writing the digichat integration mod. It's working almost perfect now...
What is wrong:
When I look at the "who's online" page when 2 or more people are chatting, then there is only one person listed! The name in the list does change change sometimes, but I always see only one name/row....
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.