PDA

View Full Version : Digichat Hack v2.0 Semi-Live Whose in chat


GeorgeofCS
01-23-2002, 10:00 PM
Ok I'll be honest here. I wasn't going to release this, after the problems I had with the last one, and the problems with the last install proggy I made for hacks. I'm sorry my board is really hacked up and I'm just a tinkerer more than a hacker. So here goes.

What this hack does.

Allows moderators and users to have seperate entrances.
Mods have a second option to hide from the whose in chat option.
Whose in chat updates every 10 seconds so it's close to live.

Things still do to:

Make digi-chat user info preload into chat screen.

It's been running on my board now for about 4 weeks and it runs perfectly.

Psychdrone
01-24-2002, 01:19 AM
could we see a demo or a link to your site?

Lucky
01-24-2002, 02:22 AM
Ok.

I have installed this hack and I can go to chat.php and every thing shows up just fine and asks me if I would like to log in as a normal or hidden user.
I click on either one and it takes me to another page which looks fine exept I can't chat.

One thing I am unsure of is what I insert for host #, and Site Id #.

What do I enter in for these values?

Is host # my ip of site?
Is Site Id # the name of site?

I think that this is my only problem.

Any help would be greatly appreciated.

I can't wait to see this in action.

TIA :)

GeorgeofCS
01-24-2002, 09:38 AM
Digi-chat provides you with this information. If you look at your current coding or look at your chat master program you'll see see what your host # is and your site id.

Here's the demo (http://www.customerssuck.com/forums/chat.php) at the moment though it's not perfect because I just finished a site redesign and have to rework the chat room. I'm hoping to have it finished tonight.

Lucky
01-24-2002, 10:22 AM
I had to uninstall this hack.

I do not have control over the server to install digichat.

As far as I can see, I need to have digichat installed on my server. Correct???

GeorgeofCS
01-24-2002, 10:31 AM
actually I have a hosted digichat. I believe it should work on both ones on your server and a hosted one.

igowoofwoof
01-26-2002, 04:43 PM
i can find this, can somebody please tell me a specific info. thank you

In forum display find:

eval("\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\";");
}
}

grb123
02-15-2002, 06:47 PM
I haven't installed this yet, but I can't find those lines either (perhaps it's a version thing), however in index.php the following lines show the logged in users:

eval("\$loggedinusers = \"".gettemplate('forumhome_loggedinusers')."\";");

So I guess you could add it after that, but make sure you correct the code you're adding as well as it is changed from $onlineusers to $loggedinusers.

You don't even need this as it looks like all it does is show who's currently in chat which is useful but not essential for the chat to run.

It does appear though that the person who wrote this hack no longer uses it on his site.

GeorgeofCS
02-15-2002, 08:11 PM
In forumdisplay.php at the very bottom you will find


eval("\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\";");
}
}

it should be right above the

?>

This is still installed on my boards, however I'm in the process of finding a new chat room. :)

x28
02-16-2002, 12:41 AM
will this work on 2.2.2?
and can guest logon to chat?

grb123
02-16-2002, 07:15 AM
Originally posted by GeorgeofCS
In forumdisplay.php at the very bottom you will find

eval("\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\";");
}
}

it should be right above the

?>

This is still installed on my boards, however I'm in the process of finding a new chat room. :)

Ah, must be a version thing then, as I'm still using 2.0.3 and I guess igowoofwoof is as well and it's nowhere in forumdisplay.php (but I guess you could put it anywhere you wanted to show who was online?)

Any reason why you're changing chat service? I've just signed up with DigiChat because I was so impressed with your hack so if you're not happy with them please let me know!

GeorgeofCS
02-16-2002, 09:47 AM
I built this hack on 2.2.1 So yeah could very well be a version thing. I should still work though if you put it at the very end of the forumdisplay.php file, but I'm not positive.

Digi-chat is an ok service. To be honest it's still the best I've seen, but around christmas time my chat room crashed and trying to get tech support was like pulling my own wisdom teeth out. I ended up without a chat room for almost 2 weeks before I connered someone. Then at the end of Janurary someone finally contacted me to "fixed" the problem I had with the chat room. That's the only reason I left.

grb123
02-16-2002, 10:08 AM
OK, Thanks very much for getting back to me. I'll give DigiChat a try and see how it goes - we've signed up on a quarterly basis so can cancel fairly easily (theoretically!). Your hack is so simple yet based on the one on your site it is really good so here's hoping all goes well!

Thanks again for your help.

pgowder
05-24-2002, 04:57 PM
I've installed everything, how do I call the chat room now??

pgowder
05-24-2002, 05:02 PM
Nevermind, got it working!!

Now, how do I see a who's chatting feature?

pgowder
05-24-2002, 05:18 PM
When a moderator tries to login, they get an error about the password is not valid???

grb123
05-24-2002, 05:37 PM
You need to create an account using ChatMaster for your moderator and assign the same password they are using for vB. They will be prompted for their password when they open the chat.

The Users Online feature doesn't work for me - there's an error with lastchatactivity somewhere and I haven't bothered to try to fix it.

pgowder
05-24-2002, 05:40 PM
Thanks!

Is there a way to sync passwords.

What happens if a mod changes there password?

grb123
05-24-2002, 05:50 PM
There may be a way to sync passwords but I don't think this hack can do ti. If a mod changes their password it must be changed in both vB and DigiChat.

pgowder
06-03-2002, 06:57 PM
Ok, I have several other user groups beside the standard ones like Senior Moderator.

How can I add them into this hack?

grb123
06-04-2002, 11:54 AM
You shouldn't have to - all registered members will automatically be allowed into the chat room if they have logged in. To add your super moderators as chat moderators, just do as I said earlier.

pgowder
06-05-2002, 05:54 PM
My regular users are not seeing the Rooms tab???

How can I set it so that can switch rooms?

grb123
06-06-2002, 09:05 AM
If you want to give your users rights to create rooms, login as ChatMaster and under Options select Accounts and then Guest (I think) and then Edit. You will be able to change the options for each user.

Have a look at the Digi Chat documentation for more information.

pgowder
06-06-2002, 11:37 AM
Thanks.

The problem is, I've created rooms, and they don't even see a rooms tab.

Here is what I see:

pgowder
06-06-2002, 11:37 AM
Here is what my users are seeing:

grb123
06-06-2002, 12:28 PM
You should really speak to DigiChat about that - I don't think it's related to this hack.

pgowder
06-06-2002, 12:30 PM
Thanks, will do.

pgowder
06-06-2002, 12:48 PM
The rooms parameter was set to false in the hack.

It works now! Just overlooked that!

tvwatcher
06-18-2002, 07:53 PM
I intalled this DigiChat hack as well. I seem to have it operating but when i attempt to log in Digichat refuses to allow the user access. I get the same error NOW starting server, shutting down firewall. I thought i hacked the code as explained but I'm not a very good hacker.

Error: You may not connect to DigiChat because your name or password was not entered correctly. Please re-enter this information and login again.

I'm using my vbadmin password or alternately I log out, kill any known cookies and then log in as a regular joe.

Can anyone assist?

tvwatcher (registered user) ;)

grb123
06-19-2002, 08:20 AM
Well the good news is you don't have to be a good hacker to install a hack - you just have to be able to follow instructions! ;)

You login error is most likely because you haven't set up your admin user correctly in DigiChat or you don't have the same password for vbadmin in vb and in DigiChat. The password and the username must be identical.

tvwatcher
06-19-2002, 05:23 PM
Thanks grb123

Got it working I think ... still a slight problem when no user is logged in and VB registration screen appears. If user then tries to log in ... browser seems to hang and then a white screen is presented. However, if i have logged in beforehand the chat interface automatically appears.

I was having other problems thinking this did not work at all. Then i put my two halves together and logged in from another G4 beside me and it seems to work OK. I cannot log into the VB Chat system when I'm sitting on the G4 server. Only from a remote station ... 3 feet away. :ermm:

tvwatcher
06-19-2002, 11:21 PM
I have a problem here.

If a user is not logged in and hits the chat pages he/she is given the VB registration page. Everything is fine; however, when user keys in id and password system crunches away longer than normally expected and then hangs on a white screen. That is the concern ... otherwise it looks to be fully operational if user is currently a member in good standing it logs you right into the chat Window.

Any thoughts to fix this would be appreciated. :squareeyed:

Thank You!

Khanoom
08-13-2002, 06:29 PM
Hi, I have to unistall this because it's not working

during installation I ran the q... to the databease:

ALTER TABLE user ADD lastchatactivity int(10) unsigned DEFAULT '0' not null
ALTER TABLE user ADD inchat smallint(4) DEFAULT '0' not nul

How do I undo these two back to what they where????
How do I uninstall this hack?

thank you

GeorgeofCS
08-14-2002, 09:35 AM
There's a template that wasn't installed somewhere.

pgowder
08-21-2002, 11:56 AM
Has anyone tried this with DigiChat 4.0?

grb123
09-12-2002, 08:37 AM
Originally posted by pgowder
Has anyone tried this with DigiChat 4.0?

It works with V4 except the you have to upgrade ChatMaster. There is also a problem with admins not being able to access chat until it is upgraded - I think you have to get a new serial number, but I'm still trying to figure it out.

Merjawy
09-13-2002, 04:46 AM
The problem is in two templates created wrong

chat option should be chatoption
chat update should be chatupdate

this will make it work instead of the blank page

grb123
09-13-2002, 06:58 AM
This works with version 4 but if you have admins then one of the digichat settings for admins in ChatMaster is automatically ticked - Moderator. You need to remove this as otherwise admins can't login.

pgowder
11-11-2002, 05:10 PM
I have it working for users, but not for mods and admins with DigiChat 4.0.

With 3, admins and mods had login page. What template directs them to a sign in page?

grb123
11-11-2002, 05:13 PM
Originally posted by pgowder
I have it working for users, but not for mods and admins with DigiChat 4.0.

With 3, admins and mods had login page. What template directs them to a sign in page?

I've actually left the client just as it was. I've only updated ChatMaster. I couldn't get version 4 to work and as everything works just fine as it is I'm not going to mess with it!

pgowder
11-11-2002, 05:32 PM
Before, when a mod click on chat, they were taken to a page that asked them for a password and to be invisible or not.

Where is that template or page. And how it is set?

grb123
11-11-2002, 06:05 PM
You created those custom templates when you first installed the chat hack. It's probably chatmod, but if you look under your custom templates in forums admin you will see them.

DennisVx
11-23-2002, 11:11 PM
Can someone that got this working on v4 post your applet code, and any changes you made to the instructions on install.txt

I get to the page where the user selects if he wants to be visible or invisible (with an admin account), but I get no further than that... click on either doesnt spawn a new page or refreshses the current one.

With a non-logged in user I get a blank/white page (and yes I did fix those two template names by removing the space)

Thing is, I also get a white page on http://www.customerssuck.com/forums/chat.php (the maker of this mod) so maybe its a browser thing? I'm using Windows XP and IE 6.

Thanks for your help

DennisVx
11-24-2002, 10:45 AM
I figured out that the problem was... took me a bit of PHP learning...

appartently this was writen for php3, so in php4 you need to add:
$action = $_GET['action'];

at the top of the script... new super gloals...

XrayHead
12-30-2002, 11:09 PM
Any chance of a test accound to look at the demo on your site please.

Thanks

Lee

ie, U:test P:test

XrayHead
12-31-2002, 02:06 PM
make a template called chat and replace the host # and site id #### with your own info

Also im still not 100% sure on this line of info !!!!

IS IT THE TEMPLATE ID?

Also reading through the post's here do you have to subscribe to the digi chat service because at the beginning of the thread it dose not mention this!!!