Difference between revisions of "Reference:BlueSpiceSocialProfile"
(Tag: Visual edit) |
(Tag: 2017 source edit) |
Extension: BlueSpiceSocialProfile
| Overview | |||
|---|---|---|---|
| Description: | Profile entity for BlueSpiceSocial | ||
| State: | stable | Dependency: | BlueSpice |
| Developer: | HalloWelt | License: |
GPL v3 only-3.0-onlyProperty "BSExtensionInfoLicense" (as page type) with input value "</br>GPL-3.0-only" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. |
| Type: | BlueSpice | Category: | Communication |
| Edition: | BlueSpice pro, BlueSpice Farm, BlueSpice Cloud | ||
Features
BlueSpiceSocialProfile provides the SocialEntity of type profile. Furthermore, the user page is converted into a complete user profile.
Warning: Pages in the namespaces SocialEntity and User are indexed by search engines by default until prior to version 3.1.13. If you run a public wiki with an earlier version, you should exclude these namespaces from being searchable unless you want these pages to be indexed by public search engines.
- the user page is converted into a complete user profile
- the content of the original user page is also shown as a description field below the profile section
- provides the page Special:SocialProfiles
-
a user profile can be included in a page with the tag
<bs:socialentityprofile username="Testuser" rendertype="Short" />
- users can update their profile information and upload a profile picture
Technical Information[edit source]
This information
applies to BlueSpice 3 . Technical details for BlueSpice cloud can differ in some cases.
Requirements[edit source]
- MediaWiki: 1.31
- BlueSpiceAvatars: 3.2
BlueSpiceFoundation: 3.2 BlueSpiceSocial: 3.2
Integrates into[edit source]
- BlueSpicePrivacy
- BlueSpiceSMWConnector
- BlueSpiceSocialProfile
Special pages[edit
- SocialProfiles
Permissions[edit
| Name | Description |
|---|
| Role | ||
|---|---|---|
| social-editothersprofile | Edit other users profile | admin, maintenanceadmin |
| socialprofile-viewspecialpage |
| View the |
Requirements[edit | edit source]
Requires BlueSpiceFoundation and BlueSpiceSocial.
More info[edit | edit source]
For a detailed description and usage info visit our help page.
Demo[edit | edit source]
Take a look at the testuser's profile page in our BlueSpice Demo.
| special page "Profiles" | accountmanager, admin, author, bot, commenter, editor, maintenanceadmin, reader, reviewer, structuremanager |
Configuration[edit source]
| Name | Value |
|---|---|
| BSSocialProfileCustomFields | array ( 'social-profile-department' => array ( 'i18n' => 'bs-social-profile-field-department', 'type' => 'string', ), 'social-profile-function' => array ( 'i18n' => 'bs-social-profile-field-function', 'type' => 'string', ), 'social-profile-location' => array ( 'i18n' => 'bs-social-profile-field-location', 'type' => 'string', ), 'social-profile-phone' => array ( 'i18n' => 'bs-social-profile-field-phone', 'type' => 'string', ), ) |
| BSSocialProfileFields | array ( 'social-profile-title' => array ( 'i18n' => 'bs-social-profile-field-title', 'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Title::getInstance', ), 'social-profile-name' => array ( 'i18n' => 'bs-social-profile-field-name', 'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Name::getInstance', ), 'social-profile-email' => array ( 'i18n' => 'bs-social-profile-field-email', 'callback' => '\\BlueSpice\\Social\\Profile\\Field\\Email::getInstance', ), ) |
User options[edit source]
| Name | Value |
|---|---|
| bs-social-profile-infoshowemail | false |
Hooks[edit source]
Configuration[edit | edit source]
| Name | Description | Type | Default | Scope |
|---|---|---|---|---|
| bsgBSSocialProfileFields | system-defined profile fields | array |
"social-profile-title" => [
"i18n" => "bs-social-profile-field-title", "callback" => "\\BlueSpice\\Social\\Profile\\Field\\Title::getInstance" ], "social-profile-name" => [ "i18n" => "bs-social-profile-field-name", "callback" => "\\BlueSpice\\Social\\Profile\\Field\\Name::getInstance" ], "social-profile-email" => [ "i18n" => "bs-social-profile-field-email", "callback" => "\\BlueSpice\\Social\\Profile\\Field\\Email::getInstance" ] |
LocalSettings.php / Customizing |
| bsgBSSocialProfileCustomFields | user-defined profile fields | array |
"social-profile-department" => [
"i18n" => "bs-social-profile-field-department", "type" => "string" ], "social-profile-function" => [ "i18n" => "bs-social-profile-field-function", "type" => "string" ], "social-profile-location" => [ "i18n" => "bs-social-profile-field-location", "type" => "string" ], "social-profile-phone" => [ "i18n" => "bs-social-profile-field-phone", "type" => "string" ] |
LocalSettings.php |
| bs-social-profile-infoshowemail | is the email address shown in the profile | bool | false | useroption |
{{BSExtensionInfobox
|desc=Profile entity for BlueSpiceSocial
|BSExtensionInfo
|status=stable
|developer=HalloWelt
|type=BlueSpice
|edition=BlueSpice pro
|active=Yes
, BlueSpice Farm, BlueSpice Cloud
|compatible=BlueSpice
|category=Communication
|license=GPL v3 only
}}
features='''BlueSpiceSocialProfile''' provides the SocialEntity of type profile. Furthermore, the user page is converted into a complete user profile.
== Usage / features ==
* {{Box Note|boxtype=warning|Note text=Pages in the namespaces ''SocialEntity'' and ''User'' are indexed by search engines by default until prior to version 3.1.13. If you run a public wiki with an earlier version, you should [https://www.mediawiki.org/wiki/Help:Controlling_search_engine_indexing exclude these namespaces from being searchable] unless you want these pages to be indexed by public search engines.}}
*the user page is converted into a complete user profile
* the content of the original user page is also shown as a description field below the profile section
* provides the page ''Special:SocialProfiles''
* a user profile can be included in a page with the tag <code><nowiki><bs:socialentityprofile username="Testuser" rendertype="Short" /></nowiki></code>
* the original user profile page is accessible via button
* users can update their profile information and upload a profile picture
== <span class="mw-headline" id="Technical_information">Technical information</span> ==
=== <span class="mw-headline" id="Configuration">Configuration</span> ===
=== <span class="mw-headline" id="Rights_.28permissions.29">Rights (permissions)</span> ===
{| class="contenttable sortable jquery-tablesorter"
! class="headerSort" tabindex="0"}}
===Configuration===
{| class="reference wikitable"
! class="headerSort headerSortDown" role="columnheader button" title="Aufsteigend sortieren" |Permission
! class="headerSort" tabindex="0" tabindex="0" |Name
! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" tabindex="0" |Description
! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" |Description
! class="headerSort" tabindex="0" tabindex="0" |Type
! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" tabindex="0" |Default
! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" |Included in role
|-
|socialprofile-viewspecialpage
|access to the page ''Special:SocialProfiles''
|accountmanager, admin, author, bot, commenter, editor, maintenanceadmin, reader, reviewer, structuremanager
|-
|social-editothersprofile
|allows editing SocialEntities of type profile that belong to other users
|admin, maintenanceadmin
|}
=== <span class="mw-headline" id="Requirements">Requirements</span> ===
Requires [[Reference:BlueSpiceFoundation|BlueSpiceFoundation]] and [[Reference:BlueSpiceSocial|BlueSpiceSocial.]]
== <span class="mw-headline" id="More_info">More info</span> ==
For a detailed description and usage info visit our [[Manual:Extension/BlueSpiceSocialProfile|help page]].
== <span class="mw-headline" id="Demo">Demo</span> ==
Take a look at the testuser's profile page in our [https://demo.bluespice.com/Special:Blog BlueSpice Demo.]
[[Category:Extension]]
[[Category:BlueSpice pro]]
{{Translation}}tabindex="0" |Scope
|-
|''bsg''BSSocialProfileFields
|system-defined profile fields
|array
|"social-profile-title" => [
"i18n" => "bs-social-profile-field-title",
"callback" => "\\BlueSpice\\Social\\Profile\\Field\\Title::getInstance"
],
"social-profile-name" => [
"i18n" => "bs-social-profile-field-name",
"callback" => "\\BlueSpice\\Social\\Profile\\Field\\Name::getInstance"
],
"social-profile-email" => [
"i18n" => "bs-social-profile-field-email",
"callback" => "\\BlueSpice\\Social\\Profile\\Field\\Email::getInstance"
]
|LocalSettings.php / Customizing
|-
|''bsg''BSSocialProfileCustomFields
|user-defined profile fields
|array
|"social-profile-department" => [
"i18n" => "bs-social-profile-field-department",
"type" => "string"
],
"social-profile-function" => [
"i18n" => "bs-social-profile-field-function",
"type" => "string"
],
"social-profile-location" => [
"i18n" => "bs-social-profile-field-location",
"type" => "string"
],
"social-profile-phone" => [
"i18n" => "bs-social-profile-field-phone",
"type" => "string"
]
|LocalSettings.php
|-
|bs-social-profile-infoshowemail
|is the email address shown in the profile
|bool
|false
|useroption
|}| (8 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{BSExtensionInfo |
| − | |||
|status=stable | |status=stable | ||
|developer=HalloWelt | |developer=HalloWelt | ||
|type=BlueSpice | |type=BlueSpice | ||
| − | |edition=BlueSpice pro | + | |edition=BlueSpice pro, BlueSpice Farm, BlueSpice Cloud |
| − | |||
|compatible=BlueSpice | |compatible=BlueSpice | ||
|category=Communication | |category=Communication | ||
| − | | | + | |features='''BlueSpiceSocialProfile''' provides the SocialEntity of type profile. Furthermore, the user page is converted into a complete user profile. |
| − | }} | + | {{Box Note|boxtype=warning|Note text=Pages in the namespaces ''SocialEntity'' and ''User'' are indexed by search engines by default until prior to version 3.1.13. If you run a public wiki with an earlier version, you should [https://www.mediawiki.org/wiki/Help:Controlling_search_engine_indexing exclude these namespaces from being searchable] unless you want these pages to be indexed by public search engines.}} |
| + | *the user page is converted into a complete user profile | ||
| + | *the content of the original user page is also shown as a description field below the profile section | ||
| + | *provides the page ''Special:SocialProfiles'' | ||
| + | *a user profile can be included in a page with the tag <code><nowiki><bs:socialentityprofile username="Testuser" rendertype="Short" /></nowiki></code> | ||
| + | *users can update their profile information and upload a profile picture}} | ||
| + | ===Configuration=== | ||
| + | {| class="reference wikitable" | ||
| + | ! class="headerSort headerSortDown" role="columnheader button" title="Aufsteigend sortieren" tabindex="0" |Name | ||
| + | ! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" tabindex="0" |Description | ||
| + | ! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" tabindex="0" |Type | ||
| + | ! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" tabindex="0" |Default | ||
| + | ! class="headerSort" role="columnheader button" title="Aufsteigend sortieren" tabindex="0" |Scope | ||
| + | |- | ||
| + | |''bsg''BSSocialProfileFields | ||
| + | |system-defined profile fields | ||
| + | |array | ||
| + | |"social-profile-title" => [ | ||
| + | "i18n" => "bs-social-profile-field-title", | ||
| + | |||
| + | "callback" => "\\BlueSpice\\Social\\Profile\\Field\\Title::getInstance" | ||
| + | |||
| + | ], | ||
| + | |||
| + | "social-profile-name" => [ | ||
| + | |||
| + | "i18n" => "bs-social-profile-field-name", | ||
| − | + | "callback" => "\\BlueSpice\\Social\\Profile\\Field\\Name::getInstance" | |
| − | + | ], | |
| − | + | "social-profile-email" => [ | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | "i18n" => "bs-social-profile-field-email", | |
| − | + | "callback" => "\\BlueSpice\\Social\\Profile\\Field\\Email::getInstance" | |
| − | + | ] | |
| − | + | |LocalSettings.php / Customizing | |
| − | |||
| − | |||
| − | |||
|- | |- | ||
| − | | | + | |''bsg''BSSocialProfileCustomFields |
| − | + | |user-defined profile fields | |
| − | | | + | |array |
| − | + | |"social-profile-department" => [ | |
| − | + | "i18n" => "bs-social-profile-field-department", | |
| − | + | ||
| − | + | "type" => "string" | |
| − | + | ||
| + | ], | ||
| + | |||
| + | "social-profile-function" => [ | ||
| + | |||
| + | "i18n" => "bs-social-profile-field-function", | ||
| + | |||
| + | "type" => "string" | ||
| + | |||
| + | ], | ||
| + | |||
| + | "social-profile-location" => [ | ||
| − | + | "i18n" => "bs-social-profile-field-location", | |
| − | |||
| − | + | "type" => "string" | |
| − | |||
| − | + | ], | |
| − | |||
| + | "social-profile-phone" => [ | ||
| + | "i18n" => "bs-social-profile-field-phone", | ||
| − | + | "type" => "string" | |
| − | |||
| − | + | ] | |
| + | |LocalSettings.php | ||
| + | |- | ||
| + | |bs-social-profile-infoshowemail | ||
| + | |is the email address shown in the profile | ||
| + | |bool | ||
| + | |false | ||
| + | |useroption | ||
| + | |} | ||