Title: External login and wpforo
Last modified: April 21, 2020

---

# External login and wpforo

 *  Resolved [vynnus](https://wordpress.org/support/users/vynnus/)
 * (@vynnus)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/functions-php-4/)
 * [@tbenyon](https://wordpress.org/support/users/tbenyon/) can you provide the 
   code/snippet to be placed inside the functions.php so I can authenticate users
   with wpforo plugin?
 * I have an mssql server connecteced and all fields mapped successfully with External
   Login.
    -  This topic was modified 6 years, 1 month ago by [vynnus](https://wordpress.org/support/users/vynnus/).

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/functions-php-4/#post-12711806)
 * Hey [@vynnus](https://wordpress.org/support/users/vynnus/),
 * From what I’ve read briefly, wpforo is just a plugin but it is installed on a
   normal WordPress install.
 * For this reason, I am assuming that you have a WordPress site with this plugin
   already installed. You are now creating another WordPress site which you want
   to be able to login to using the users stored in the first (using External Login
   to do so).
 * Assuming this is the case, although I’ve never used it, multi-site may be a better
   option for you. If however, you’ve already disregarded this as not working for
   what you want to do this plugin may help you.
 * In this situation you will not need any additional code in your functions.php
   file. You will just need to use the `phpass` option for your hashing algorithm
   and setup the rest of the plugin settings.
 * Thanks,
 * Tom
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [6 years ago](https://wordpress.org/support/topic/functions-php-4/#post-12771898)
 * Hey [@vynnus](https://wordpress.org/support/users/vynnus/),
 * Haven’t heard back from you for a while so I’m going to assume this is resolved.
 * If not, don’t hesitate to get back in contact and we’ll see what we can do 🙂
 * Thanks,
 * Tom 🙂
 *  Thread Starter [vynnus](https://wordpress.org/support/users/vynnus/)
 * (@vynnus)
 * [6 years ago](https://wordpress.org/support/topic/functions-php-4/#post-12779799)
 * hi [@tbenyon](https://wordpress.org/support/users/tbenyon/) ,
 * my case is:
 * I have a non wordpress web app where all users are registered (e-mail and passwd).
   
   This web app runs on a subdomain. Users data are all saved into a mssql db.
 * And then I have a wordpress website running on main domain.
    I have the wpforo
   plugin installed on this website. So I need those users to login into wpforo.
   That’s it.
 * But I just read wordpress requires the users to be registered also on wordpress
   database.
 * So although it sounds simple to explain it looks harder to deploy.
 * Anyways, thank you for your help.
 *  Plugin Author [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * (@tbenyon)
 * [6 years ago](https://wordpress.org/support/topic/functions-php-4/#post-12779867)
 * Hey [@vynnus](https://wordpress.org/support/users/vynnus/),
 * Having the users registered as a duplicate in the WordPress database is exactly
   how this plugin works for that very reason. If the user changes in the external
   database, next time they login, we update that users details in WordPress.
 * It is likely you won’t need any code in your functions.php file and you can set
   this all up from the plugins settings page.
 * Just put in the details to be able to connect to the custom mssql database that
   the subdomain uses.
 * If you have any further questions, let me know.
 * Thanks,
 * Tom 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘External login and wpforo’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/external-login_fbebd6.svg)
 * [External Login](https://wordpress.org/plugins/external-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/external-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/external-login/)
 * [Active Topics](https://wordpress.org/support/plugin/external-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/external-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/external-login/reviews/)

## Tags

 * [mssql](https://wordpress.org/support/topic-tag/mssql/)

 * 4 replies
 * 2 participants
 * Last reply from: [tbenyon](https://wordpress.org/support/users/tbenyon/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/functions-php-4/#post-12779867)
 * Status: resolved