Reference:BlueSpiceSocialProfile: Difference between revisions

hw>Mlink-rodrigue
No edit summary
 
m (1 revision imported)
(No difference)

Revision as of 11:34, 20 December 2021

Extension: BlueSpiceSocialProfile

all extensions

Overview
Description:

Profile entity for BlueSpiceSocial

State: stable Dependency: BlueSpice
Developer: HalloWelt License: GPL-3.0-only
Type: BlueSpice Category: Communication
Edition: BlueSpice pro, BlueSpice Farm"BlueSpice Farm" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property., BlueSpice Cloud"BlueSpice Cloud" is not in the list (BlueSpice free, BlueSpice free (deactivated), BlueSpice pro, BlueSpice pro (deactivated), BlueSpice farm, BlueSpice farm (deactivated), BlueSpice cloud, BlueSpice cloud (deactivated)) of allowed values for the "BSExtensionInfoEdition" property. Version: 4.1+

Features

BlueSpiceSocialProfile provides the SocialEntity of type profile. Furthermore, the user page is converted into a complete user profile. Template:Box Note

  • 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

This information applies to BlueSpice 4. Technical details for BlueSpice cloud can differ in some cases.

Requirements

  • MediaWiki: 1.39.0
  • BlueSpiceAvatars: 4.3

BlueSpiceFoundation: 4.3 BlueSpiceSocial: 4.3

Integrates into

  • BlueSpicePrivacy
  • BlueSpiceSMWConnector
  • BlueSpiceSocialProfile
  • BlueSpiceVisualEditorConnector
  • ContentDroplets

Special pages

  • SocialProfiles

Permissions

Name Description Role
social-editothersprofile Edit other users' profile admin, maintenanceadmin
socialprofile-viewspecialpage View the special page "Profiles" accountmanager, admin, author, bot, commenter, editor, maintenanceadmin, reader, reviewer, structuremanager

Configuration

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

Name Value
bs-social-profile-infoshowemail false

Hooks

Configuration

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