WordPress.org

Hong Kong 香港中文

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

Plugin Directory

Describr – User Profile and Profile Photo Plugin

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Describr – User Profile and Profile Photo Plugin

由profiletoggler
下載
  • 詳情
  • 評價
  • 安裝
  • 開發
支援

描述

The best plugin for user profiles. Describr adds data fields and profile photo functionality to user profiles on WordPress Profile Screen. With the profile photo functionality, a user can upload a profile photo and create photos of different sizes.

Special Features

  1. Fields added to users profiles: Profile photo, Tagline, First and Last name, Gender, Birthdate, Bio, Addresses (current city, hometown, and cities lived), Relationship status, Languages, Contacts (phone number and email address), Time zone, Social networks, Websites, Work history, and Education (Colleges and High schools).
  2. User profile fields data are shown without the ability to be edited if either the current user does not have permission to edit user profiles or the user is logged out.
  3. View information about users from the users screen: login status, most recent login date, user profiles published status.
  4. Change publish status from either the users screen or the user profiles.
  5. Users can set privacy status on individual fields.
  6. Users with editor capability can approve/unapprove individual fields, as well as override users settings.

Localization

  • English (US) – default

Permissions: Filters and the Features They Can Override

  1. describr_files_upload_limit: maximum file size for photo upload.
  2. describr_can_upload_files: users who can upload profile photos (Default is only those with upload_files capability can upload photos).
  3. describr_avatars_dynamic_resize: create photos of different sizes.
  4. describr_avatar_change_alt: HTML img tag alt attribute value.
  5. describr_avatar: display a different avatar from the one created by Describr.
  6. describr_can_edit_profiles: users who have edit_others_post capability.
  7. describr_enqueue_scripts: on what screens the plugin’s scripts can be loaded (Defaults are profile.php, user-edit.php, users.php).
  8. describr_maxlen_tagline: the maximum number of characters in tagline saved in the database, with the default being 20.
  9. describr_maxlen_textbox: the maximum number of characters saved in the database when sent from an HTML input element of type text box, with the default being 150.
  10. describr_maxlen_textarea_LG: the maximum number of characters saved in the database when sent from a large HTML textarea element, with the default being 1000.
  11. describr_maxlen_textarea_SM: the maximum number of characters saved in the database when sent from a small HTML textarea element, with the default being 300.
  12. describr_maxlen_phonenumber: the maximum number of characters in phone numbers saved in the database, with the default being 50.
  13. describr_maxlen_url: the maximum number of characters in URLs saved in the database, with the default being 100.
  14. describr_maxlen_arraysize: the maximum number of arrays saved in the database when the individual values are of type array, with the default being 100.
  15. describr_valid_phonenumber_characters: regular expression that checks for disallowed phone number characters, with the default being /[^0-9a-zA-Z\.\(\)\s_-]+/.

Links to Non-compressed Source Code of JavaScript and CSS Files

  1. jquery-ui
  2. Freak Flags
  3. Describr: CSS, JavaScript, and JSON
  4. libphonenumber-js
  5. DOMPurify

More

  • User profile fields can be loaded on any screen by both adding the screen name to the describr_enqueue_scripts filter and instantiating the describrUserProfile.init(CSSClassOrID) JavaScript object.

Note: JavaScript is required to display the user profile fields and their data.

Plugin Support

Like This Plugin? You can show your support by:

  • Rating the plugin or Donating to the developer.

安裝

  1. Upload the entire describr folder to the /wp-content/plugins/ directory.
  2. Activate the plugin by way of the ‘Plugins’ menu on WordPress.
  3. Go to your user profile to see the new profile fields.
  4. Go to Settings>Discussion>Avatars>Describr Avatar to set the default avatar.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Describr – User Profile and Profile Photo Plugin” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者
  • profiletoggler

將 Describr – User Profile and Profile Photo Plugin 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

2.1.1

  • Add JavaScript array containing all the cities in the world.
  • Replace the unminified main JavaScript file with its minified version.

2.1.0

  • Add a filter to the ajax_query_attachments_args hook so that users will only see their photos in the media modal when uploading a profile photo. Administrators, along with users who have the edit_others_posts capability for attachment post type, are not affected by this change.
  • The describr_current_user_can_view_attachments filter is added, providing the ability to override users seeing only their photos in the media modal.

2.0.0

  • Add uninstall.php file to uninstall the plugin and remove plugin_deactivation method from class DESCRIBR previously used to uninstall the plugin

1.1.0

  • Add subtext to the plugin’s name.
  • Change the plugin’s description.
  • Remove translatable notice if /wp-content/plugins/describr/describr.php is accessed directly because, in this case, WordPress functions would not exist, resulting in a fatal error. Now the script is terminated by exit;.
  • Relocate cities from a JavaScript file to a JSON file, as the containing data is large, causing an error when WordPress attempts to parse the JavaScript file during the creation of the .pot file. The JSON file is not parsed.

1.0.0

  • Initial release.

其它

  • Version 2.1.1
  • Last updated 3 個月之前
  • Active installations 少於10
  • WordPress version 4.7 or higher
  • Tested up to 6.7.2
  • PHP version 7.0 or higher
  • Language
    English (US)
  • Tags
    gravatarprofileuser photosuser profileusers
  • 進階顯示

評分

No reviews have been submitted yet.

Add my review

See all reviews

貢獻者

  • profiletoggler

支援

有話想說?需要協助?

檢視支援論壇

捐贈

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

贊助這個外掛

  • 關於我們
  • 最新消息
  • 寄存
  • 隱私權
  • 展示網站
  • 佈景主題
  • 外掛
  • 區塊版面配置
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Hong Kong 香港中文

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • 訪問我們的 Facebook 專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
代碼就是詩歌。