| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 8071|Reply: 9
Collapse the left

Single login from website along with forum username

[Copy link]
Post time: 2013-03-06 05:43
| Show all posts |Read mode
Hi

im new to discuz x2.5. currently i have a website which hv my own login username and password. i would like to have a single login to my website along with the forum. my website is written in php and i would like to know how to do a single login without login from both side.

Second, if i login in my website, and forum side db do not have the same username, how can i auto create a same username on the forum side?

Please guide me through.

thanks

 Russia

Post time: 2013-03-06 07:15
| Show all posts
There is a simple way:
just make the username/password the same for two sites.
I.e. install Discuz with that username...
 Author| Post time: 2013-03-06 07:26
| Show all posts
vot replied at 2013-3-6 08:15
There is a simple way:
just make the username/password the same for two sites.
I.e. install Discuz w ...

how to make username and password same for 2 site???

is impossible for user to do 2 time registration. what i nd is something similar to this

http://bbs.7boo.org/forum.php?mo ... &extra=page%3D1

one time registration, one time login able to go into 2 site without additional login or register is require.

im noob in this. thanks for your guide and help

 Russia

Post time: 2013-03-06 07:35
| Show all posts
It is possible only if both sites uses the same authority mechanizm,
i.e. both uses the same UCenter engine, or something like OpenID or oAuth protocol...
 Author| Post time: 2013-03-06 08:03
| Show all posts
vot replied at 2013-3-6 08:35
It is possible only if both sites uses the same authority mechanizm,
i.e. both uses the same UCenter ...

so what is the same authority mechanizam i need to hv in order to get both site in single sign on process. im not very understand on discuz logic. so i nd some help here

 Russia

Post time: 2013-03-06 08:12
| Show all posts
Example:
1) Install the first Discuz (together with the UCenter)
2) Install another Discuz at the same host, but WITHOUT the UCenter!!!
Just configure where the first UCenter was installed.

P.S.
If all this is hard for you, hire any specialist from this site for perform the job.
 Author| Post time: 2013-03-06 08:42
| Show all posts
vot replied at 2013-3-6 09:12
Example:
1) Install the first Discuz (together with the UCenter)
2) Install another Discuz at the sa ...

i hv already install Discuz x2.5 in my xampp server.

second is my own website with login function. the question now is how can i make it both side using single sign on ? i do not want both register and sign on. only nd one sign on method to sign in both site in a single domain. like forum.domain.com and domain.com is using the same sign on method.

 Russia

Post time: 2013-03-06 12:35
| Show all posts
Set the Cookie domain to domain.com, and the Cookie folder to "/" for both root domain and subdomain.
 Author| Post time: 2013-03-08 07:35
| Show all posts
vot replied at 2013-3-6 13:35
Set the Cookie domain to domain.com, and the Cookie folder to "/" for both root domain and subdomain ...

you mean this in my root folder of my domain.com ???

 Russia

Post time: 2013-03-08 17:50
| Show all posts
Yes, I mean a root folder at you domain.com.
You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub

Top.Mail.Ru
Top.Mail.Ru

2024-07-03 01:35 GMT+3 , Processed in 0.081668 sec., 8 queries .

Powered by Discuz! X3.4 Release 20230520

© 2001-2024 Discuz! Team.

MultiLingual version, Rev. 4301, © codersclub.org

Quick Reply To Top Return to the list