291 Commits

Author SHA1 Message Date
moodler
2a7fbce0eb Fixed up parameters for this too 2005-04-04 03:55:37 +00:00
moodler
f9a0ea699c New user tabs from Shane and myself ... these bring together the
profile interface a little better.

There is also a new feature for showing all posts from a user, as well
as all discussions from a user.
2005-03-20 12:02:14 +00:00
moodler
a9d9b46af8 Guests can't use messaging 2005-03-17 20:39:30 +00:00
moodler
772fa4904e LInks for AIM and Yahoo 2005-03-05 06:26:44 +00:00
moodler
766d2bf3b3 Added user fields for Skype, AIM, Yahoo, and MSN messengers. :-)
If anyone knows good links+images to use for AIM, Yahoo and MSN let me know
2005-03-05 05:57:10 +00:00
moodler
173dbed416 Added a link from the user page to a search for all posts.
It works but it's not very pretty ... feedback welcome!
2005-02-27 10:08:13 +00:00
moodler
20fde7b1f9 If the user needs to set up their account on logging in, then remember the
URL they wanted so they get there after setting up their account.


bug 2565
2005-02-17 06:15:22 +00:00
defacer
ccfd6c83f3 Fix for bug 2550:
Users cannot see their own profile if course is set to separate groups and
the user is not a member of any group.

Patch provided by cdu@somerville.qld.edu.au, slightly modified
2005-02-15 16:02:18 +00:00
moodler
f8c883ce78 FIxed a notice 2005-02-09 14:45:19 +00:00
defacer
1610aa4916 Rewriting "!$course->category" to "$course->id == SITEID" to make it clear. 2005-02-05 02:08:25 +00:00
moodler
cdf3925518 Messaging can now be completely disabled using $CFG->messaging 2005-01-31 07:11:42 +00:00
moodler
b77c41c103 Removed some THEME colours 2005-01-25 13:43:09 +00:00
defacer
9407d4563f According to the final comments in SC#65:
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.

The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +00:00
moodler
2fc1b1feb8 Add messaging buttons to the user profile 2004-12-28 13:49:44 +00:00
moodler
c6c558d785 Merged in changes for lastaccess on site level from stable 2004-10-27 06:01:20 +00:00
paca70
e09ecb0604 Allow password changes with standard password change dialog if
$CFG->{'auth_'.$USER->auth.'_stdchangepassword'} is true.
2004-10-10 06:26:29 +00:00
moodler
e41ddc4b02 user id and course id are both now optional 2004-09-25 12:53:35 +00:00
moodler
09e8a2f8e8 Changes for XHTML and accessibility compliance 2004-09-23 11:01:22 +00:00
gustav_delius
8f0cd6ef0f Resolved problems with previous replacement of
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
moodler
7c7d9120c2 Tidied up some XHTML 2004-09-21 10:52:55 +00:00
gustav_delius
839f2456bb XHTML compliance
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- &amp; in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
9a58f7cb85 towards XHTML compliance 2004-09-12 21:43:59 +00:00
moodler
031c49fabb HTML code tidy up 2004-09-07 08:05:25 +00:00
moodler
37d83d9951 Admin can now also 'login as' course creators 2004-09-06 14:03:17 +00:00
moodler
7a2292aede merged from stable (removed excess clean_text) 2004-08-26 15:24:45 +00:00
moodler
a9cbf8cc58 Always let a user see themselves. 2004-08-16 02:15:24 +00:00
moodler
f5ecf2e91a When displaying users at site level:
- teachers can see everyone
  - everyone can see teachers

but everyone else is prevented from seeing users.  This is regardless
of the forceloginforprofiles setting and is designed to stop mass collection
of user names by browsing through all user names.
2004-08-12 06:57:53 +00:00
moodler
dee51de29f Slight improvment to icons for enable/disale email address 2004-07-24 06:37:44 +00:00
moodler
fa92b42f60 Use new icons for enable/disable email address on user profile page 2004-07-24 06:25:14 +00:00
moodler
ddc1d46fa1 Merging Stable fixes 2004-07-07 17:33:54 +00:00
julmis
ab1324e415 $CFG->loginhttps changes, change password and admin user edit. 2004-06-22 18:34:35 +00:00
gustav_delius
f7f2ff6dba Only editing teachers are allowed to unenrol students 2004-05-30 20:54:58 +00:00
moodler
555b85139f Better protection against Googlers 2004-05-03 15:03:31 +00:00
moodler
1ffb5c8989 Forcelogin works on user profiles, and a new setting can now forcelogin
just for these pages even if the site forcelogin is off.

   $CFG->forceloginforprofiles
2004-05-03 14:55:33 +00:00
moodler
d552efcee0 Links to enrolled courses in user profile page now link to the
user profile page in that course.

Makes it easy to see their discussions etc
2004-04-03 07:08:16 +00:00
moodler
d0ec93fbd6 Guests can no longer see email addresses if "show only to course participants"
has been set by that user
2004-03-24 12:23:43 +00:00
stronk7
dadbd7586b Changed border=1 to border=0. Included in previous version to test a bug. Sorry. 2004-03-23 23:58:09 +00:00
stronk7
340ccd3e8d Small typo. Detected by aroberti. Bug 1178. Closed now. 2004-03-23 23:53:05 +00:00
moodler
b1d530d202 Cleanups for bug 1117 2004-03-13 15:22:33 +00:00
stronk7
dd780a3b4c Now, in SEPARATE groups courses, a user cannot access to the info about users
in other groups.

Please check !!
2004-03-09 23:07:35 +00:00
moodler
cadb96f29e GUI to allow disabling of user email addresses (from user profile) 2004-02-20 10:27:24 +00:00
moodler
088cbaab7b Fixed a typo 2004-02-14 17:33:24 +00:00
moodler
d7df380b78 Extra parameter for robustness 2004-01-14 17:53:51 +00:00
moodler
a2c3b87eda Clean output for old entries 2004-01-14 13:33:00 +00:00
moodler
aeb23d0a02 User descriptions weren't being filtered! They are now. :-) 2004-01-14 13:07:29 +00:00
moodler
951b22a829 Completely got rid of user/lib.php
- print_user() went to weblib.php and got tidied up

  - The graphics functions went to lib/gdlib.php

See Bug 922
2004-01-10 16:41:29 +00:00
moodler
8c8c9bafa5 Align rows to top 2003-12-14 02:54:10 +00:00
moodler
5fde0ca615 Use the new fullname function 2003-11-19 16:15:56 +00:00
moodler
9c72928dc3 Show enrolled courses on user page to teachers
See http://moodle.org/mod/forum/discuss.php?d=3562
2003-11-19 07:55:00 +00:00
moodler
6a7585f259 SECURITY FIX: This patch prevents teachers from logging in as admins or
course creators!  I'll make an announcement to registered
               administrators.
2003-11-14 12:48:26 +00:00