[WordPress] 外掛分享: EthPress – Web3 Login

首頁外掛目錄 › EthPress – Web3 Login
100+
安裝啟用
★★★★
4.6/5 分(11 則評價)
415 天前
最後更新
問題解決
WordPress 4.6+ PHP 7.4+ v2.3.5 上架:2019-06-03

內容簡介

EthPress Web3 登入 WordPress 外掛增加了連接加密貨幣錢包的功能,例如以太坊、币安智能链 (BSC)、Polygon (MATIC) 或其他相容於以太坊虛擬機 (EVM) 的區塊鏈,以及支持 WalletConnect QR 碼的錢包,並在 WordPress 登入畫面上新增一個按鈕,讓用戶可以使用其加密錢包安全登入。

背景中,一個常規的 WordPress 使用者帳戶會被建立,因此現有的外掛和個人化設置都可以正常運作。

EthPress NFT Access 外掛 可用於控制對 WooCommerce 商品、簡單頁面和文章的存取權限。

特色

Web3 登入按鈕會自動新增至您的登入畫面
使用 EthPress 小工具,操作最簡易
使用短代碼 [ethpress_login_button] 在任何地方顯示登入按鈕
使用短代碼 [ethpress_link_button] 在任何地方顯示鏈接帳戶按鈕
本地簽名驗證。請參閱此指南,以在本機使用 JavaScript 進行簽名驗證。

PRO 版特色

需要使用EthPress PRO版本才能使用這些特點。 提供免費 7 天試用!

管理驗證服務。
在WooCommerce 登入、註冊和結帳表單上添加 EthPress 登入按鈕。
可使用 [ethpress_account] 短代碼顯示目前已登入的使用者帳戶地址。
在外掛設置中,可更改按鈕標籤文字。
WooCommerce 帳戶詳細資料顯示鏈接錢包按鈕設置
可使用「重定向 URL」設置,在成功登入後設定重新導向至某個頁面的 URL。

使用EthPress NFT Access 外掛,可基於 NFT 的存取控制控制WooCommerce 商品、簡單頁面和文章。 提供免費 7 天試用!

整合

支援Ultimate Member 外掛

EthPress NFT Access 外掛特色

驗證使用者 NFT 所有權,進行控制使用者存取權限。
使用EthPress NFT Access 外掛,能夠為封鎖的使用者提供存取控制。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.3.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「EthPress – Web3 Login」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The EthPress Web3 Login WordPress Plugin adds a capability to connect with cryptocurrency wallets such as MetaMask for Ethereum, Binance Smart Chain (BSC), Polygon (MATIC) or any other EVM-compatible blockchain, and wallets that support WalletConnect QR code. Adds a button to WordPress login screen that will let users securely log in with their crypto wallet.

Add the capability to log in with cryptocurrency wallets such as MetaMask for Ethereum, and wallets that support WalletConnect QR code. Adds a button to WordPress login screen that will let users securely log in with their crypto wallet.
In the background, a regular WordPress user account is created, so existing plugins and customizations will have no problem working along.

The EthPress NFT Access Add-On can be used to control access for WooCommerce products, simple pages and posts.

Features

A web3 login button is added to your login screen automatically
Use the EthPress widget for maximum ease
A shortcode [ethpress_login_button] can be used to display the Login button anywhere
A shortcode [ethpress_link_button] can be used to display the Link accounts button anywhere. The new account linked address will be put in all HTML elements with the ethpress-address-changed class present.
Local signature verification. To verify signatures locally with JavaScript, see this guide please.

Features PRO

The EthPress PRO version is required to use these features. Free 7 days Trial is available!

Managed Verification Service.
EthPress login button on a WooCommerce Login, Register and Checkout Forms.
The [ethpress_account] short code can be used to display the current user’s address logged with.
Buttons labels text can be changed in plugin settings
WooCommerce Account Details show Link Wallet button setting
The Redirect URL setting can be used to set an URL of a page to redirect after a successful login
The login_button_label attribute can be used to change the label for the login button displayed with a [ethpress_login_button] shortcode

The NFT Token based access control for the WooCommerce products, simple pages and posts can be done with the EthPress NFT Access Add-On. Free 7 days Trial is available!

Integrations

The Ultimate Member plugin is supported

EthPress NFT Access Add-On Features
Check user NFT authentication control (non-fungible token, erc-721 and erc-1155) ownership.
The EthPress NFT Access Add-On is perfect for blocking users access to a Page, a Post and a WooCommerce Product page, if they don’t own a certain NFT token.

Free 7 days Trial is available

Site wide NFT verification requirement to register or login
Restrict access to a Page to some NFT token owners only
Restrict access to a Post to some NFT token owners only
Restrict access to a WooCommerce Product to some NFT token owners only
Shortcode to display your access level: [ethpress_nft_access_addon_nft product_id=”1337″]
ERC721 and ERC1155 non-fungible token standards are supported

Integrations

LearnPress LMS courses access can be granted with NFT token
Tutor LMS courses access can be granted with NFT token
Ethereum Wallet plugin generated accounts are also tested

The ethpress_nft_access_get_user_accounts filter can be used to add wallets for testing:
add_filter('ethpress_nft_access_get_user_accounts', function($accounts) {
$more_accounts = get_more_accounts();
return array_merge($accounts, $more_accounts);
});

Disclaimer
By using this free plugin you accept all responsibility for handling the account balances for all your users.
Under no circumstances is ethereumico.io or any of its affiliates responsible for any damages incurred by the use of this plugin.
Every effort has been made to harden the security of this plugin, but its safe operation depends on your site being secure overall. You, the site administrator, must take all necessary precautions to secure your WordPress installation before you connect it to any live wallets.
You are strongly advised to take the following actions (at a minimum):

Educate yourself about cold and hot cryptocurrency storage
Obtain hardware wallet to store your coins
Educate yourself about hardening WordPress security
Install a security plugin such as Jetpack or any other security plugin
Enable SSL on your site if you have not already done so.

By continuing to use the EthPress plugin, you indicate that you have understood and agreed to this disclaimer.

Hooks
These hooks can be used to add your custom logic after user logged in or linked an account using the EthPress plugin functionality.
The login_redirect hook is a standard WordPress hook you can use to customize the page user should be redirected after login.

The EthPress PRO version has a feature to configure it on the plugin settings page. Free 7 days Trial is available!

/**
* Fires after every login attempt.
*
* @param WP_User|WP_Error $user WP_User on success, WP_Error on failure.
* @param (string|false) $provider One of 'metamask', 'walletconnect', false.
*/
do_action( 'ethpress_login', $user, $provider );

/**
* Fires after every user account linking success.
*
* @param WP_User|WP_Error $user WP_User on success, WP_Error on failure.
* @param (string|false) $provider One of 'metamask', 'walletconnect', false.
*/
do_action( 'ethpress_linked', $user, $provider );

/**
* Filters the login redirect URL.
*
* @param string $redirect_to The redirect destination URL.
* @param string $requested_redirect_to The requested redirect destination URL passed as a parameter.
* @param WP_User|WP_Error $user WP_User object if login was successful, WP_Error object otherwise.
*/
$redirect_to = apply_filters( 'login_redirect', $redirect_to, $requested_redirect_to, $user );

/**
* For additional checks in addons
*
* @since 1.6.0
*
* @param \losnappas\Ethpress\Address $address.
* @return \losnappas\Ethpress\Address|\WP_Error Return \WP_Error if address doesn't fulfill some condition.
*/
$address = apply_filters('ethpress_login_address', $address);

/**
* For additional checks in addons
*
* @since 1.6.0
*
* @param string $redirect_to The redirect destination URL.
* @param string $requested_redirect_to The requested redirect destination URL passed as a parameter.
* @param WP_User|WP_Error $user WP_User object if login was successful, WP_Error object otherwise.
*/
$redirect_to = apply_filters('ethpress_login_redirect', $redirect_to, $requested_redirect_to, $user);

延伸相關外掛

文章
Filter
Mastodon