Comments (8)
What is the field that is missing in which request?
from vircadia-metaverse.
Looking at 'pal.js', the routine getProfilePicture() goes to "METAVERSE_SERVER_URL/users/:username" and expects to get an HTML page which it regex'es to find an IMG element with the class "users-img".
The solution to this issue is to either add the new "/users/:username request (and the associated profile stuff) to the metaverse-server or fix the pal.js script to fetch the URL from /api/v1/accounts/:username/field/images_thumbnail or similar.
I'm voting for the latter. I'll look into creating a PR for Project_Athena to change pal.js.
from vircadia-metaverse.
ah that function is never called. It is actually getting profile picture from a "PAL update" before it was sending "{"sessionId":"{redacted}","userName":"Vegaslon","connection":"self","profileUrl":"https://hifi-metaverse.s3-us-west-1.amazonaws.com/images/users/previews/e36/76d/7b-/thumbnail/hifi-user-e3676d7b-6350-4495-b30c-3bfeb17711d6.png?1504609611%22,%22placeName%22:%22violet-system-8402%22%7D" now it is only sending "{"sessionId":"","userName":"vegaslon","admin":false}"
from vircadia-metaverse.
This was working 3-4 days ago. Suspect the new connection code is just being to restricting.
from vircadia-metaverse.
Another place in connectionUtils.js::getConnectionData() where it builds the data you are referencing and it gets the "profileUrl" data from user.images.thumbnail. The request to the metaverse-server looks like it's "/api/v1/users" which, at the moment, just returns one's own profile. Will eventually return self, friends, and connections.
Is there a way to set a user's thumbnail URL on the dashboard?
from vircadia-metaverse.
Yes there is a profile tab on dashboard that will get and set all three images. Viewing them in pal was possible once you started sending connection:self before.
from vircadia-metaverse.
This should be fixed after version 2.2.20. Is this still a problem?
from vircadia-metaverse.
From what I see it has been fixed
from vircadia-metaverse.
Related Issues (20)
- Trying to modify a path on an existing place via the dashboard results in an error. HOT 4
- Document 'token' API with TSDoc. HOT 2
- Add password recovery function. HOT 1
- Place domain owners and managers should be able to change Place name
- Place names should have a limited character set (no spaces, ...)
- package.json does not specify required npm and node versions
- Add config for prohibited characters in username.
- Using the "addressing" feature without being published, and default domain placenames.
- I can't connect to my vircadia-metaverse HOT 5
- RFC: Inventory Use Cases and Draft API HOT 2
- installation with docker not connect in dashboard locally HOT 2
- i need change all 127.0.0.1 to local ip 192.168.0.15
- Feature Request: Add "listed/unlisted" toggle for places. HOT 5
- Limit number of characters in names of entities
- Admin can't delete badly formed Places
- Places api: domain data keeps returning "active" = true, even after they get shut down. HOT 7
- Add webhook notification support for actions. HOT 5
- Domain "active" flag doesn't go false when domain stops heartbeating HOT 2
- Non connected users appear to be counted 2 times... HOT 1
- Moved the question to vircadia. Is there any way to delete this item?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vircadia-metaverse.