{"id":6461,"date":"2009-08-16T00:14:03","date_gmt":"2009-08-16T00:14:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bns-login\/"},"modified":"2018-02-20T18:00:50","modified_gmt":"2018-02-20T18:00:50","slug":"bns-login","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/bns-login\/","author":914362,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.5.2","stable_tag":"2.5.2","tested":"4.9.29","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"BNS Login","header_author":"Edward Caissie","header_description":"","assets_banners_color":"636464","last_updated":"2018-02-20 18:00:50","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/buynowshop.com\/","header_plugin_uri":"http:\/\/buynowshop.com\/plugins\/bns-login\/","header_author_uri":"http:\/\/edwardcaissie.com\/","rating":0,"author_block_rating":0,"active_installs":30,"downloads":11721,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"":"<p>Please stay current with your WordPress installation, your active theme, and your plugins.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1002152","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1002152","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"747544","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"747544","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.3.1","1.3.2","1.3.3","1.3.3.1","1.3.3.2","1.4","1.5","1.5.1","1.5.3","1.6","1.7","1.8","1.8.1","1.9","2.0","2.0.1","2.1","2.1.1","2.2","2.3","2.3.1","2.3.2","2.3.3","2.4","2.5","2.5.1","2.5.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"600997","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"600997","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1002152","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1002152","resolution":"4","location":"assets"}},"screenshots":{"1":"Logged in text.","2":"Logged out text.","3":"Logged in using dashicons.","4":"Logged out using dashicons."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,434,2640,602,13421],"plugin_category":[38,43],"plugin_contributors":[80960],"plugin_business_model":[],"class_list":["post-6461","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-dashboard","plugin_tags-footer","plugin_tags-login","plugin_tags-plugin-only","plugin_category-authentication","plugin_category-customization","plugin_contributors-cais","plugin_committers-cais"],"banners":{"banner":"https:\/\/ps.w.org\/bns-login\/assets\/banner-772x250.png?rev=747544","banner_2x":"https:\/\/ps.w.org\/bns-login\/assets\/banner-1544x500.png?rev=747544","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/bns-login\/assets\/icon-128x128.png?rev=1002152","icon_2x":"https:\/\/ps.w.org\/bns-login\/assets\/icon-256x256.png?rev=1002152","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/bns-login\/assets\/screenshot-1.png?rev=600997","caption":"Logged in text."},{"src":"https:\/\/ps.w.org\/bns-login\/assets\/screenshot-2.png?rev=600997","caption":"Logged out text."},{"src":"https:\/\/ps.w.org\/bns-login\/assets\/screenshot-3.png?rev=1002152","caption":"Logged in using dashicons."},{"src":"https:\/\/ps.w.org\/bns-login\/assets\/screenshot-4.png?rev=1002152","caption":"Logged out using dashicons."}],"raw_content":"<!--section=description-->\n<p>A simple plugin providing a link to the dashboard; and, a method to log in and out of your blog in the footer of the theme. This is ideal for those not wanting to use the meta widget\/code links.<\/p>\n\n<p>Now with an added toggle to support a minimalist approach using Dashicons.<\/p>\n\n<p>See the FAQ for more details ...\n* Copyright 2009-2016  Edward Caissie  (email : edward.caissie@gmail.com)<\/p>\n\n<p>This program is free software; you can redistribute it and\/or modify\n  it under the terms of the GNU General Public License version 2,\n  as published by the Free Software Foundation.<\/p>\n\n<p>You may NOT assume that you can use any other version of the GPL.<\/p>\n\n<p>This program is distributed in the hope that it will be useful,\n  but WITHOUT ANY WARRANTY; without even the implied warranty of\n  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n  GNU General Public License for more details.<\/p>\n\n<p>You should have received a copy of the GNU General Public License\n  along with this program; if not, write to the Free Software\n  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA<\/p>\n\n<p>The license for this software can also likely be found here:\n  http:\/\/www.gnu.org\/licenses\/gpl-2.0.html<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Extract the files from the compressed \"zip\" file (note the location of the extracted folder\/files)<\/li>\n<li>Upload the contents of the <code>bns-login<\/code> folder (from above) to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>-- or -<\/p>\n\n<ol>\n<li>Go to 'Plugins' menu under your Dashboard<\/li>\n<li>Click on the 'Add New' link<\/li>\n<li>Search for bns-login<\/li>\n<li>Install.<\/li>\n<li>Activate through the 'Plugins' menu<\/li>\n<\/ol>\n\n<p>Read this article for further assistance: http:\/\/wpfirstaid.com\/2009\/12\/plugin-installation\/<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Extract the files from the compressed \"zip\" file (note the location of the extracted folder\/files)<\/li>\n<li>Upload the contents of the <code>bns-login<\/code> folder (from above) to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<p>-- or -<\/p>\n\n<ol>\n<li>Go to 'Plugins' menu under your Dashboard<\/li>\n<li>Click on the 'Add New' link<\/li>\n<li>Search for bns-login<\/li>\n<li>Install.<\/li>\n<li>Activate through the 'Plugins' menu<\/li>\n<\/ol>\n\n<p>Read this article for further assistance: http:\/\/wpfirstaid.com\/2009\/12\/plugin-installation\/<\/p><\/dd>\n<dt>How can I get support for this plugin?<\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt>Is it really that simple?<\/dt>\n<dd><p>Yes, it really is.<\/p><\/dd>\n<dt>Can the plugin be styled?<\/dt>\n<dd><p>Yes, the plugin text is wrapped in its own <code>&lt;div id=\"bns-logged-in\" class=\"bns-login\"&gt;<\/code> or <code>&lt;div id=\"bns-logged-out\" class=\"bns-login\"&gt;<\/code> depending on the login status of the user.<\/p>\n\n<p>Copy the contents of the included <code>bns-login-style.css<\/code> file (which contains a sampling of the CSS elements generated by the plugin) and paste them into a new stylesheet <code>bns-login-custom-style.css<\/code> under <code>..\/wp-content\/bns-customs\/<\/code> (you may need to create this folder).\nThis file should not get over-written with future updates so your specific CSS will remain.<\/p><\/dd>\n<dt>Can I use the `bns_login` shortcode in a Text widget?<\/dt>\n<dd><p>Yes you can! Actually this plugin makes it possible to use any properly written shortcode to be used in a Text widget.<\/p><\/dd>\n<dt>How do I change to the Dashicons display?<\/dt>\n<dd><p>All you need to do is add the following <code>add_filter( 'bns_login_dashed_set', '__return_true' );<\/code> to your theme's <code>functions.php<\/code> file; or, if you use a \"site plugin\" add it to that file.<\/p><\/dd>\n<dt>Why is the key icon missing when I am logged out?<\/dt>\n<dd><p>The key icon will only appear if you have set Membership to allow \"Anyone can register\" under Settings &gt; General in your dashboard.\nOtherwise, only the lock icon will be displayed when visiting the site and you are not logged in.<\/p><\/dd>\n<dt>Do any themes support the Dashicons display by default?<\/dt>\n<dd><p>Yes, currently Opus Primus (v1.3+ - https:\/\/github.com\/Cais\/opus-primus) does support this display.\nPlease contact your theme's author if you need help with modifying your current theme to also have it support this option by default.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.5.2<\/h4>\n\n<ul>\n<li>Released November 2016.<\/li>\n<li>Add English (Canadian) translation files.<\/li>\n<\/ul>\n\n<h4>2.5.1<\/h4>\n\n<ul>\n<li>Released November 2016.<\/li>\n<li>Changed class to singleton-style format and re-organized as needed.<\/li>\n<li>Added minor formatting changes.<\/li>\n<li>Updated copyright year references.<\/li>\n<li>Updated i18n compatibility.<\/li>\n<\/ul>\n\n<h4>2.5<\/h4>\n\n<ul>\n<li>Released April 2015<\/li>\n<li>Added <code>bns_login_in_plugin_update_message<\/code> function<\/li>\n<li>Clean-up extraneous documentation<\/li>\n<li>Update copyright year and tested up to version<\/li>\n<\/ul>\n\n<h4>2.4<\/h4>\n\n<ul>\n<li>Released October 2014<\/li>\n<li>Added filter <code>dashicons<\/code> dependency to the main stylesheet<\/li>\n<li>Added toggle to use <code>dashicons<\/code> instead of text<\/li>\n<li>Added some basic sanitization to URL components and structures<\/li>\n<li>Added <code>is_ssl()<\/code> to detect correct protocol for logout return URL<\/li>\n<li>Update copyright year references to include 2014 in all files<\/li>\n<li>Minor whitespace, documentation, and code formatting changes<\/li>\n<li>Defined <code>BNS_CUSTOM_PATH<\/code> and <code>BNS_CUSTOM_URL<\/code> for customizations<\/li>\n<li>Implement the use of <code>..\/wp-content\/bns-customs\/<\/code> for customizations<\/li>\n<li>Added screenshots to show <code>dashicons<\/code> in use.<\/li>\n<li>Updated <code>readme.txt<\/code> with additional FAQ items about using the <code>dashicons<\/code> display<\/li>\n<\/ul>\n\n<h4>2.3.3<\/h4>\n\n<ul>\n<li>Released March 2014<\/li>\n<li>Inline documentation, version compatibility, and copyright years updated<\/li>\n<li>Added <code>plugin_data<\/code> method<\/li>\n<li>Added <code>plugin_row_meta<\/code> links<\/li>\n<\/ul>\n\n<h4>2.3.2<\/h4>\n\n<ul>\n<li>Release December 2013<\/li>\n<li>Add the option to put custom stylesheet in <code>\/wp-content\/<\/code> folder<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Release August 2013<\/li>\n<li>Added documentation for Jetpack Infinite Scroll Compatibility (JISC) function<\/li>\n<li>Added specific id wrappers for the credit details in JISC function<\/li>\n<li>Added link to Theme reference pointing to Theme URI in JISC function<\/li>\n<\/ul>\n\n<h4>2.3<\/h4>\n\n<ul>\n<li>Release August 2013<\/li>\n<li>Added Jetpack Infinite Scroll compatibility<\/li>\n<\/ul>\n\n<h4>2.2<\/h4>\n\n<ul>\n<li>Release July 2013<\/li>\n<li>Added dynamic filter parameter <code>bns_login<\/code><\/li>\n<\/ul>\n\n<h4>2.1.1<\/h4>\n\n<ul>\n<li>Release May 2013<\/li>\n<li>Correct default redirect URL to point to 'wp-admin'<\/li>\n<\/ul>\n\n<h4>2.1<\/h4>\n\n<ul>\n<li>Released May 2013<\/li>\n<li>Added plugin version data dynamically to enqueue calls<\/li>\n<li>Added (enqueued) 'BNS Login Form Style' to style the form<\/li>\n<li>Added <code>bns_login_form<\/code> (<code>wp_login_form<\/code> wrapper) for use as the shortcode output<\/li>\n<li>Updated for version compatibility and minor code formatting<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Released February 2013<\/li>\n<li>Documentation updates (copyright year, compatibility version)<\/li>\n<li>Added code block termination comments<\/li>\n<li>Changed MultiSite conditional to use <code>is_multisite<\/code><\/li>\n<\/ul>\n\n<h4>2.0<\/h4>\n\n<ul>\n<li>Released November 2012<\/li>\n<li>Add empty hooks before and after main output<\/li>\n<li>Add filter hooks to all of the text output<\/li>\n<li>Add Shortcode functionality to text widgets<\/li>\n<li>Add Shortcode for this plugin<\/li>\n<li>Add wrapping classes around output elements<\/li>\n<li>Refactored <code>bns_login_main<\/code> to use hooks instead of array elements<\/li>\n<li>Remove <code>load_textdomain<\/code> as redundant<\/li>\n<li>Updated 'readme' with FAQ on shortcode use<\/li>\n<\/ul>\n\n<h4>1.9<\/h4>\n\n<ul>\n<li>Implemented OOP style class coding<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>confirmed compatible with WordPress 3.4<\/li>\n<li>inline documentation and minor code formatting<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>released November 2011<\/li>\n<li>confirmed compatible with WordPress 3.3<\/li>\n<li>added phpDoc Style documentation<\/li>\n<li>added conditional check for custom stylesheet<\/li>\n<li>cleaned up use of <code>wp_register<\/code><\/li>\n<li>general code tidying<\/li>\n<li>wrap <code>BNS_Login<\/code> and <code>bns_login_output<\/code> in <code>function_exists<\/code> conditionals<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>released June 2011<\/li>\n<li>confirmed compatible with WordPress version 3.2-RC1<\/li>\n<li>minor changes to front-facing text<\/li>\n<li>allow editable parameters for the text<\/li>\n<li>added editable separator character(s)<\/li>\n<li>separator character(s) has its own style class, <code>bns-login-separator<\/code><\/li>\n<li>added 'Register' link if the site allows for user self-registration; thanks to Andy Fragen for the idea.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>released June 2011<\/li>\n<li>confirmed compatible with WordPress version 3.2-beta2-18085<\/li>\n<li>enqueued the stylesheets<\/li>\n<li>added the ability to put custom CSS into <code>bns-login-custom-style.css<\/code> that will not be over-written with updates.<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>released December 11, 2010<\/li>\n<li>Confirm compatible with WordPress 3.1 (beta)<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>added 'clear:both;' to '.bns-login'<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>released: 29 Aug 2010<\/li>\n<li>compatibility check with WordPress 3.0.1<\/li>\n<li>no other modifications<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>minor code corrections<\/li>\n<li>code clean up to meet WP Standards<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>compatible with WordPress version 3.0<\/li>\n<li>added plugin specific style sheet<\/li>\n<li>centered the text as a default in the style sheet<\/li>\n<\/ul>\n\n<h4>1.3.3.2<\/h4>\n\n<ul>\n<li>compatible with WordPress version 2.9.2<\/li>\n<li>updated license declaration<\/li>\n<\/ul>\n\n<h4>1.3.3.1<\/h4>\n\n<ul>\n<li>clarified the plugin release under a GPL license<\/li>\n<\/ul>\n\n<h4>1.3.3<\/h4>\n\n<ul>\n<li>compatibility check for 2.9.1 completed<\/li>\n<\/ul>\n\n<h4>1.3.2<\/h4>\n\n<ul>\n<li>compatibility check for 2.9 completed<\/li>\n<\/ul>\n\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>minor code error correction<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Code clean up<\/li>\n<li>Comments and documentation added<\/li>\n<li>Version control added<\/li>\n<li>localization code init function<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added localization code<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added WordPressMU Compatibility - Logout returns user to main domain (home) of WPMU installation.<\/li>\n<li>Corrected deprecated parameter variable 'siteurl' to 'url'<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"This plugin provides a link, in the theme footer area, to the dashboard when logged in as well as a log out link. A shortcode is also available.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6461"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/cais"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6461"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6461"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6461"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6461"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6461"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}