Apraksts
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
- 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).
- 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.
- View information about users from the users screen: login status, most recent login date, user profiles published status.
- Change publish status from either the users screen or the user profiles.
- Users can set privacy status on individual fields.
- 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
- describr_files_upload_limit: maximum file size for photo upload.
- describr_can_upload_files: users who can upload profile photos (Default is only those with upload_files capability can upload photos).
- describr_avatars_dynamic_resize: create photos of different sizes.
- describr_avatar_change_alt: HTML img tag alt attribute value.
- describr_avatar: display a different avatar from the one created by Describr.
- describr_can_edit_profiles: users who have edit_others_post capability.
- describr_enqueue_scripts: on what screens the plugin’s scripts can be loaded (Defaults are profile.php, user-edit.php, users.php).
- describr_maxlen_tagline: the maximum number of characters in tagline saved in the database, with the default being 20.
- 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.
- 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.
- 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.
- describr_maxlen_phonenumber: the maximum number of characters in phone numbers saved in the database, with the default being 50.
- describr_maxlen_url: the maximum number of characters in URLs saved in the database, with the default being 100.
- 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.
- 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
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:
Uzstādīšana
- Upload the entire
describr
folder to the/wp-content/plugins/
directory. - Activate the plugin by way of the ‘Plugins’ menu on WordPress.
- Go to your user profile to see the new profile fields.
- Go to Settings>Discussion>Avatars>Describr Avatar to set the default avatar.
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Describr – User Profile and Profile Photo Plugin” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Describr – User Profile and Profile Photo Plugin” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
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 byexit;
. - 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.