• Hi,

    First, thanks for this plugin, which fullfills almost all my needs.

    Let me describe the situation :
    I have two sites running under two different installation of wordpress.
    First site is in mysite.com, second one is in a subdirectory, mysite.com/intranet
    The two share the same user table in the same database ; users and their role are synchronized through a custom plugin that duplicates the two usermeta ‘user_level’ and ‘capabilities’ in the two usermeta tables.
    This part is working great, but I didn’t manage to keep the session from on site to another by working with wp cookies, and then I found this great plugin !

    So : it’s working perfectly for admin. Yet for non admin users, it’s working well from main site to /intranet site, but in the other way users have to log in again. Domains in the plugin are listed like this :
    http://www.mysite.com
    http://www.mysite.com/intranet/

    Any idea on how I can handle this issue ?

    Thanks in advance for any help !

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter samepress

    (@samepress)

    Hi,

    Seems like I found where was my problem.
    When a user creates an account and validates it on http://www.mysite.com/intranet/ it adds a usermeta “ussync_email_verified” whit value=true in the intranet_usermeta table, but it does not add it to the main site usermeta table.
    In the intranet list of users (in wp-admin), the new user is tagged as validate (in the “verified use”r column), but in the main site list of users, the new user is tagged as not validate. Once this user is validated by admin in the main site list of users, the usermeta “ussync_email_verified” appears in the main site usermeta table and there is no more problem to keep user connected between the two sites.

    Am i right on this point ? Would it be possible to add to the plugin an option so that once a user is verified on one site, it is also verified on the other ?

    Thanks !

    Plugin Author rafasashi

    (@rafasashi)

    Hello Samepress, thanks for using the plugin!

    Am i right on this point ? Would it be possible to add to the plugin an option so that once a user is verified on one site, it is also verified on the other ?

    Its already implemented like that. Once the user login from the verified site it will be automatically marked as valid on the other side.

    But the user must login to the main site first, thats also why I recommend you always to use the same login page regardless the site.

    Can you please try and let me know?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with non admin users’ is closed to new replies.