Chad Butler
フォーラムへの返信
-
フォーラム: プラグイン
返信が含まれるトピック: プラグインの共有はできますか?It sounds like what you are looking for is to be able to share the user data between multiple WordPress sites.
If the sites are hosted in a way that they have access to the same database, you can run multiple WP sites with a single user and usermeta table.
For WP-Members, as long as the setup of the plugin’s user fields is the same in each site, a configuration using a single WP user and usermeta table will keep your users the same across all sites.
To do this, you use the CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE WordPress constants.
See this post on how to set up this type of configuration:
https://kinsta.com/blog/share-logins-wordpress/フォーラム: 使い方全般
返信が含まれるトピック: WP-Members ログインウィジェットの項目変更If you are going to do it that way, use
wpmem_login_widget_form
instead.wpmem_sidebar_form
is deprecated as of version 3.3.9.wpmem_login_widget_form
works the same way so you only have to change the filter name.フォーラム: 使い方全般
返信が含まれるトピック: WP-Members ログインウィジェットの項目変更Another thing to consider is that if you are using a cache plugin, you usually will need to clear the cache after making any changes.
フォーラム: 使い方全般
返信が含まれるトピック: WP-Members ログインウィジェットの項目変更I am not sure if what you have there is exactly what you are using, but if it is, then you need to remove the whitespace between
$
andtext
. Otherwise, you are not defining the variable$test
.add_filter ('wpmem_default_text', function ($text) { $text ['widget_login_username'] ='username'; return $text; });
Also, this only changes the widget form label. If you want to change the main body form, you have to target “login_username”.
And these only affect the forms for WP-Members. If the form is generated from anything else, such as your theme or another plugin, then you have to look at how to customize that form.
フォーラム: 使い方全般
返信が含まれるトピック: WP-Members 登録ユーザー「編集者」がログインできないIs the WP-Members setting for “moderated registration” enabled? If so, the user must be activated in order to be able to log in.
Also, if the feature setting “Confirmation Link” is enabled, then the user needs to have clicked the confirmation link in their initial email, otherwise the user will not be recognized as having confirmed their email and would not be able to log in.
フォーラム: 使い方全般
返信が含まれるトピック: WP-MembersのカスタマイズIt’s better to change it in the translation file:
https://translate.wordpress.org/projects/wp-plugins/wp-members/
https://translate.wordpress.org/projects/wp-plugins/wp-members/dev/ja/default/フォーラム: プラグイン
返信が含まれるトピック: ユーザー登録フォーム(WP-Members/Ultimate Member)へのカスタムフィールドの表示についてTo integrate WP-Members with other plugins, you just need to make sure that the field’s meta key is the same as whatever the other plugin is using.
The fields that install with the plugin are just a starting point – you don’t have to use those. To match fields with another plugin, make the meta key for the field the same as what is being used in the other plugin.
Hope that helps.