Configuring phpMyChat to work with dating site

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Jonelle
Forum Newbie
Posts: 18
Joined: Sat Sep 11, 2004 8:08 pm

Configuring phpMyChat to work with dating site

Post 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!
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post 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.
Jonelle
Forum Newbie
Posts: 18
Joined: Sat Sep 11, 2004 8:08 pm

Post 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?
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post 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.
Jonelle
Forum Newbie
Posts: 18
Joined: Sat Sep 11, 2004 8:08 pm

Post 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)?
Post Reply