|
|
|
@ -6,25 +6,25 @@ This pluging was integrated within Chamilo LMS core |
|
|
|
|
To configure this plugin you need execute this SQL queries: |
|
|
|
|
|
|
|
|
|
* Enable the Skype extra field: |
|
|
|
|
``` |
|
|
|
|
```sql |
|
|
|
|
INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, created_at) |
|
|
|
|
VALUES |
|
|
|
|
(1, 1, 'skype', 'Skype', 1, 1, now()); |
|
|
|
|
``` |
|
|
|
|
* Enable the LinkedInURl extra field: |
|
|
|
|
``` |
|
|
|
|
```sql |
|
|
|
|
INSERT INTO extra_field (extra_field_type, field_type, variable, display_text, visible, changeable, created_at) |
|
|
|
|
VALUES |
|
|
|
|
(1, 1, 'linkedin_url', 'LinkedInUrl', 1, 1, now()); |
|
|
|
|
``` |
|
|
|
|
* Enable the configuration settings: |
|
|
|
|
``` |
|
|
|
|
```sql |
|
|
|
|
INSERT INTO settings_current (variable, subkey, type, category, selected_value, title, comment, access_url_changeable) |
|
|
|
|
VALUES |
|
|
|
|
('allow_show_skype_account', NULL, 'radio', 'Course', 'true', 'AllowShowSkypeAccountTitle', 'AllowShowSkypeAccountComment', 1), |
|
|
|
|
('allow_show_linkedin_url', NULL, 'radio', 'Course', 'true', 'AllowShowLinkedInUrlTitle', 'AllowShowLinkedInUrlComment', 1); |
|
|
|
|
``` |
|
|
|
|
('allow_show_skype_account', NULL, 'radio', 'Platform', 'true', 'AllowShowSkypeAccountTitle', 'AllowShowSkypeAccountComment', 1), |
|
|
|
|
('allow_show_linkedin_url', NULL, 'radio', 'Platform', 'true', 'AllowShowLinkedInUrlTitle', 'AllowShowLinkedInUrlComment', 1); |
|
|
|
|
``` |
|
|
|
|
```sql |
|
|
|
|
INSERT INTO settings_options (variable, value, display_text) |
|
|
|
|
VALUES |
|
|
|
|
('allow_show_skype_account', 'true', 'Yes'), |
|
|
|
|