Skip to content

[Bug] CC post author has no avatar #1246

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

Closed
1 task done
xolotl opened this issue Aug 30, 2022 · 7 comments
Closed
1 task done

[Bug] CC post author has no avatar #1246

xolotl opened this issue Aug 30, 2022 · 7 comments
Assignees
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟩 priority: low Low priority and doesn't need to be rushed 🔒 staff only Restricted to CC staff members 🏁 status: ready for work Ready for work

Comments

@xolotl
Copy link

xolotl commented Aug 30, 2022

Description

Creative Commons, the generic organizational author on the CC website, which is credited as the author of organizational posts, has no avatar.

Reproduction

  1. Visit a post authored by creative-commons (eg, https://creativecommons.org/2022/08/30/press-release-new-four-year-4-million-open-climate-campaign/)
  2. See lack of avatar.

Expectation

The Creative Commons author should have the basic CC logo as an avatar.

Screenshots

image

Environment

Not applicable.

Additional context

  • The Creative Commons author is not a regular WP user, but is supplied as a "guest author" by the Co-Authors Plus plugin. An update to this plugin may address this bug.
  • Posts try to supply a WP Gravatar for authors and guest authors often don't have Gravatars (perhaps depending on if guest authors have emails — there is not Gravatar for CC as an organization).

Resolution

  • I would be interested in resolving this bug.
@xolotl xolotl added 🟧 priority: high Stalls work on the project or its dependents 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work 🛠 goal: fix Bug fix 💻 aspect: code Concerns the software code in the repository labels Aug 30, 2022
@xolotl
Copy link
Author

xolotl commented Aug 31, 2022

I attempted to address this by adding an email address to the CC guest user for which there is a gravitar (communications@creativecommons.org), but still no avatar is showing on CC posts.

@xolotl
Copy link
Author

xolotl commented Aug 31, 2022

Here's a good example post that includes both a regular WP user as an author (Jennryn Wetzler) and a guest user (Jonathan Poritz). The guest users don't seem to have the right gravatar img src for their avatars.

@possumbilities
Copy link
Contributor

@xolotl there's a chance that the simple-local-avatars plugin is why the Gravatar route is failing, and may be the cause of it failing in general since these two plugins have overlapping functionality changes.

@xolotl
Copy link
Author

xolotl commented Sep 1, 2022

@possumbilities yes, hm... There is also a field in on guest authors specifically for avatars and the image their appears on their profile page, but not in their "byline" on posts. I see there is the Creative Commons Author plugin that may be in play also. As both Simple Local Avatars and Co-Authors Plus have updates, there might also be new behaviors if all was updated. A bit of a knot to untangle...

@TimidRobot
Copy link
Member

TimidRobot commented Sep 1, 2022

I recommend this issue be addressed in the new/pending website and not the current/legacy website.

@xolotl
Copy link
Author

xolotl commented Sep 1, 2022

I agree that this can wait for the new site.

@xolotl
Copy link
Author

xolotl commented Dec 13, 2022

In a moment of desperate inspiration, I created a new regular WP user for CC and changed authorship of all CC posts on the blog to that new user and now the avatar shows up, possibly because no extra WP plugins are involved. The previous creative-commons guest author now has no posts and could probably be deleted, but we can leave that clean up for the launch of the revised site.

Example Post:

image

@xolotl xolotl closed this as completed Dec 13, 2022
@TimidRobot TimidRobot added 🟩 priority: low Low priority and doesn't need to be rushed 🏁 status: ready for work Ready for work 🔒 staff only Restricted to CC staff members and removed 🟧 priority: high Stalls work on the project or its dependents 🚦 status: awaiting triage Has not been triaged & therefore, not ready for work labels Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟩 priority: low Low priority and doesn't need to be rushed 🔒 staff only Restricted to CC staff members 🏁 status: ready for work Ready for work
Projects
None yet
Development

No branches or pull requests

3 participants