Page 1 of 1

Configuring phpMyChat to work with dating site

Posted: Mon Sep 20, 2004 1:03 pm
by Jonelle
I have phpMyChat running through this dating site I'm working on. Now, the problem is I would like the users registered with the site to be able to create a room if they would like, however, right now it's looking for people that are registered with just the chat and not the overall dating site. I integrated it to work so people who register with the dating site can use the chat however they can't create new rooms.

Is there a way I could get the chat to look for the table with the registered users in the site, instead of registered users for the chat itself? Help!

Posted: Tue Sep 21, 2004 2:08 pm
by Joe
You would need to edit that area of code which displays the users who are chatting to something which reads records from the database. I am not familiar with phpchat but from what I know there is no addition to do that so far.

Posted: Tue Sep 21, 2004 2:14 pm
by Jonelle
I tried to do that, and it caused alot of errors, so I re-uploaded the backup. Now what I want to know is if I would be able to create rooms without having to register for the chat, but still being registered to the site?

Posted: Tue Sep 21, 2004 2:21 pm
by Joe
tried to do that, and it caused alot of errors
Your code must have been wrong!!!

As for creating new rooms, try having a look at the structure of the original room and copy it to make a new one. I think it should be fairly easy.

Posted: Tue Sep 21, 2004 2:36 pm
by Jonelle
Haha ... I realise it was probably wrong being a newbie to PHP. Anyways, the structure of the phpMyChat pages are require statements calling functions from several different pages. As well, the database structure is so that all databases seem to be linked together, calling the same information from different tables. Is there a way I could combine those tables with the registration, but also combine values that are the same (i.e.: 'username' in one table is 'NickName' in another table but essentially the same output)?