هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

BuddyPress Admin Only Profile Fields

الوصف

Easily set the visibility of BuddyPress profile fields to hidden, allowing only admin users to edit and view them.

GitHub

If you would like to contribute to the plugin, you can do so on GitHub.

لقطات الشاشة

  • Edit field BuddyPress screen.

التنصيب

  1. Upload bp-admin-only-profile-fields to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

الأسئلة المتكررّة

How do I hide a profile field?

In the WordPress admin area, go to Users > Profile Fields and click Edit on the desired profile field. Under the Default Visibility panel select Hidden as the value and click Save.

The profile field is now hidden from all users except Administrators.

How do I change who can view and edit the hidden field?

Add the following filter to your theme’s functions.php file, substituting edit_others_posts with the desired capability:
function custom_profile_fields_visibility() {
return ‘edit_others_posts’; // Editors
}
add_filter( ‘bp_admin_only_profile_fields_cap’, ‘custom_profile_fields_visibility’ );

المراجعات

18 أكتوبر، 2017
This still works great to allow admins to have profile fields that users cannot edit. It works by adding extra choices to the Visibility choice in the Add/Edit form under Users -> Profile Fields when Extended Profiles is turned on for BuddyPress. Seamless and functional!
إقرأ جميع المراجعات 2

المساهمون والمطوّرون

“BuddyPress Admin Only Profile Fields” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”BuddyPress Admin Only Profile Fields“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

1.2

  • New: Added ‘Everyone (Admin Editable)’ field visibility level
  • New: Added ‘Only Me (Admin Editable)’ field visibility level
  • Bug fix: Issues with JS due to admin visibility settings change from checkboxes to selects
  • Bug fix: Issue with JS where visibility settings disappear when ‘Hidden’ selected
  • Bug fix: Issue with breaking standard BuddyPress Visibility options

1.1.1

  • Fix fatal error on activation
  • Adhere to WordPress coding standards

1.1

  • Hide the Per-Member Visibility options when the Default Visibility is set to Hidden

1.0

  • Initial release