|
|
|
|
![]() ![]() |
Jan 25 2006, 11:01 PM
Post
#1
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 49 Joined: 23-January 06 From: Ohio Member No.: 17,482 |
Major problem I got here. A site at which I am employed as PHP Coder (privet-drive.com), needs a "grand" login. The login needs to be able to login them into the forums, the chat, and the site, all at the SAME time! The big problem is, the chat is located on another website (potterchat.net), and the forums are IPB and not PHPBB. Any comments, or some tips on how I am to go about this? I am freaking out, and any advice at all would be nice! Thanks in advanced!
|
|
|
|
Jan 26 2006, 12:30 AM
Post
#2
|
|
|
Hidden Secrets can't be told threw just words. One must feel what the other feels to truely understand... ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 1,522 Joined: 8-January 06 From: Sacramento California Member No.: 16,756 myCENT:ZERO |
your employeed on private-drive also?!? dam lmao what site are you not employeed at..neways.. i do not know of one, and if anyone does find one please tell me :-D..
but there is this one code on here somewhere that you have to put a script at te top and bottom of the page that checks for cookies to see if they have allready loged in, i do not think this will help your problem though..i hope you do find one soon though. that one site i gave you said it will have a login system coming out soon..might check back there every so often |
|
|
|
Jan 26 2006, 12:43 AM
Post
#3
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 372 Joined: 14-October 04 Member No.: 1,736 myCENT:ZERO |
I'm not that great at PHP, however, for the chat may not work with IPB and the rest of the site. You may have to have a chat script on the server with the forum and site on it. However, perhaps if the chat server sends out a cookie, you may be able to do it, but as far as I know, you can't do a login with a remote server. If you have access to the server, then you may somehow be able to do it. Anyway, sorry, but that's all that I can really tell you.
|
|
|
|
Jan 26 2006, 05:13 AM
Post
#4
|
|
|
Moderator ![]() Group: [MODERATOR] Posts: 1,344 Joined: 26-December 04 From: Canada Member No.: 2,940 myCENT:46.53 |
You would need to combine the mysql databases, and have a way to have all of the passwords authenticated... that means it can't be encrypted differently... I really don't know how to do that.
|
|
|
|
Jan 26 2006, 07:01 PM
Post
#5
|
|
|
-=Hybrid Bus=- ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 742 Joined: 2-November 05 From: My hybrid bus (in NYC), a computer Member No.: 13,709 ![]() |
Can you harvest the login code and cookie checker from the IPB code? It's most defenitely copyrighted I bet. You could attempt to make your own code that looks for the IPB login cookie, and will make it if you login from the site. As far as the chat goes, cookies from one domain name won't work on another, but you could probably make an additional cookie that works on the other domain. Just some tips; I don't know PHP really.
|
|
|
|
Feb 6 2006, 03:25 AM
Post
#6
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 21 Joined: 6-February 06 Member No.: 18,277 |
If its possible, why not make a script to post the login to each of the mysql databases? IPB and PHP, I believe, both use a table to track people using the forum. And it will delete the entry when the time expires. And again if its possible (if the site allows it) make cookies to each of the places. I'm not sure what the code is but when I find it I'll let you know
|
|
|
|
Feb 6 2006, 07:18 AM
Post
#7
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 58 Joined: 31-January 06 Member No.: 17,937 |
2 days ago i had a problem like that to make one login for oscommerce and phpbb.
ok you should: 1- open your IPB and look what is the username saves as in session(e.g. $ss_username). 2- then you can save that session variable in cookie("UserName", ".$ss_username.") or a database table. 3- in your chat search for the cookie or search in you database table. that's all; i hope that helps you. |
|
|
|
Feb 26 2006, 10:51 PM
Post
#8
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 49 Joined: 23-January 06 From: Ohio Member No.: 17,482 |
Thanks Aldy! I think that this will help out! I am sorry I didnt reply so fast, being running my site. But thanks for the information, and I will try these out!
|
|
|
|
![]() ![]() |
Similar Topics