View Single Post
Old December 22nd, 2011, 10:51 AM   #31 (permalink)
Chuck S
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,699
Here are several things you need to consider here. While we do not technically support changes in integration we do have tools that can help one do it as well as outline the steps. We however have no control over how forum import scripts import users from other forums into the new forum or how that data is handled or stored.

Here is what I see.

1. On your site I stay logged in whether I check a remember me box or not with the login you gave me.

2. I gave you my test site you will see you stay logged in regardless of whether you check the remember me box or not.

I gave you the one thing I found which was possibly when dealing a session the query could be pulling an older session variable so the fix I posted solves that issue.

If the only users that you have an issue with are ones you imported with some xenforo import script then you need to find out what the actual issue with the imported data is.

How does xenforo handle that. Do they handle passwords differently for imported data from vbulletin and if so then that could be causing your issue and is outside the support of our software.

If I had some more information I may be able to tell you something that would work our software is not going to handle users differently based on whether they are imported or not.

Here is how a user is authenticated. We look for the xenforo xf_user cookie if it exists that is how PhotoPost knows your logged in or not. If that cookie does not exist we look for the session cookie which is xf_session.

Now when a user is logged in with the user cookie which is the users userid and password we grab those from the cookie

Code:
Content visible to verified customers only.
Now if that user cookie exists we compare the cookie password with a $globalsalt config variable mixed with the user password that is the cookie password in xenforo.

Code:
Content visible to verified customers only.
I would highly suspect if the issue you have is only those imported users that xenforo handles them slightly different so maybe ask them how they are handled differently than a normally registered xenforo user.

Does that make more sense here that is if I am following your issue correctly. All I have to go on is the normall default supported integration.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote