Modules and plugins

RSS
Página: ()  1 ...  530  531  532  533  534  535  536  537  538  539  540  541  542  543  544  545  546  547 ...576   ()

Admin Report: User's roles report

Type: Admin Report
Requires: Moodle 1.9 or later
Status: Contributed
Maintainer(s): Tim Hunt

This Moodle admin report lists all the role assignments that a user has throughout a site. It also lets you easily remove any of those role assignments.

To make this report work, you need to make one very small change to one core file. In lib/weblib.php, in the function print_header, just after the line:

 $meta .= "\n".require_js();

add the lines

 $fnname = 'require_css';
 if (function_exists($fnname)) {
 $meta .= "\n".$fnname();
 } 

Apart from that, just unzip the download, and copy the userroles folder into admin/report.

Copyright 2007-9 Tim Hunt, The Open University, and other contributors.

Licence: http://www.gnu.org/copyleft/gpl.html GNU Public License



Record added by Tim Hunt - miércoles, 17 de octubre de 2007, 22:17
Last modified - miércoles, 28 de enero de 2009, 15:17
Tim at Lone Pine Koala Sanctuary
por Tim Hunt - miércoles, 17 de octubre de 2007, 22:18
 

I have only tested with 1.9, but I don't see why it would not work with 1.8 too.

Imagen de Howard Miller
por Howard Miller - miércoles, 21 de mayo de 2008, 22:00
 

AFAIK, you also have to go to the main admin page to install it.

Imagen de erika alarcon
por erika alarcon - jueves, 28 de agosto de 2008, 03:45
 

Hi
How can I install it?
Thanks

Imagen de Daniele Cordella
por Daniele Cordella - martes, 14 de octubre de 2008, 18:28
 

Hei, Tim!!
I installed it again today on last weekly release.
It was some weeks I was not using it any more but today it no longer works.
Am I wrong?

Mt. Fuji
por Jason Hollowell - miércoles, 22 de octubre de 2008, 08:35
 

I installed this on 1.9.2+ (8/27 build) and modified weblib.php. The link appears in the Reports folder in Site Administration but when I click on it and enter the username and then push the "Get Report" button I get nothing. The "Report settings" and blank for the username and "Get Report" button disappear and I get a white area there....?

Couldn't find any discussion thread in the forums even though there is a discussion link here so I decided to post here.

Jason

Imagen de John White
por John White - miércoles, 22 de octubre de 2008, 20:22
 

Daniele / Jason,

I have hit the same issue and started a new discussion thread here.

John

Tim at Lone Pine Koala Sanctuary
por Tim Hunt - miércoles, 28 de enero de 2009, 15:19
 

The 1.9 stable version should be fixed now (in CVS. The download packages will be rebuilt tomorrow.) Will work with 1.9.3 and 1.9.4 (and future versions, I hope.)

Imagen de Alexandre Belousov
por Alexandre Belousov - domingo, 26 de julio de 2009, 15:26
 

can't get it work in the latest moodle 1.9.5+, getting the same error as discussed in the thread mentioned above ("Fatal error: Call to a member function record_exists() on a non-object in /var/www/html_new/admin/report/userroles/username.php on line 64"). I've tested it with both plugins19/ and plugins/ versions. Any workaround

Imagen de Ger Tielemans
por Ger Tielemans - domingo, 23 de agosto de 2009, 05:57
 

works fine in $release = '1.9.5+ (Build: 20090708)';

Imagen de Ger Tielemans
por Ger Tielemans - domingo, 23 de agosto de 2009, 05:57
 

works fine in $release = '1.9.5+ (Build: 20090708)';

Me, with my new 'slow explosion' hair!
por Paul Vaughan - martes, 22 de septiembre de 2009, 22:24
 

Epic. Thanks Tim sonrisa

Imagen de Susan Mangan
por Susan Mangan - viernes, 2 de octubre de 2009, 01:44
 

Can you also add back role assignments? For example, we are trying to clean up a whole bunch of 'role copies' that were generated when we used v.1.8+

So I'd like to remove 'Copy 9 of student role' from Jane Doe and replace that with 'student role' ... eventually leading to the removal of all copies of roles that were automatically generated when teachers did backup and restore.

I'd be OK to do them manually but we have TONS.... sad


Página: ()  1 ...  530  531  532  533  534  535  536  537  538  539  540  541  542  543  544  545  546  547 ...576   ()