Description
Allows to quick jump to a user profile based on its id. The macro provides a text area and a Go! button which redirects to the user profile.
Installation
To install the macro:
- go to Administration -> User Macros
- create a new user macro called user-profile-quick-jump and uncheck Macro has a body
- Enter the following in the Template field (make sure to rename the http://yourconfluenceinstallation to your confluence local installation base URL:
<SCRIPT LANGUAGE="JavaScript"><!--
function goToProfile(object) {
var userId = document.urlForm.userId.value
var location = ("http://yourconfluenceinstallation/~" + userId);
window.location.href = location;
}
//--></SCRIPT>
<form name="urlForm">
<input name="userId" type="text">
<input type="button" name="Button" value="Go!" onClick="goToProfile(this)">
</form>
To do
It would be nice to invoke the goToProfile function when the user hits ENTER in the text area.

Comments (1)
Aug 11, 2006
Tomasz Prus says:
I think url should be changed to "http://yourconfluenceinstallation/display/~"I think url should be changed to "http://yourconfluenceinstallation/display/~"