跳到內容
  • 登入
  • 註冊
WordPress.org

Hong Kong 香港中文

  • 佈景主題
  • 外掛
  • News
  • Support
  • About
  • 重要通知
  • WordPress 常見問題
  • 團隊
  • 取得 WordPress
取得 WordPress

外掛

  • 我的收藏
  • Beta測試
  • 開發者

這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

下載

Smart Passworded Pages

由Brian Layman
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

The Smart Passworded Pages plugin enhances WordPress by allowing the creation of central login pages that grant access to any number of passworded child pages. In this fashion you can give each client/member/organization a central place to enter a password and they will be taken to the page that has only their information.

The password field is displayed as a field followed by a button with customizable text. The form is can be uniquely stylized with CSS. The child pages can in turn link to other pages protected with the same password and the password will not need to be re-entered.

To add the password field to a parent page, simply enter the short code
[smartpwpages]

If you wish to assign a unique label to the submit button or give the form a unique ID for CSS identification, the attributes in the following example can be used:
[smartpwpages label=\”Login\” ID=\”sppForm1\”]

This plugin doesn’t add the ability to add passwords to pages. WordPress has that built in. On the right hand side of the page editing screen in WordPress, you can change the visibility to Password protected and enter in a password. If you are unfamiliar with using passwords in WordPress, you might want to read this page first: https://codex.wordpress.org/Using_Password_Protection

This plugin does make the password handling smarter and enhances it so that you can enter one password on a parent page and gain access to all the children pages using that password. If you don’t know what children pages or sub-pages are, you might want to read about it here: https://codex.wordpress.org/Pages#Creating_Pages

You can find out more about the Smart Passworded Pages plugin here: http://thecodecave.com/smart-passworded-pages-plugin/

螢幕截圖

  • A login form can be added to any page. That login form will take you to the newest child page that has a matching password.
  • The plugin is activated through the simple use of a shortcode in a post.
  • On the right hand side of the page editing screen in WordPress, you can change the visibility to Password protected and enter in a password.

安裝

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

常見問題

Installation Instructions

Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.

There’s no dashboard page for this plugin. Is it working? What do I do now?

There’s no need for options, just create a parent page that is NOT passworded and include the shotcode somewhere in the text: [smartpwpages]
Then create child pages that ARE password protected using the normal WordPress process for adding a password. It’s that simple. The user will be taken to the first passworded child page that matches the password the reader entered.

If you don’t know what children pages or sub-pages are, you might want to read about it here: https://codex.wordpress.org/Pages#Creating_Pages

Your documentation doesn’t say how to enter the password into your plugin. How do you do it?

This plugin doesn’t add the ability to add passwords to pages. WordPress already has that built in. On the right hand side of the page editing screen in WordPress, near the top, you can change the \”Visibility\” value to “Password protected” and enter a password into the field that appears. Remember! Do this only for the child pages and not the parent pages!

If you are unfamiliar with using passwords in WordPress, you might want to read this page first: https://codex.wordpress.org/Using_Password_Protection

I get a password prompt when I visit my page. I enter the password, then I see my page with the password prompt on it. What’s up with that?!?

You’ve password protected the parent page. Remember, you WANT people to see the page with the smart password prompt. Remove the password from that page and you’ll be fine.

Can I put the smart password prompt in a sidebar or on the home page?

Yes, as of version 2.0. You still have to create a parent page and password protect the child pages. Then you can specify the ID of the parent page in the prompt.

In this fashion, you can create a central password page, or widget that takes you to multiple locations.

Here is an example of the contents of such a widget or page…

View Scores:
[smartpwpages parent=\”491\” label=\”Enter Team PW:\” ID=\”uniqueName1\”]

View Team Notes:
[smartpwpages parent=\”507\” label=\”Enter Team PW:\” ID=\”uniqueName2\”]

Can I style my password prompts or the wrong password error?

Of course! You can even use the ID parameter on the short code change the ID of each entry form you use and make custom CSS for each.

Here is an example of some CSS that makes the entry field, button and password error message all really ugly…
(!! NOTE: There are slashes in the following text to make it appear correctly online. Do not include the slashes () in your css file !!)

p#smartPWError {
border: 4px solid red;
width: 258px;
padding: 5px;
background-color: aqua;
font-weight: bolder;
}

#smartPWLogin input[type=\”submit\”] {
background-color: coral;
color: navy;
font-size: large;
}

input#smartPassword {
display: block;
background-color: yellowgreen;
color: cadetblue;
margin-bottom: 12px;
}

評價

Not uptodate… but it works!!

Jakours2 2019年10月17日
Add the shotcode on parent page, create child page (under parent page who have the shortcode....) with password protected option on and it's done! As easy as is! Thanks a lot! Where can i contibute?

Simple and effective

2018年2月25日
Just works!

Works like a charm.

fcontell 2017年5月10日
Plain an simple does what it says. Hopefully it keeps working over time because it hasn't been updated for 2 years.

Exactly what I needed

Cris Ta 2017年1月30日
Simple and functional. Works great!

Savior!!!

unboundpixel 2016年9月3日
I've been looking for something like this for a long time. LIFE SAVER! Thanks so much for making this, works like a charm and so simple!

Great plugin, one potential gotcha to be aware of with slugs

petemaster5000 2016年9月3日
Awesome plugin! very easy to get going, works perfect for what I needed. Thanks! One thing I ran into was getting 404 errors on the child pages. This was because of a conflict with my permalink/slug: I tried /clients/ <- plugin shortcode on this page created the child pages: /clients/client1 /clients/client2 etc... *but I had an existing page already that was: /our-clients ... and that's the problem. (it would have worked had i not had the hyphen in our-clients) once I renamed the entrance page from /clients to /portal it works like a champ!!
閱讀全部20個評價

貢獻者及開發者

“Smart Passworded Pages” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • Brian Layman

將 Smart Passworded Pages 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

修改日誌

2.0

  • Updated to current version of WordPress
  • Addressed FAQs
  • Added ability to specify the parent form in the short code
  • Escaped some variables to make the shortcode more secure

1.1.7

  • Fixed another warning.

1.1.6

  • Fixed several warnings and possible version compatibility issues.

1.1.5

  • Fixed an error on the Invalid Password response

1.1.4

  • Updated header to 3.8.1 compatibility
  • Improved documentation
  • NOTE: Released on the same day 1.1.3 was publicly checked in. This made 3.6+ compatibility universally available.

1.1.3

  • Added 3.6 compatiblity
  • Improved internationalization
  • Added support for plugins that replace the default hashing protocol

1.1.2

  • Tweeked the Exclude Pages plugin compatibilty

1.1.1

  • The version labeled 1.1.0 hadn’t included my final fixes and did not work actually work with 3.4. 1.1.1 simply includes the code that was intended to be 1.1.0.
  • Updated the styling of the changelog section of the readme file to allow it to parse correctly on WordPress.org

1.1.0

  • Updated the plugin to include the security enhancements added in WordPress 3.4

1.0.1

  • Added compatiblity with the exclude pages plugin

1.0

  • Initial Release

其它

  • 版本:2.0.0
  • 最後更新:8 年之前
  • 運作中的安裝:4,000+
  • WordPress Version: 2.5 or higher
  • 已測試到版本:4.2.35
  • 語言:
    English (US)
  • 標籤:
    loginmemberpagepasswordsecurity
  • 進階顯示

評分

顯示全部
  • 5星 18
  • 4星 1
  • 3星 0
  • 2星 0
  • 1星 1
Log in to submit a review.

貢獻者

  • Brian Layman

支援

最近兩個月解決了的問題:

1個中的0個

檢視支援論壇

捐贈

想要支援這個外掛的發展嗎?

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 贊助基金會
  • Swag
  • 技術支援
  • 開發者資源
  • 共同參與
  • Learn
  • 展示網站
  • 外掛
  • 佈景主題
  • 區塊版面配置
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • 隱私權
  • Public Code
WordPress.org
WordPress.org

Hong Kong 香港中文

  • 訪問我們的 Facebook 專頁
  • 訪問我們的 Twitter 帳戶
  • Visit our Instagram account
  • Visit our LinkedIn account
代碼就是詩歌。