Issue Details (XML | Word | Printable)

Key: MDL-17143
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dongsheng Cai
Reporter: Martin Dougiamas
Votes: 2
Watchers: 5
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-17107

Don't display the user description at all when user isn't enrolled in any courses

Created: 06/Nov/08 01:01 PM   Updated: 17/Feb/09 10:46 AM
Return to search
Component/s: Administration
Affects Version/s: 1.9.3
Fix Version/s: 1.6.9, 1.7.7, 1.8.8, 1.9.4

File Attachments: 1. Text File MDL-17143.patch (7 kB)

Issue Links:
Relates
 

Participants: Dongsheng Cai, Eloy Lafuente (stronk7), Helen Foster, Jerome Mouneyrac, Martin Dougiamas and Petr Skoda
Security Level: None
QA Assignee: Jerome Mouneyrac
Difficulty: Easy
Resolved date: 19/Nov/08
Affected Branches: MOODLE_19_STABLE
Fixed Branches: MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
1. Add a new config variable profilesforenrolledusersonly = true (by default)

2. When showing the profile page, if a courseid isn't defined (this is the public view) AND the user is not enrolled in any courses AND profilesforenrolledusersonly = true then replace the profile description with something like "This profile description will not be shown until this person is enrolled in at least one course".

3. When editing the profile page, if the description is blank AND the user is not enrolled in any courses AND profilesforenrolledusersonly = true then completely hide the description field from the editing page.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Martin Dougiamas made changes - 07/Nov/08 02:35 PM
Field Original Value New Value
Assignee Martin Dougiamas [ dougiamas ] Dongsheng Cai [ dongsheng ]
Dongsheng Cai made changes - 10/Nov/08 11:14 AM
Attachment MDL-17143.patch [ 15602 ]
Dongsheng Cai made changes - 10/Nov/08 11:50 AM
Attachment MDL-17143.patch [ 15602 ]
Dongsheng Cai made changes - 10/Nov/08 11:51 AM
Attachment MDL-17143.patch [ 15605 ]
Dongsheng Cai made changes - 10/Nov/08 12:15 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Petr Skoda made changes - 11/Nov/08 04:10 PM
Resolution Fixed [ 1 ]
Status Resolved [ 5 ] Reopened [ 4 ]
Eloy Lafuente (stronk7) made changes - 19/Nov/08 01:39 AM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Petr Skoda made changes - 09/Feb/09 07:25 AM
Link This issue has been marked as being related by MDL-18178 [ MDL-18178 ]
Jerome Mouneyrac made changes - 17/Feb/09 10:12 AM
QA Assignee jerome
Jerome Mouneyrac made changes - 17/Feb/09 10:46 AM
Status Resolved [ 5 ] Closed [ 6 ]