Login users to WordPress

XF2 Addons Login users to WordPress 1.0
Detects when a user logs in from the XenForo and also logs in a corresponding user in WordPress

Compatible versions
2.2
A simple XenForo addon that detects when a user logs in from the XenForo and also logs in a corresponding user in WordPress.

Requirements
  1. Both WP and XF must be on the same server
  2. You cannot use subdomains, only subfolders (ex: domain.com/community)
  3. Both WP and XF users must have the same username or email, and password
Bonus: Use the XFtoWP WordPress Plugin to sync, update, and log users from WordPress without the above technical restrictions. XFtoWP is NOT required to use this addon.

Setup instructions
  1. Download the zip file and install the addon to your XenForo admin panel
  2. Mark as active, and go to the addon's settings
  3. Enter the file path to the root folder of your WordPress website
  4. Done, test your first registration

Screen Shot 2023-06-29 at 20.51.39.png


Don't know your WP site's file path?

Install this helper plugin to your WordPress site to print the file path to the top of your website. Make sure you delete the plugin immediately after you copy the file path.

Testing
After installing the addon and setting a WordPress installation path, follow these steps to test the user login flow:
  1. Choose or create a test user on both sites with the same username or email, and password
  2. Go to your XF website and log in as the user
  3. Click or type the URL of your WP site to see if you are also logged in to WP
  • Like
Reactions: Frawg and 36alma
shanruto
Author shanruto
Level
10
5,175 pts
1.0 Version
2 Downloads
566 Views
Published
Updated
0.00 star(s) 0 ratings Average Rating (0)
No Tags

More files from shanruto

Top Bottom