-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save avatars of "Followers" Block locally #647
Comments
Possibly related (at least in spirit :-P) to #568. But also, I share the feeling. In fact, I already do store commenter's avatars locally, using a custom code snippet (which can be seen near the top of my "add-on mu-plugin"). Now, I'm obviously not expecting anyone to use my code there (which relies on the presence of another plugin to work, by the way). But, who knows, someone might feel inspired. ;-) I may look into extending my "solution" to followers' avatars. There's also other plugins for that do this sort of thing, I think, for "regular" commenters; no clue if they can somehow be leveraged to do something like this. |
For the avatars in the comments (regardless from whe3re they are coming) Avatar Privacy does the job very good. Unfortnuatly it does not detect the avatars in the follow block. |
Maybe it is a good idea to reuse the code for storing avatars you wrote for the webmention plugin @pfefferle? |
Had a quick look in the database and I don't think the avatars are stored anywhere, but rather that the At least for comments, we can hook into one of WordPress' core hooks and store avatars anywhere (and retrieve them, again using a hook, later on). For these followers, maybe the best way would be to make the (Of course avatars would have to be updated every once in a while. What I currently do, for comment avatars, is check whether they're over a month old, and update them if so, even if nothing's changed.) Another way would be to override the block's render function (seeing as it is a dynamic block). But that's more complicated; you'd need to get the URLs from the block's original output HTML. And it would only work for the block, not elsewhere (like inside WP-Admin). Not saying this is how is should be done; just generating ideas of how one could attempt to make it work with what we have right now. |
From my point of view this is also a privacy issue. I think this is also related to #622 I also almost started working on this weeks ago. |
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
What
The avatars of the users in the Followers block are not saved within WordPress but are loaded every time from the instance.
I would love to have them cached locally and only update every now and then.
Why
Because I think this is the right thing to do with data from other instances. Not hitting every time the other instances when someone opens my blog is quite nice
How
No response
The text was updated successfully, but these errors were encountered: