• Resolved ts_hamlet

    (@ts_hamlet)


    Hello,

    I installed and activated this plugin on my site, which has installed wp5.3 (served from mydomain.com) and phpbb 3.2.8 (served from mydomain.com/forum). Both work fine as they are, but i am looking for a single sign-on between the two.

    This plugin seems to be able to do the job. But when i install then activate the plugin, i have found that users are unable to login to wp – after entering a correct username/password, instead of being redirected to the dashboard, i am being redirected to wp index. This behaviour stops as soon as i physically remove the w3all plugin folder from the wp plugins directory. Have obviously tried clearing caches (firefox 70.0.1) but no use, unless i remove the plugin.

    Any help?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author axew3

    (@axewww)

    Hello!
    Have you follow all procedure steps?
    In this thread, i recently resumed some important common issues that you can check (please read all linked topic, issue is different, but medicine the same):
    https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=1426
    especially into last post reply:
    https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=1426#p4156

    and may let know!

    Thread Starter ts_hamlet

    (@ts_hamlet)

    Hi, thanks for the quick reply. I have followed all of the above steps and the login loop is still happening.

    In phpBB, allow remember me logins is yes, remember me key expiration length is 0 days. WP cache and phpbb cookies deleted frequently.

    I am currently testing this on my local machine before pushing to live server, on a virtual host, dev.mydomain.org. So, phpBB cookie is .dev.mydomain.org (although there is no difference if i use dev.mydomain.org (minus the initial dot)). I have also tried setting this to localhost but makes no different to whether i can log into to wordpress or not.

    Plugin Author axew3

    (@axewww)

    .dev.mydomain.org
    cookie setting NEED TO BE
    .mydomain.org
    so the phpBB cookie will be available overall the domain/subdomain and also for wordpress into another subfolder.

    Since you’re not in iframe (or still not), try to login in phpBB, then load wordpress. What happen, you’re then also logged in wp automatically?

    Before to do this, setup phpBB cookie to be available over all the domain, logout from phpBB, clean phpBB cookies (click into link Clean cookie on phpBB frontend page bottom link), then re-login in phpBB. Open wordpress and check if you’re then logged in or not.

    Thread Starter ts_hamlet

    (@ts_hamlet)

    Yes, changing the phpBB cookie to .mydomain.org worked perfectly! Thanks ??

    Not sure if you’d prefer this as a separate request, but i’d like to link the users (for a single-sign on) but both wordpress users and phpBB users have different id’s. How can i link the two?

    Thread Starter ts_hamlet

    (@ts_hamlet)

    Ah, i see they just need the same username. Do they need to have the same password too? Is the hashing of the password different between wp and phpBB?

    Plugin Author axew3

    (@axewww)

    If you’re installing/logged as wp admin UID 1 the UID 2 in phpBB need to exist. It is not required that the username is the same in this case (unique exception).

    WHILE if you’re installing with any other wp user, in phpBB you need that exist a same username/email.

    The password at this time is the one of phpBB if differ from WP pass.

    Bad English, but all is here and on linked help pages (and inline plugin admin page):
    https://www.axew3.com/w3/cms-plugins-scripts/wordpress-plugins-scripts-docs/wordpress-phpbb-integration/

    let know if any doubt or you’re still in trouble

    • This reply was modified 5 years, 4 months ago by axew3.
    Plugin Author axew3

    (@axewww)

    Not sure if you’d prefer this as a separate request, but i’d like to link the users (for a single-sign on) but both wordpress users and phpBB users have different id’s. How can i link the two?

    i’ve read this after … OK!

    I have may not understand the question:
    if users register in wordpress side, they are added in phpBB at same time also.

    The integration works by usernames, not IDS.

    if users register in phpBB, they are added in wp: when they visits wp side, while logged in phpBB, or when they login in wp side (and are already registered in phpBB). To add at same time users in wordpress when users register in phpBB, despite they visit or not at this time wordpress side, there are several ways to achieve this, many tricks are explained with examples into sticky forum posts:
    https://www.axew3.com/w3/forums/viewtopic.php?f=2&t=643

    may these tricks should be updated for an improved version, so if any doubt, bug or you need suggestions, just post.
    I have misunderstand something on your question?
    Just post ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Once this plugin is activated, login page redirects to wp index’ is closed to new replies.