WordPressの新規ユーザー登録を管理したいですか?
WordPressで会員制サイトを運営したり、ユーザー登録を許可している場合、残念ながらスパムユーザー登録につながることがよくあります。
この投稿では、WordPressで新規ユーザー登録を簡単に管理し、手動で承認や拒否を行う方法を紹介します。
WordPressで新規ユーザー登録を管理する理由
WordPressでは、サイトを新規ユーザー登録用に公開することができます。これにより、ユーザーはあなたのサイトにアカウントを作成することができます。
多くのサイトオーナーは、プレミアムコンテンツの閲覧、ファイルのダウンロード、オンラインストアでの商品購入などにユーザー登録を必須としています。
初期設定では、購読者権限グループのようなすべての新規ユーザー登録に割り当てるユーザーロールを選択することができます。これにより、サイトに特定の権限と機能が与えられます。
ユーザーがあなたのサイトで何を見たり、何ができるかをより細かくコントロールするには、MemberPressプラグインが必要です。MemberPressはWordPressのメンバーシッププラグインで、サイト上でメンバーシップやサブスクリプションを簡単に販売することができます。
MemberPressを使用して、コースの販売、有料ニュースレターの作成、その他のプレミアムコンテンツの会員登録を行うことができます。
eBook、音楽、ソフトウェアなどのデジタルダウンロード販売をお考えなら、Easy Digital Downloadsプラグインをご利用ください。
また、サイト上で物理的な製品を販売している場合は、WooCommerceオンラインストアの一部としてユーザー登録を必須とし、配送に関する詳細を保存できるようにします。
さて、新規ユーザー登録のためにサイトをオープンする際に問題となるのがスパム登録です。
スパムコメントと同様に、登録フォームを探し回り、それを埋めるだけの自動ボットも存在する。
ReCaptchaやその他の方法でスパムユーザー登録をブロックすることができますが、ユーザーエクスペリエンスにも影響します。
幸いなことに、ユーザーモデレーションキューを通してスパムユーザー登録を防ぐ方法があります。
そこで、WordPressで新規ユーザー登録を簡単に管理し、サイトへのサインアップを承認または拒否する方法を見てみましょう。
方法1.カスタム登録フォームでWordPressのユーザー登録を管理する
ほとんどのサイトオーナーは、WordPressのカスタムユーザー登録フォームを好んで使用しています。これにより、ブランドのニーズに一致するようにスタイルをカスタマイズしたり、自動的にユーザーをメールマガジンに追加したりすることができます。
WPFormsは、500万以上のサイトで使用されている最高のドラッグ&ドロップWordPressフォームビルダーで、強力なユーザー登録アドオンが付属しています。
注:私たちのサイトではWPFormsを使用しており、すべてのユーザーに推奨しています。
ユーザー登録アドオンでは、完全にカスタム化されたWordPressユーザー登録フォームやWordPressログインフォームを作成することができます。
また、新規ユーザー登録の際に管理者の承認を有効にすることもできます。
WPFormsは一般的なメールマーケティングサービスとすべて統合されているので、WPFormsを使ってすべてのユーザーを自動的にメールリストに追加することができます。
また、無料のUncanny Automatorとの統合により、さらにコード不要のワークフロー自動化が有効化され、時間の節約に役立ちます。
もしWPFormsのカスタマイザーユーザー登録フォームを使っていないのであれば、心配はいりません。次の方法では、WooCommerce、MemberPress、その他基本的にすべてのプラグインでユーザー登録をモデレートする方法を説明します。
方法2.WordPressで新規ユーザーを承認してユーザー登録を管理する
まず、無料のNew User Approveプラグインをインストールして有効化する必要があります。詳しくは、WordPressプラグインのインストール方法のステップバイステップガイドをご覧ください。
有効化した場合、このプラグインはWordPressのすべてのユーザー登録のモデレーションを有効化し、WooCommerce、MemberPress、LearnDash、BuddyPress、Easy Digital Downloads、その他すべてのユーザー登録プラグインと互換性があります。
WordPressの初期設定でユーザー登録を行っている場合、ユーザー登録フォームに以下のようなメッセージが表示されます。
ユーザー登録フォームに必要事項を記入して送信すると、アカウントが審査中であることが通知される。
また、このユーザー登録を承認または拒否するための通知メールが管理者メールアドレスに届きます。
ユーザーには、登録が承認待ちであることを知らせるメールがアカウントに届きます。
ヒント: あなたやあなたのサイトのユーザーがメール通知を受け取らない場合は、WP Mail SMTPを設定する必要があります。 詳しくは、WordPressでメールが送信されない問題の解決方法をご覧ください。
WordPressでユーザー登録を承認または拒否する
New User Approveプラグインを使用すると、ユーザー登録のモデレーションキューを超簡単に管理できます。
WordPressの管理エリアにログインし、管理サイドバーにあるメニュー項目「新規ユーザー承認」をクリックするだけです。
モデレーション待ちのユーザー登録リストが表示されます。ユーザー登録を承認または拒否することができます。
ユーザーには、登録が承認されたか拒否されたかを知らせるメールが送られます。
そして、あなたのWordPressサイトのアカウントにログインすることができます。
特定のユーザーに対して、ユーザー登録モデレーションをバイパスすることを許可する。
新規ユーザー承認では、ユーザーがサイトに登録し、モデレーションキューをバイパスするために使用できる招待コードを作成することができます。
新規ユーザー承認 ” 招待コードのページに行き、コードを追加ボックスに入力するだけです。
また、招待コードの使用制限を設定し、有効期限を選択することもできます。
変更を保存するのを忘れないでください。
次に、”Settings”(設定)タブに切り替えて、”Invitation link”(招待リンク)を使ったユーザー登録をモデレーションなしで許可するトグルをオンにする必要があります。
変更を保存するボタンをクリックして、設定を保存することを忘れないでください。
信頼できるユーザーに招待コードを渡すことができます。彼らはモデレーション・キューを回避し、即座にあなたのサイトに登録することができます。
他のプラグインでユーザーモデレーションを使う
New User Approve プラグインは、ユーザー登録や会員登録に使用される一般的な WordPress プラグインと連動します。
しかし、ユーザー登録フォームにカスタマイザーは表示されません。プラグイン設定で手動で行う必要があります。
例えば、WPForms を使用している場合、ユーザー登録フォームを編集する必要があります。フォームビルダーで「確認」タブに切り替えます。
ここでは、ユーザーに対してアカウントが審査中であることを通知するカスタマイザーメッセージを書くことができ、承認されるとメールが届きます。
同様に、もしMemberPressを使用しているのであれば、Membershipsのページに行き、メンバーシップを編集することができます。
次に、「会員オプション」セクションまでスクロールダウンし、「サンキューページメッセージのカスタムを有効化する」にチェックを入れます。
ここから、ユーザーのアカウントが承認待ちであることを知らせるカスタマイザーメッセージを追加できます。
必要であれば、他の会員プランについてもこのプロセスを繰り返す必要があるかもしれません。
この投稿がWordPressで新規ユーザー登録を管理する方法を学ぶのにお役に立てば幸いです。また、どのサイトマーケティングデータを追跡する必要があるかについてのガイド、またはWordPress でパーソナライズされたコンテンツをユーザーに表示する方法についてのチュートリアルもご覧ください。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Claude says
Hi. This looks like a potentially useful plugin, but from your description, it’s not clear that it allows an admin to receive the apoplicant info on which to base an acceptance decision. For example, it would be useful to be able to ask a potential new user to reply to one or more qualifying questions; the admin could then base an acceptance decision on how the registrant replied. Is this possible with your plugin?
WPBeginner Support says
If you create a custom registration form then you can add custom questions and the information from the form would be sent to you for consideration.
管理者
Douglas Karr says
That plugin hasn’t been updated in quite a while and has several ratings that it no longer works.
WPBeginner Support says
Thank you for letting us know, we’ll be sure to look for an alternative
管理者
Stephanie Denleuy says
Hello,
I am after a little bit of advice…
We currently have set that all customers must be approved to be able to shop on my site and see prices on the site
.
We are now not wanting this and are wanting customers to be able to see the prices of all products and be able to shop without being approved.
As we have deactivated this plugin, it is still showing that they need to be approved to be able to shop on the site…
How do I rectify this??
Thanks
Adriaan says
Once a user has registered, they are automatically signed in and can view content. Meanwhile in the users dashboard, the account has not been approved yet. How do I change this so that the user won’t have access to content before approved?
Abdallah says
Hi , the plugin new user approve don’t update the user statut in the database when approving user nor send email when approving user
Abdallah says
Hi , it’s me again , i was wrong about the plugin it works , when we update a user statut the plugin update the column user_activation_key of the users table , so if you have the same issue as me , you need to just check the emptiness of this column :
!empty($user->user_activation_key) { do stuff }
Now the new problem is how to read the value of this column .
Unamed says
Hello, I am using the New User Approve but the registration confirmation does not arrive in the mail users who use hotmail outlook and you know why?
WPBeginner Support says
Please take a look at our guide on how to fix WordPress not sending email issue.
管理者
Chris Dumper says
Once a user is approved can I grant him permission to see portions of a menu (and the pages referenced thre) dnied to an unregistered user. Thanks … Chris
WPBeginner Support says
Yes you can. Please see our guide on user roles and permissions in WordPress
管理者
James Durkan says
I HAVE used this in the past and it did work very well. However, now that I’m running WordPress 4.4.2, the plugin page does warn it hasn’t been tested with that version and, I’m sorry to report, it does crash. Specifically, it spews out the source code when it comes to granting approval.
WPBeginner Support says
We have re-tested the plugin on our demo sites. It works fine at our end on WordPress 4.4.2. Try deactivating all your WordPress plugins except New User Approve. If it works fine then probably one of the plugins on your site is causing the conflict. Try activating each plugin and then retest new user approval. Repeat for all plugins until you find one that’s causing the conflict. Report the conflict to both plugin authors.
管理者