|Anonymous | Login | Signup for a new account||2018-01-22 10:28 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0008243||opensim||[REGION] Script Functions||public||2017-09-29 05:09||2017-09-29 10:17|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0008243: Feature request: key osGetProfilePic(key kAvatar)|
|Description||There is no uniform way of getting an avatar's profile picture UUID. In SL we can do this by parsing the output of an avatar's web profile for the texture UUID of the avatar's profile pic.|
Some grids have web profiles (osgrid) but they are all different in how they need to be parsed for an UUID (and most grids don't have web profiles at all).
So I suggest the addition of osGetProfilePic() which would return the key of the profile picture of the requested avatar.
I don't know if this would work over the hypergrid? Say a visitor from grid A goes to grid B, then would a script on grid B be able to display the visitor's profile picture/texture? Maybe that would need a second function key osGetProfilePic(string hgName) which would accept 'Firstname.Lastname @somegrid:port" instead of a user key as input.
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Grid (1 Region per Sim)|
|Environment||Mono / Linux64|
So would this be a function for ONLY v2 profiles ? As I don't see this function working on the vast array of other profile options that are used on the grids?
Also there is a simple php with mysql query you can use to pull the profile pic , it is not overly difficult ..
In SL, OsGrid and perhaps a few other grids this can be done by parsing the profile pic UUID from the web/v2 profile; it's a dirty hack. Almost no OpenSim grids have web/v2 profiles, and every grid that has them implements them different.
The suggestion of this ossl function would drop the requirement of web/v2 profiles to fetch the profile picture UUID as this functions returns the UUID of the texture immediately. It would work on any OpenSim grid.
@watcher64: Where do grids serve that php file, on which standardized URL with which http port? How do I pull the texture for Avi1 @ Zangrid? And for Avi2 @ hypergrid.org? And for Avi3 from lfgrid? There is no standard.
Example: Think of a visitor wall that puts the profile pic of every hypergrid visitor on a prim. How will we know a visitors profile pic UUID so we can put it on a prim? The answer is we can't as of yet because there is no way of it being offered in a standardized way.
It may just not be possible in any case, at least not by UUID. Grid A might not be able to apply a profile texture from grid B's assetserver to a prim on Grid A.
I will close this, I don't see how it can be implemented but it was food for thought. Perhaps with a central avatar directory but that's out of scope of OpenSim.
That was my thoughts, was not meant to "dash your hopes", just to think about how it can't be done, and maybe in the future maybe there would be an option ..
I just don't see how with current architecture there could be a unifying function ..
|2017-09-29 05:09||Lotek||New Issue|
|2017-09-29 06:45||watcher64||Note Added: 0032308|
|2017-09-29 08:39||Lotek||Note Added: 0032309|
|2017-09-29 08:50||watcher64||Note Added: 0032310|
|2017-09-29 10:17||Lotek||Status||new => resolved|
|2017-09-29 10:17||Lotek||Resolution||open => not fixable|
|2017-09-29 10:17||Lotek||Assigned To||=> Lotek|
|Copyright © 2000 - 2012 MantisBT Group|