I've written a new dashboard user control to replace the built in member search (basically does exactly the same but allows you to also search on defined custom properties); I'd like it to sync with the tree like content does when you click the edit member link - this would make deleting members a bit simpler for the user.
However I've noticed that the existing control does not do this; is there no existing Javascript function for it?
FYI, not sure if you know about this but Blackpoint Member Admin allows you to search members by custom properties (as well as group membership) and has some cool features like bulk operations
Brilliant, ta Lee, I'll give it bash later and see if it works.
Jeroen: It has a few project specific dependencies currently but I was def thinking of sharing it when I get a chance to make it a bit more standalone.
Tom: I installed the Blackpoint one and was going to use it; however I didn't have requirements for the bulk operations and I didn't want the user to have to select the custom fields they were searching on each time; just have a single simple search box as in the default that happens to search some extra fields.
..but no joy? No errors or anything, it just does nothing. Am I calling it from the correct place? I tried the ID just in case, and that did nothing as well.
I think the UmbClientMgr is a helper method for doing it in C#. It generates some javascript which is executed. If you look in the source you can see what it is and call that.
I tried adding the path in as the content tree seems to pass a comma separated list of IDs - so syncTree(-1,101,username) where 101 is the ID of whatever letter node the member is under, but still no joy :o(
Syncing member tree
I've written a new dashboard user control to replace the built in member search (basically does exactly the same but allows you to also search on defined custom properties); I'd like it to sync with the tree like content does when you click the edit member link - this would make deleting members a bit simpler for the user.
However I've noticed that the existing control does not do this; is there no existing Javascript function for it?
Hi Rob,
In your JavaScript make a call to the following:
Replace"loginname" with the username of the member.
Cheers, Lee.
That member search dashboard looks interesting. Can you perhaps share the code or create a package of it?
Jeroen
FYI, not sure if you know about this but Blackpoint Member Admin allows you to search members by custom properties (as well as group membership) and has some cool features like bulk operations
Brilliant, ta Lee, I'll give it bash later and see if it works.
Jeroen: It has a few project specific dependencies currently but I was def thinking of sharing it when I get a chance to make it a bit more standalone.
Tom: I installed the Blackpoint one and was going to use it; however I didn't have requirements for the bulk operations and I didn't want the user to have to select the custom fields they were searching on each time; just have a single simple search box as in the default that happens to search some extra fields.
I'm calling the synctree as follows:
..but no joy? No errors or anything, it just does nothing. Am I calling it from the correct place? I tried the ID just in case, and that did nothing as well.
I think the UmbClientMgr is a helper method for doing it in C#. It generates some javascript which is executed. If you look in the source you can see what it is and call that.
Jeroen
Hi Jeroen, this post: http://our.umbraco.org/forum/developers/extending-umbraco/13094-Where-is-UmbClientMgr- ...implies it's a clientside function?
Hmm guess you're right. My bad. I was confused with this:
That is how it's called in C#.
Jeroen
I tried adding the path in as the content tree seems to pass a comma separated list of IDs - so syncTree(-1,101,username) where 101 is the ID of whatever letter node the member is under, but still no joy :o(
is working on a reply...