跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

BNS Login

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

BNS Login

作者:Edward Caissie
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

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.

Now with an added toggle to support a minimalist approach using Dashicons.

See the FAQ for more details …
* Copyright 2009-2016 Edward Caissie (email : edward.caissie@gmail.com)

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

屏幕截图

  • Logged in text.
  • Logged out text.
  • Logged in using dashicons.
  • Logged out using dashicons.

安装

  1. Extract the files from the compressed “zip” file (note the location of the extracted folder/files)
  2. Upload the contents of the bns-login folder (from above) to the /wp-content/plugins/ directory
  3. 通过WordPress的“插件”菜单激活插件

— or –

  1. Go to ‘Plugins’ menu under your Dashboard
  2. Click on the ‘Add New’ link
  3. Search for bns-login
  4. Install.
  5. Activate through the ‘Plugins’ menu

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

常见问题

Installation Instructions
  1. Extract the files from the compressed “zip” file (note the location of the extracted folder/files)
  2. Upload the contents of the bns-login folder (from above) to the /wp-content/plugins/ directory
  3. 通过WordPress的“插件”菜单激活插件

— or –

  1. Go to ‘Plugins’ menu under your Dashboard
  2. Click on the ‘Add New’ link
  3. Search for bns-login
  4. Install.
  5. Activate through the ‘Plugins’ menu

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

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.

评价

此插件暂无评价。

贡献者及开发者

「BNS Login」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Edward Caissie

「BNS Login」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「BNS Login」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

2.5.2

  • Released November 2016.
  • Add English (Canadian) translation files.

2.5.1

  • Released November 2016.
  • Changed class to singleton-style format and re-organized as needed.
  • Added minor formatting changes.
  • Updated copyright year references.
  • Updated i18n compatibility.

2.5

  • Released April 2015
  • Added bns_login_in_plugin_update_message function
  • Clean-up extraneous documentation
  • Update copyright year and tested up to version

2.4

  • Released October 2014
  • Added filter dashicons dependency to the main stylesheet
  • Added toggle to use dashicons instead of text
  • Added some basic sanitization to URL components and structures
  • Added is_ssl() to detect correct protocol for logout return URL
  • Update copyright year references to include 2014 in all files
  • Minor whitespace, documentation, and code formatting changes
  • Defined BNS_CUSTOM_PATH and BNS_CUSTOM_URL for customizations
  • Implement the use of ../wp-content/bns-customs/ for customizations
  • Added screenshots to show dashicons in use.
  • Updated readme.txt with additional FAQ items about using the dashicons display

2.3.3

  • Released March 2014
  • Inline documentation, version compatibility, and copyright years updated
  • Added plugin_data method
  • Added plugin_row_meta links

2.3.2

  • Release December 2013
  • Add the option to put custom stylesheet in /wp-content/ folder

2.3.1

  • Release August 2013
  • Added documentation for Jetpack Infinite Scroll Compatibility (JISC) function
  • Added specific id wrappers for the credit details in JISC function
  • Added link to Theme reference pointing to Theme URI in JISC function

2.3

  • Release August 2013
  • Added Jetpack Infinite Scroll compatibility

2.2

  • Release July 2013
  • Added dynamic filter parameter bns_login

2.1.1

  • Release May 2013
  • Correct default redirect URL to point to ‘wp-admin’

2.1

  • Released May 2013
  • Added plugin version data dynamically to enqueue calls
  • Added (enqueued) ‘BNS Login Form Style’ to style the form
  • Added bns_login_form (wp_login_form wrapper) for use as the shortcode output
  • Updated for version compatibility and minor code formatting

2.0.1

  • Released February 2013
  • Documentation updates (copyright year, compatibility version)
  • Added code block termination comments
  • Changed MultiSite conditional to use is_multisite

2.0

  • Released November 2012
  • Add empty hooks before and after main output
  • Add filter hooks to all of the text output
  • Add Shortcode functionality to text widgets
  • Add Shortcode for this plugin
  • Add wrapping classes around output elements
  • Refactored bns_login_main to use hooks instead of array elements
  • Remove load_textdomain as redundant
  • Updated ‘readme’ with FAQ on shortcode use

1.9

  • Implemented OOP style class coding

1.8.1

  • confirmed compatible with WordPress 3.4
  • inline documentation and minor code formatting

1.8

  • released November 2011
  • confirmed compatible with WordPress 3.3
  • added phpDoc Style documentation
  • added conditional check for custom stylesheet
  • cleaned up use of wp_register
  • general code tidying
  • wrap BNS_Login and bns_login_output in function_exists conditionals

1.7

  • released June 2011
  • confirmed compatible with WordPress version 3.2-RC1
  • minor changes to front-facing text
  • allow editable parameters for the text
  • added editable separator character(s)
  • separator character(s) has its own style class, bns-login-separator
  • added ‘Register’ link if the site allows for user self-registration; thanks to Andy Fragen for the idea.

1.6

  • released June 2011
  • confirmed compatible with WordPress version 3.2-beta2-18085
  • enqueued the stylesheets
  • added the ability to put custom CSS into bns-login-custom-style.css that will not be over-written with updates.

1.5.3

  • released December 11, 2010
  • Confirm compatible with WordPress 3.1 (beta)

1.5.2

  • added ‘clear:both;’ to ‘.bns-login’

1.5.1

  • released: 29 Aug 2010
  • compatibility check with WordPress 3.0.1
  • no other modifications

1.5

  • minor code corrections
  • code clean up to meet WP Standards

1.4

  • compatible with WordPress version 3.0
  • added plugin specific style sheet
  • centered the text as a default in the style sheet

1.3.3.2

  • compatible with WordPress version 2.9.2
  • updated license declaration

1.3.3.1

  • clarified the plugin release under a GPL license

1.3.3

  • compatibility check for 2.9.1 completed

1.3.2

  • compatibility check for 2.9 completed

1.3.1

  • minor code error correction

1.3

  • Code clean up
  • Comments and documentation added
  • Version control added
  • localization code init function

1.2

  • Added localization code

1.1

  • Added WordPressMU Compatibility – Logout returns user to main domain (home) of WPMU installation.
  • Corrected deprecated parameter variable ‘siteurl’ to ‘url’

1.0

  • Initial Release

额外信息

  • 版本 2.5.2
  • 最后更新:8 年前
  • 活跃安装数量 30+
  • WordPress 版本 3.8 或更高版本
  • 已测试的最高版本为 4.9.29
  • 语言

    English (Canada) 、 English (US) 和 Swedish.

    翻译成简体中文

  • 标签
    admindashboardfooterloginplugin-only
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • Edward Caissie

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.