Profile Search

Profile Search

by Adam Campbell -
Number of replies: 7

Hi Everyone,

Is there a profile search block out there? I've looked but havent seen anything yet. I want users with a Teacher Role to be able to search for students profiles in Moode.

From the paticipants page you can find users, but a search field would make it easier.

Does anyone have any suggestions?

Kinds Regards,

Adam

Average of ratings: -
In reply to Adam Campbell

Re: Profile Search

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Interestingly you can do this...

user/index.php?contextid=123&search=adam

That's the participants page and it does have a search facility.
In reply to Howard Miller

Re: Profile Search

by Adam Campbell -

Thanks Howard!

I have created a HTML block with this. Any ideas why it isn't working?

<form action="http://virtual.avonvale.co.uk/user/index.php">

<div>

<input name="contextid=2&search=" /> <br />

<input style="cursor: pointer; color: #00f; border-top-style: none; border-right-style: none; border-left-style: none; border-bottom-style: none" type="submit" />

</div>
</form>

I get this result from the form:

http://virtual.avonvale.co.uk/user/index.php?contextid%3D2%26search%3D=[ input from search]

But If i type the link in manually it works:

http://virtual.avonvale.co.uk/user/index.php?contextid=2&search=adam

Thanks smile

In reply to Adam Campbell

Re: Profile Search

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Ha! I created a new block smile

(attached)
In reply to Howard Miller

Re: Profile Search

by Adam Campbell -

Howard,

Is there a fix to allow a global user search of participants? It seems users are sorted by the their course via the drop down menu 'My Courses'.

Is there already way to make it show all the site users? Does this effect other versions of Moodle? (Ours is 1.8.8)

I found this Moodle Tracker which looks to address my issue:

http://tracker.moodle.org/browse/MDL-9333

paticipants.JPG

Kind Regards!

In reply to Adam Campbell

Re: Profile Search

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I'm starting to wonder about the privacy issues of that option. However, it should be possible. Let me have a think smile