This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
as published by the Free Software Foundation.

You may NOT assume that you can use any other version of the GPL.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

The license for this software can also likely be found here:
http://www.gnu.org/licenses/gpl-2.0.html

Screenshots

Logged in text.

Logged out text.

Logged in using dashicons.

Logged out using dashicons.

Installation

Extract the files from the compressed “zip” file (note the location of the extracted folder/files)

Upload the contents of the bns-login folder (from above) to the /wp-content/plugins/ directory

Activate the plugin through the ‘Plugins’ menu in WordPress

— or –

Go to ‘Plugins’ menu under your Dashboard

Click on the ‘Add New’ link

Search for bns-login

Install.

Activate through the ‘Plugins’ menu

Read this article for further assistance: http://wpfirstaid.com/2009/12/plugin-installation/

FAQ

How can I get support for this plugin?

Please note, support may be available on the WordPress Support forums; but, it may be faster to visit http://buynowshop.com/plugins/bns-login/ and leave a comment with the issue you are experiencing.

Is it really that simple?

Yes, it really is.

Can the plugin be styled?

Yes, the plugin text is wrapped in its own <div id="bns-logged-in" class="bns-login"> or <div id="bns-logged-out" class="bns-login"> depending on the login status of the user.

Copy the contents of the included bns-login-style.css file (which contains a sampling of the CSS elements generated by the plugin) and paste them into a new stylesheet bns-login-custom-style.css under ../wp-content/bns-customs/ (you may need to create this folder).
This file should not get over-written with future updates so your specific CSS will remain.

Can I use the `bns_login` shortcode in a Text widget?

Yes you can! Actually this plugin makes it possible to use any properly written shortcode to be used in a Text widget.

How do I change to the Dashicons display?

All you need to do is add the following add_filter( 'bns_login_dashed_set', '__return_true' ); to your theme’s functions.php file; or, if you use a “site plugin” add it to that file.

Why is the key icon missing when I am logged out?

The key icon will only appear if you have set Membership to allow “Anyone can register” under Settings > General in your dashboard.
Otherwise, only the lock icon will be displayed when visiting the site and you are not logged in.

Do any themes support the Dashicons display by default?

Yes, currently Opus Primus (v1.3+ – https://github.com/Cais/opus-primus) does support this display.
Please contact your theme’s author if you need help with modifying your current theme to also have it support this option by default.

Contributors & Developers

“BNS Login” is open source software. The following people have contributed to this plugin.