PDA

View Full Version : DigiChat Integration V3.03


Pseudomizer
06-14-2005, 10:00 PM
Hello,

I am proud to present my latest version of my VBulletin DigiChat integration. It has been quite a while since my last update of this hack but due to the many new features and functions I had to do some modifications and changes.

But let's start with the new release.

For new people:

What is this hack ?
This hack is a complete integration of the Chatsoftware DigiChat ( which is NOT freeware ) into the latest version of VBulletin 3.0.x.

Tested on VBulletin 3.0.5, 3.0.7 with PHP 4.3.11 and 5.0.4.

What does this hack do ?
This hack provides the ability to offer a complete front-end to the DigiChat software. So if you are running your own DigiChat server or your chat is hosted somewhere else, this hack will provide you for each member a specific profile, settings and whos in chat functionality.

For Admins and Chatmasters i am providing an extra Admin/Chatmaster login depending on their userstatus in your forum and they will get the extra tool to trace IPs from chatusers. Normal users will just see the names of the users in chat and a link to their forum profile. The updated chat Who page has now been combined with the invisible option from VBulletin. Total user count will show the total number including the invisible users but only the specified usergroups will see the invisible users on the chat who page.

In addtion the latest feature from DigiChat has been incorporated which is Audio/Video.

For all features a complex permission system has been setup. Now everything can be allowed or denied via the new DigiChat admin GUI in your ACP.

On top I have implemented a menu system to administer the menu links in DigiChat via this new DigiChat admin GUI in your ACP.

The most important improvement is the ability to update your DigiChat to any newer version and just change one parameter in the new DigiChat admin GUI in your ACP and all settings will be made automatically. No more file editing or template editing for any DigiChat upgrade.

Are there many changes to be done ?
No, i try to keep my changes to a minimum and due to this I have included an installer for my new hack. So this hack exists of:

- 1 template modifications
- 10 file uploads
- 2 php file modification
- new installer in german and in english

Do i need version 1.0, 1.1 or version 2 for this hack ?
No. I am providing both. An upgrade path from previous versions and also a new install path for complete new installations.

How long does it take to install this hack ?
If you are familiar with VBulletin and DigiChat it will take about 10 minutes to upgrade and 15 minutes for a new install.

Is there any support for this hack ?
Yes, from me but i will change the way of giving support now. I my previous version i posted my email address and the amount of emails was amazing. The bad thing was that no one shared this information in the thread. Due to this i will ONLY give support to people in THIS thread and ONLY if they clicked on the "INSTALL" button. I am sorry, but my time is limited and answering the same question 5 times via email is not very efficient. I hope you understand this.

Are there screenshots available for this hack ?
Yes. I have included them into the zip file and i will add them in this thread.

How to manage this Chat environment ?
This version 3.0 can be fully administered through the new DigiChat admin GUI in your ACP. Please see screenshots.

Whos in Chat function does not work ?
Please make sure that you have the appropriate rights and the commander function enabled which produces the output file every x minutes who is in chat. You have to have a Commander license from DigiChat to be able to do that.

Some words are in german ?
This should not be the case. I developed this on my domain and in german. I translated all the frontend and placed all of them into phrases but you never know. If there are parts still in german and you do not understand them please tell me so i can translate them.

So enjoy this hack and happy chatting. After installing please click on this install link (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=83102) or on the install button at the top.

Update Version 3.0.1 BETA

Following fixes have been applied now:

Chat Who page:
- Counting of invisible users was wrong
- Table was hardcoded in chat_who.php and not in VBulletin CSS style
- German wording for number of users in chat was wrong
- templates were not cached and PHP 5 terminated PHP script

Menu Creator in DigiChat Admin Panel:
- numbering is 10,20 and 30 for the examples. DigiChat does not allow this kind of numbering. It has to be contigous. Note has been placed and examples adjusted.
- addition of new menu reduced from +10 to +1

Installer:
Installer did not create Table Prefix for the database column.

DigiChat_admin:
Update query in digichat_admin did not use the Table prefix.

Template Chat Icons in install.html
The icon order has now been adjusted from 01 to 75 in contiguous order.

Upgraders from 3.0.0: To apply the new fixes from 3.0.0 to 3.0.1 please run the deinstaller in your ACP from your current version. Then upload all new files and overwrite the existing files and run a new install of this hack. Should run very easy.

Optional: To have the chat icons in contiguous order please replace the existing userfield template with the update userfield template from the install.html file.

Update Version 3.0.2 BETA
- expanded IP field from 15 characters to 20 ( max 40 ) for chats running on different ports
- translation problem of english chat and chat_who navigation text - fixed
- guest activate/deactivate didn't work due to missing code - fixed
- removed javascript in digichat_admin.php due to bug with some PHP Versions - fixed

Update Version 3.0.3 FULL RELEASE
- fixed wrong URL conditions in chat.php and chatlauncher.php for the member link in chat


If any problems occur please post it here. Enjoy this hack.

Get ready to rumble. ;-)

P.S.: Before you ask for the VB 3.5 Integration: As soon as the VB 3.5 is GA and the new Plugin System has been finalized, I will port my hack into the new Plugin System.

Cheers,

Pseudomizer

Pseudomizer
06-14-2005, 11:04 PM
Here are the Screenshots:

Cheers,

sensimilla
06-15-2005, 11:59 AM
does DigiChat require special hosting ? or can i manage it on my own server ? TIA

great looking hack btw..

nexialys
06-15-2005, 12:10 PM
does DigiChat require special hosting ? or can i manage it on my own server ? TIA
great looking hack btw..
DigiChat is a commercial chat system that require to be leased, so you need to go to their website for information... http://www.digichat.com/

Pseudomizer
06-15-2005, 01:27 PM
does DigiChat require special hosting ? or can i manage it on my own server ? TIA

great looking hack btw..

Hello sensimilla,

you can either buy the software to run it on your own server or you can go for the hosted offer from DigiChat or you can rent a chat from multiple other ISPs in all GEOs.

E.g. I am in contact with one ISP from the Australian region, I am hosting chats in Europe and DigiChat are hosting chats in US. So you have multiple options.

Hope this helps.

sensimilla
06-16-2005, 01:12 PM
thanks alot for well explained issue
sensi

Pseudomizer
06-17-2005, 08:53 PM
Hello,

a bug has been reported which affects the german part of this hack. In the install.html file you copy the template for the user options which is used in the vbulletin profile. The complete fields and the questions are in english in this text which you copy into the template in your ACP.

I apologize not having thought about that issue. I created everything for english and german and I forgot to place 2 options into the install.html file ( especially for a hack which has been developed in the first instance in pure german :rolleyes: ).

If anyone is interested in the german template please post it here. I will post the german template then.

Cheers,

ummahforums
07-05-2005, 01:06 AM
Hi,

I noticed that when users have an apostrophe (this character: ' ) in their username, it causes cause SQL errors in chatlauncher.php. You just need to add slashes (using the PHP function addslashes) in the DB queries where usernames are mentioned, i.e. lines such as these:

$userprofilefields=$DB_site->query("SELECT homepage
FROM user
WHERE username = '$bbuserinfo[username]'");

What I did to fix it was to add this at the start:

$slashedusername = addslashes($bbuserinfo[username]); Next I changed the $userprofilefields line quoted above to this:

$userprofilefields=$DB_site->query("SELECT homepage
FROM user
WHERE username = '$slashedusername'"); I also made use of the htmlspecialchars function so that usernames with apostrophes wouldn't mess up the HTML. So line 68 of chatlauncher.php (English version) becomes:

$nickname=htmlspecialchars($bbuserinfo[username], ENT_QUOTES); Line 217 becomes this:

$realname=htmlspecialchars($bbuserinfo[username], ENT_QUOTES); And finally line 206 becomes this:

$applet_string = htmlspecialchars((implode(",",$buddy_names)), ENT_QUOTES); Similar things will have to be done for exit message etc., but this fixes the main problem for my site (as we have a few users with usernames like this: user'name).

Pseudomizer
07-05-2005, 07:34 AM
Hello ummahforums,

thanks for this information but this was no error. I do not allow this kind of nick names in my forums because the Audio/Video Communication server can not work with this kind of names. This is a bug from Macromedia.

Due to this I did not implement this check but you are right that this should be in there. I will add them in the next update.

Thanks for the feedback.

Cheers,

enferknow
07-07-2005, 04:00 AM
i am getting this error:

Database error in vBulletin 3.0.7:

Invalid SQL: SELECT *
FROM profilefield
WHERE editable = 1
ORDER BY displayorder
mysql error: Table 'naughtykats_com.profilefield' doesn't exist

mysql error number: 1146

Date: Wednesday 06th of July 2005 10:54:27 PM
Script: http://www.naughtykats.com/forum/chat.php
Referer: http://www.naughtykats.com/forum/index.php?
Username: admin
IP Address: 68.44.171.124

could you please help out?!

Pseudomizer
07-07-2005, 07:47 AM
Hi,

do you have any customer profile fields on your board? As it looks like it is looking for profile fields and kind find any entry in your database.

Cheers,

gblue
07-07-2005, 12:41 PM
I installed the mod yesterday and I have a few problems,

1. how do I change the text, "this chat belongs to love" I looked in the chat.php but did not find it.. I got it installed but have some problems but I will work on that tomorrow.. I am at home on a slow dialup connection..

2. When I click on the start chat icon it never loads chat.
The link is http://itsajeep.org and click on the 1st chat icon on the left side if you wish to take a look at it..

Pseudomizer
07-07-2005, 04:03 PM
I installed the mod yesterday and I have a few problems,

1. how do I change the text, "this chat belongs to love" I looked in the chat.php but did not find it.. I got it installed but have some problems but I will work on that tomorrow.. I am at home on a slow dialup connection..

2. When I click on the start chat icon it never loads chat.
The link is http://itsajeep.org and click on the 1st chat icon on the left side if you wish to take a look at it..

Hello gblue,

question 1: this is a phrase. Go to your phrasemanager and search for this text and replace it with whatever you want. Should be an easy task. Hint: There are serveral places where the domain is mentioned. Replace all of them in all phrases.

2. You seem to have several issues regarding your chat. Let's start by just telling you what is going wrong in bullet form:

- you are using DigiChat 4.0.3.1. This version is vulnerable and is no longer supported from DigiChat. Due to this I can not give any support for this version of DigiChat
- even if you want to use this version of DigiChat you have change some things in my hack. To give you a hint:


document.writeln("CODE='com.diginet.digichat.client.DigiChatApplet' ");


This line is causing the problems because this applet does not exist in DigiChat version 4. You have to look into your default script and change to code appropriately.
- the "Who is in Chat" page has been modified from me to cover DigiChat version 5.x.x. Since DigiChat 5 the commander output has been changed and due to this I had to change the source code completly. If you want to have this feature on your board then you have to go back and look for DigiChat Hack version 1 or 2 and take this chat_who.php file.

I hope you understand my concerns because this is like someone using DigiChat 5 would ask for an integration into VBulletin 2.2.6. I can't do that. So you either update your DigiChat to version 5 or you implement the required changes on your own. I tried to help you by giving you some hints.

Hope that helps.

Cheers,

gblue
07-07-2005, 08:27 PM
Thanks for the info :) I purchased the digichat a few years ago (about 800$) so I will have to stick with it :) I will just have to use what I got ...

Thanks again..




Hello gblue,

question 1: this is a phrase. Go to your phrasemanager and search for this text and replace it with whatever you want. Should be an easy task. Hint: There are serveral places where the domain is mentioned. Replace all of them in all phrases.

2. You seem to have several issues regarding your chat. Let's start by just telling you what is going wrong in bullet form:

- you are using DigiChat 4.0.3.1. This version is vulnerable and is no longer supported from DigiChat. Due to this I can not give any support for this version of DigiChat
- even if you want to use this version of DigiChat you have change some things in my hack. To give you a hint:


document.writeln("CODE='com.diginet.digichat.client.DigiChatApplet' ");


This line is causing the problems because this applet does not exist in DigiChat version 4. You have to look into your default script and change to code appropriately.
- the "Who is in Chat" page has been modified from me to cover DigiChat version 5.x.x. Since DigiChat 5 the commander output has been changed and due to this I had to change the source code completly. If you want to have this feature on your board then you have to go back and look for DigiChat Hack version 1 or 2 and take this chat_who.php file.

I hope you understand my concerns because this is like someone using DigiChat 5 would ask for an integration into VBulletin 2.2.6. I can't do that. So you either update your DigiChat to version 5 or you implement the required changes on your own. I tried to help you by giving you some hints.

Hope that helps.

Cheers,

Pseudomizer
07-09-2005, 10:39 PM
Thanks for the info :) I purchased the digichat a few years ago (about 800$) so I will have to stick with it :) I will just have to use what I got ...

Thanks again..

As I can see you removed the hack completly. Why don't you use the DigiChat Integration 1.0 or 2.0 ? They work perfectly with DigiChat 4 they just have a config file instead of the database administration via ACP. Just a hint. ;-)

Cheers,

Forumi Shqiptar
08-04-2005, 09:34 PM
if u have an ircd or conference room server does this applet works on them or it doesnt? As at the moment im using a jirc java applet so can someone tell me if it can be configured to work with an ircd or conference room chat server?

thanks for ur replies and by the way i do like ur hacks pseudomizer they r great nice job mate.

Pseudomizer
08-05-2005, 07:38 AM
if u have an ircd or conference room server does this applet works on them or it doesnt? As at the moment im using a jirc java applet so can someone tell me if it can be configured to work with an ircd or conference room chat server?

thanks for ur replies and by the way i do like ur hacks pseudomizer they r great nice job mate.

Hello Humori.com,

if your question is to run 2 chats parallel on the same server then the answer is yes. DigiChat uses per default the port 8396 which can be changed to 25,110,443 or 8080. If you use Audio/Video in addition then you need one more specific port for the Macromedia Communication Server daemon as well. :nervous:

If you ask to run the applet IN your ircd chat, then the answer is no. This chat runs independant to any IRC channel. You can not combine any other chat with DigiChat. This would be like running Invisionboard and you want to install VBulletin into that board. :surprised:

Hope this helps.

Cheers,

Forumi Shqiptar
08-05-2005, 09:38 PM
yep it was helpfull pseudomizer many thanks for the explenation unfortunately im running ircd and i got my own chat server so it wont help me alot anyway what it matters its that u doing a great job with the hacks thanks again and wish u good luck

safiel
08-10-2005, 01:16 AM
Just wondering if you had plans to port this hack over to 3.5x?

Pseudomizer
08-10-2005, 07:09 AM
Just wondering if you had plans to port this hack over to 3.5x?

Yes, but there is a list of new features which I have to include as well. So be patient.

Cheers,

juanchi
09-17-2005, 04:38 PM
I being evaluating Chats and I think will go the digichat way after comparing it with userplane and chatblazer. I like the fact that it is skinnable but I will like to know what is the feature that put digichat above the other options.

BTW Pseudomizer great hack, I noticed that you are very active at digichat forum, do you work for the company, I ask you this because I will like to know if there will always be support for your hack, I don't want to find myself in the future with a none working chat. :squareeyed:

Pseudomizer
09-17-2005, 04:50 PM
I being evaluating Chats and I think will go the digichat way after comparing it with userplane and chatblazer. I like the fact that it is skinnable but I will like to know what is the feature that put digichat above the other options.


Sorry, but I do not understand your question. What do you mean with "feature that put digichat above the other options"?


BTW Pseudomizer great hack, I noticed that you are very active at digichat forum, do you work for the company, I ask you this because I will like to know if there will always be support for your hack, I don't want to find myself in the future with a none working chat. :squareeyed:

I am giving support on the DigiChat forum from end user to end user. I do NOT work for Digi-Net or DigiChat. I am moderating their forum and I get the latest releases for testing from DigiChat. In Germany we say "one hand washes the other".

And to answer your question regarding support: I will support all my hacks but this is my hobby. So when I have time I am creating new features and functions and I share my work with other people. To give you an example with VBulletin 3.5. I am waiting for the final release and then I will start creating my new hack for DigiChat Integration. I will need some Beta testers again and then I will go out of Beta as soon as all bugs and errors are removed. Nobody is perfect. I think this should answer your question about support.

Cheers,

juanchi
09-17-2005, 04:57 PM
Sorry, but I do not understand your question. What do you mean with "feature that put digichat above the other options"?,

Excuse me If I didn't explain myself, let's make it simply, my question will be: Why should I use digichat? is it have more options? if you compare it with userplane or chatblazer what will give digichat the edge?

Pseudomizer
09-17-2005, 09:14 PM
Hello juanchi,

please do not ask me what chat version you should take. I am not here to promote any product neither do I talk negatively about any other product. I am offering a hack for people who want to integrate DigiChat with VBulletin. If you need arguments which product you should buy then please talk to sales represenatatives from each chat software provider.

Regardless of which solution you take I can tell you that any self hosted solution needs additional software for Audio/Video which is expensive and not easy to setup. Most of these solutions rely on the Macromedia Communication Server for the Audio/Video part. You can look up this pricing on their webpage. Or you go with a hosted solution, so you do not have to hassle with anything like that. All of the chats which you mentioned before offer a hosted solution.

Now it is up to you which one you take or you can afford. ;-)

Cheers,

juanchi
09-17-2005, 11:16 PM
Thanks, understood.

Oraos
09-30-2005, 08:54 PM
Hey Pseudomizer,

I helped you beta test your last DigiChat integration (a.k.a. Markus) and contacted you mainly through the DigiChat Community Forum.

We're ready to install VB3.5 now that it has gone gold and would love to install your hack.

Where are you in terms of the process of integrating your hack into VB3.5Gold? Any estimated time untill a beta release? Is this requring you to rewrite a lot of the code in order to integrate it with VB3.5Gold? Just curious.

Willing to help you out whenever you're ready.

Thanks,

Markus

Pseudomizer
10-01-2005, 03:32 AM
Hey Pseudomizer,

I helped you beta test your last DigiChat integration (a.k.a. Markus) and contacted you mainly through the DigiChat Community Forum.

We're ready to install VB3.5 now that it has gone gold and would love to install your hack.

Where are you in terms of the process of integrating your hack into VB3.5Gold? Any estimated time untill a beta release? Is this requring you to rewrite a lot of the code in order to integrate it with VB3.5Gold? Just curious.

Willing to help you out whenever you're ready.

Thanks,

Markus

Hello Oraos,

my schedule was to release a new update end of october. But due to my new job which requires a relocation from Germany to US, I will not have any time to work on this until I have settled down and having organized my new private and business life.

I am targeting end of october for the relocation and I will not be able to do any work on this until mid of november. Honest estimate? I will not be able to provide any new release until end of december.

But just to tell you what I am targeting to add to the new release:

- implementing DigiChat into an embedded HTML window with frames
- implementation of additional frame on the right with deep vbulletin integration for user profiles and if possible with user profile pics
- integration of smilie page in right frame for easier use of smilie code lookup
- pop-up description of upcoming security changes within DigiChat (optional)
- implementation of a banner rotation system in frame (tentative)
- integration of additional Bots from third party and not for free (pending)

That's my current update. Hope this helps for your planning.

Cheers,

Oraos
10-03-2005, 09:31 PM
Thanks for the update. The new features sound interesting. Best of luck with your move to the US.

Pseudomizer
02-16-2006, 03:34 AM
Hello,

due to the severe security issues since October 2005 and not having received any fix from Digi-Net yet, I will shut down ALL my 3xDigiChat Enterprise servers.

I will discontinue the support for this hack as of today and good luck that your sites don't get hacked. I am done with Digi-Net and I will also will discontinue to give support in the Digi-Net community forum.

Best regards,

tommac
06-04-2006, 04:06 PM
I am getting the following error :

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /chat_who.php on line 214

Warning: file(http://$CHAT_SERVER/DigiChat/DigiClasses/Resources/Default/stats/digiakt1000.txt): failed to open stream: Success in /chat_who.php on line 214

Warning: Invalid argument supplied for foreach() in /chat_who.php on line 217

do you know what that is?


also for your table names you dont prefix them ... so if I used a prefix for my board the hack wont work without either renaming the tables or changing the code.

Pseudomizer
09-16-2006, 07:34 PM
Hello guys,

it's been one year now and the security issues are still not fixed. It's becoming even worse.

Take a look here:

http://www.qode.org/digichat/index.php

dutchbb
12-25-2006, 10:07 PM
What do you think about RealChat (http://www.realchat.com/) as an alternative? It looks pretty good to me?

btw I can't believe what these chat packages cost, why can't they offer their software for a reasonable price like vbulletin?

+500 -+2000 $ what a rip-off

Tom_S
02-06-2007, 11:09 AM
I know you have given up on this mod for your reasons but I am still running digichat and need a small favor. I only need to pass the variable on to it so it will login the user with the board username automatically. I had this working great with phpbb but can not get it to work using this $bbuserinfo[username]. I tried this hack and another one but using 3.6.4 neither worked. I don't need the who's in chat or the avatar/smilie/profile or anything. Just simply the ability for the member to go into chat automatically as their username.

Thanks :D

Tom_S
02-12-2007, 10:51 PM
Hmmm..I reckon you really gave this whole thing up. Is there anyone that can help with this small favor? I only need what I posted. Pweeeeeeeeeeeeze! :)

daddygrim
02-28-2007, 07:23 PM
there another version?