BlueSpiceSocialProfile

Revision as of 14:26, 7 July 2021 by Mlink-rodrigue (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Extension: BlueSpiceSocialProfile


Overview
Description: Profile entity for BlueSpiceSocial
State: stable Dependency: BlueSpice
Developer: HalloWelt License:

GPL-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

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

Requirements

  • MediaWiki: 1.31
  • BlueSpiceAvatars: 3.2

BlueSpiceFoundation: 3.2 BlueSpiceSocial: 3.2

Integrates into

  • BlueSpicePrivacy
  • BlueSpiceSMWConnector
  • BlueSpiceSocialProfile

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

Attachments

Discussions