Wordpress authentication

This quick guide will help you configure Web File Share to authenticate the users against the database of an existing Wordpress (http://wordpress.org) installation.

It has been tested with Wordpress version 3.0.1.

Download plugins


Download the file "http://www.WebFileShare.com/downloads/WebFileShare_Wordpress_Login.zip" to your computer.

Install the Wordpress plugin


This plugin is needed for allowing the logged in Wordpress users to access Web File Share without having to login twice.

  1. Upload the file "WebFileShare-sso.php" inside the folder "/path-to-wordpress/wp-content/plugins/".
  2. Login to Wordpress as admin, select "Plugins" from the menu and activate the plugin named "Web File Share Single Sign-On"

Install the Web File Share plugin


 

  1. Open the file "/path-to-WebFileShare/customizables/config.php" in a text editor and change the line #5 like this:

$config['system']['custom_auth_file'] = "auth/wordpress.php";

Configure the Web File Share plugin


Open the file "/path-to-WebFileShare/customizables/auth/wordpress.php" in a text editor and set the path to your Wordpress installation folder, at line #9:

$this->config['wordpress']['path']['root'] = "/www/wordpress";

Please make sure the path uses only forward slashes, even if you are running a Windows server. Inside this file you can also change the default options and permissions of the Web File Share users.

Testing


You should now be able to login to Web File Share, using Wordpress credentials. To login with Web File Share superuser permissions, use a Wordpress account that has the same username as the Web File Share superuser (default username "admin").

 

Attached Files
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Name
Email
Security Code Security Code
Related Articles RSS Feed
Joomla authentication
Viewed 1252 times since Wed, Mar 5, 2014
Custom authentication
Viewed 1288 times since Wed, Mar 5, 2014
MENU