Too many users (297) to show

Too many users (297) to show

על ידי Graham Paull בתאריך
מספר תגובות: 8

Is there anyway I can remove this limit Too many users (297) to show, I would like it to show around 500 users, this is only for a short time then I can change it back.

For those who are wondering what I am on about, I have attached an image.

Thanks,

Moodle 2.0.2+ (Build: 20110330)


צרופה SS.jpg
ממוצע דרוגים: -
בתגובה ל: Graham Paull

Re: Too many users (297) to show

על ידי Tim Hunt בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של Plugin developers

Look in admin/roles/lib.php. Find the bit that says:

abstract class role_assign_user_selector_base extends user_selector_base {
const MAX_USERS_PER_PAGE = 100;

(Around line 988). Change 100 to 500 there.

בתגובה ל: Tim Hunt

Re: Too many users (297) to show

על ידי Graham Paull בתאריך

Hi Tim,

Thanks for the reply, unfortunatley this did not work, I restarted the server, cleared caches etc without success.

is there anything else you could suggest ?

בתגובה ל: Graham Paull

Re: Too many users (297) to show

על ידי Paul Hodgson בתאריך

We have tried this too - we need simply to add all users to a group in a block.

Any other way to force this?

Many thanks,

בתגובה ל: Paul Hodgson

Re: Too many users (297) to show

על ידי faruq f בתאריך
Any update on this?
בתגובה ל: faruq f

Re: Too many users (297) to show

על ידי Tony Holt בתאריך

I've followed Tim Hunt's suggestion and this worked fine for me,


Edited the file directly on the server using SSH

restarted apache with

/etc/init.d/apache2 restart

Though a full server restart should work... I'm wondering if you guy's have edited the wrong file or are one a different version to me??

Perhaps you need to dump / clear any php accelerator systems you have??

בתגובה ל: Tony Holt

Re: Too many users (297) to show

על ידי Richard van Iwaarden בתאריך
תמונה של Particularly helpful Moodlers
I created a tracker for this, please vote: http://tracker.moodle.org/browse/MDL-36395
בתגובה ל: Richard van Iwaarden

Re: Too many users (297) to show

על ידי Derek Chirnside בתאריך

I don't know Richard.

You may find that this is regarded as a feature not a bug.

The question may be: How do you select all users in the scenario you describe?  This seems a reasonable thing to ask.  I'd check the forums and tracker some more.

My work around is to type in random letters and gradually choose the users.  חיוך  Not helpful I know.

-Derek

בתגובה ל: Derek Chirnside

Re: Too many users (297) to show

על ידי Richard van Iwaarden בתאריך
תמונה של Particularly helpful Moodlers

I do the same thing. I tried to get some of our staff into a course, group or cohort. Staff can be recognized by there Email adress or department. Department gives to many hits. So does Email.

I started to type a@company.com, then b@company.com and this 26 times to find all the staff I wanted....

If this is not a bug it sure is an interesting feature...