• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ General Support (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

PUNBB DB INTEGRATION/Bridge

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
6 posts • Page 1 of 1

Postby nickfzx » Sun Jun 10, 2007 7:22 pm

Is it possible to have have phpFreeChat bridged with punbb usertable so that members of punbb will have to login to punbb to use the chatbox and their username will be the same as punbb etc.

I have done the punbb nickname hack but found this doesn't work that well as phpFreeChat is so reliant on cookies. and once logged in if the punbb user logs out they are still logged into the chatbox due to the cookie.

Any advice on this would be great.

Thanks

Nick
nickfzx
New member
 
Posts: 3
Joined: Sun Jun 10, 2007 7:17 pm
Top

Postby phpfreechat » Mon Jun 11, 2007 9:14 am

I use this code on the official demo to link the punbb forum database to the chat demo :
http://www.phpfreechat.net/faq.en.html#punbb

it works well but you are right it doesn't handle forum logout actions.
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby nickfzx » Mon Jun 11, 2007 11:26 am

kerphi wrote:I use this code on the official demo to link the punbb forum database to the chat demo :
http://www.phpfreechat.net/faq.en.html#punbb

it works well but you are right it doesn't handle forum logout actions.

yeah I tried that code but it is really just a quick hack and not very robust.

I want the phpfreechat to connect the punbb database properly and actually rely on it.
nickfzx
New member
 
Posts: 3
Joined: Sun Jun 10, 2007 7:17 pm
Top

Postby phpfreechat » Mon Jun 11, 2007 12:28 pm

Why this code is a "quick hack" for you ?
It just does work, I don't know what is "connect to punbb database properly" for you ?
phpfreechat
Site Admin
 
Posts: 2657
Joined: Tue Feb 07, 2006 3:35 pm
Location: France
Top

Postby nickfzx » Mon Jun 11, 2007 1:12 pm

it is a hack because it is not at all robust. For example if you are logged out of punbb you are given a guest nickname...then if you login to punbb and go to chat you still have the guest nickname because it is stored in the cookie and the cookie doesn't update.

Also if you login to punbb and then log out and then log in with a different username the chat won't recognise this unless you delete the cookie from your browser.

Better integration would be that there are no guests allowed, you have to be logged into punbb to use the chat and your username of punbb is your name in the chat and when you log out of punbb you are logged out of the chat.

Right now the current integration is a workaround, not true integration.

I may write a database bridge for punbb once I have taken a good look at phpfreechat's code.
nickfzx
New member
 
Posts: 3
Joined: Sun Jun 10, 2007 7:17 pm
Top

Postby xomero » Tue Nov 06, 2007 9:37 pm

I love phpfreechat, thnx for the script.

Is it posible to check punbb user list to integrate with phpfreechat?


If I login to the chat with a nikname like "cris" and in the punbb already exists an user with this nickname, when the punbb user try to login he can't use his nickname cause some gest are using it.
Last edited by xomero on Tue Nov 06, 2007 9:37 pm, edited 1 time in total.
xomero
New member
 
Posts: 1
Joined: Tue Nov 06, 2007 9:32 pm
Top


Post a reply
6 posts • Page 1 of 1

Return to General Support (v1.x)

Who is online

Users browsing this forum: No registered users and 19 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub