|
Joined: Apr 2004
Posts: 3
Lurker
|
Lurker
Joined: Apr 2004
Posts: 3 |
I recently had the Threads and PhotoPost areas of my site "integrated". Today I noticed a slight hiccup in the new user registration process. I was wondering how other have gotten around or dealt with this. On the Threads login the fields are labeled “login name” and “password”. On the PhotoPost login the fields are labeled “username” and “password”. This difference in the login process is sure to confuse people (it stumped me for a good 2 hours). If an account has the following details: Login Name: userABC Username: ABC Password: 123456 In Threads the user uses “userABC” and “123456” to get in, but in PhotoPost they have to use “ABC” and “123456” to gain access. Is there anything that can be done about this? I was considering taking out the "login" link on the PhotoPost nav since the Threads nav is always there. Thoughts? - G
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I didn't know that I'd remove the login for photopost, it uses threads' login info anyways...
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
Thats weird cause with my integration of Photopost 4.7f and Threads 6.4.1 I can hit logout on the photopost nav bar til the cows come home and it won't log me out as long as I logged into threads first and then if I am logged out and go right to photopost/index.php there is the login on the nav bar but it definitly uses the threads database to validate me cause the photopost user table has absolutley no entries in it.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
Yeah, it should all be driven by threads - threads totally handles the login.
I guess the issue can come up if you directly visit photopost without being logged in first.
Two solutions -
- Make them visit and login at Threads first - Modify the login link in photopost to go to the threads login.php page.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
Josh on my integration even if I visit photopost first and click the login on the photopost nav bar it still logs me in via threads cause there are no users in the photopost users table...
|
|
|
|
Joined: Jun 2001
Posts: 356
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 356 |
i'm still having this issue as well, is there a fix for it yet?
|
|
|
|
Joined: Jun 2002
Posts: 670
Code Monkey
|
Code Monkey
Joined: Jun 2002
Posts: 670 |
For me the PhotoPost login page never worked correctly, so this is what I did:
I copied the threads login.php to the photopost directory. Then I just edited the path to main.inc.php and the language file a it worked fine for me. For 6.4, I just added a "../forums/" to the beginning of the path that was in the login.php file I had copied into the PhotoPost directory.
|
|
|
|
Joined: Jun 2001
Posts: 356
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 356 |
cheers, i'll take a look at doing that
|
|
|
|
Joined: Feb 2002
Posts: 950
Hacker
|
Hacker
Joined: Feb 2002
Posts: 950 |
I'm not sure I'm following, but there is one aspect which I should explain - PhotoPost uses the U_UserName field for login where Threads uses the U_LoginName. You can change line 27 in the forums/threads.php to use the other field if you want; however, when I tried to change to this back in version 3.X, I got flack from our Threads users who wanted it back the way it was (which did seem a little confusing to me, but thats what they wanted).
If you want both systems to key off the same U_LoginName, you only need change that one line.
|
|
|
|
Joined: Oct 2003
Posts: 2,305
Old Hand
|
Old Hand
Joined: Oct 2003
Posts: 2,305 |
and here I have been replacing the whole send_header
|
|
|
|
Joined: Feb 2002
Posts: 950
Hacker
|
Hacker
Joined: Feb 2002
Posts: 950 |
Well, it goes with the whole "Username" prompt (versus Loginname) which is generic to all forum integrations.
|
|
|
|
Joined: Nov 2001
Posts: 10,369
I type Like navaho
|
I type Like navaho
Joined: Nov 2001
Posts: 10,369 |
One other thing I've done to help this - is modified the query which handles the login to match the U_Username or the Login field - since there are never duplicates of either. This way it works no matter what name they enter.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|