{"id":36374917,"url":"https://github.com/bright-cloud-studio/add-user-fields","last_synced_at":"2026-01-11T14:13:18.251Z","repository":{"id":62497119,"uuid":"369303048","full_name":"bright-cloud-studio/add-user-fields","owner":"bright-cloud-studio","description":"Adds two custom user fields, image and bio, so they can be displayed on News posts and elsewhere","archived":false,"fork":false,"pushed_at":"2025-05-26T22:13:05.000Z","size":248,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-03T23:52:28.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.brightcloudstudio.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bright-cloud-studio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-20T18:28:57.000Z","updated_at":"2025-05-26T22:12:15.000Z","dependencies_parsed_at":"2025-03-18T21:34:03.248Z","dependency_job_id":null,"html_url":"https://github.com/bright-cloud-studio/add-user-fields","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/bright-cloud-studio/add-user-fields","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-cloud-studio%2Fadd-user-fields","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-cloud-studio%2Fadd-user-fields/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-cloud-studio%2Fadd-user-fields/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-cloud-studio%2Fadd-user-fields/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bright-cloud-studio","download_url":"https://codeload.github.com/bright-cloud-studio/add-user-fields/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bright-cloud-studio%2Fadd-user-fields/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28306987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T11:18:18.743Z","status":"ssl_error","status_checked_at":"2026-01-11T11:07:56.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-11T14:13:16.768Z","updated_at":"2026-01-11T14:13:18.243Z","avatar_url":"https://github.com/bright-cloud-studio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bright Cloud Studio's Add User Fields\n## Adds two custom user fields, \"User Image\" and \"User Bio\", which can be added to templates using custom tags. Add into news templates with a dynamic id to display an author's image and bio on posts or put in a static id to display a specific user's image and/or bio anywhere you'd like.\n\n- On the \"Edit User\" page is a new section containing our two custom fields.\n\n![Example Image 1](https://raw.githubusercontent.com/bright-cloud-studio/add-user-fields/main/images/ss_1.png)\n\n- On any template, for this example I'm using \"news_full.html5\", add the custom tags \"{{user_image::id}}\" and \"{{user_bio::id}}\" to display them, making sure to replace id with the User's id.\n\n![Example Image 2](https://raw.githubusercontent.com/bright-cloud-studio/add-user-fields/main/images/ss_2.png)\n\n\u003e For this example we wanted to add an author's image and bio to news posts so $author_id is obtained using \\NewsModel::findByAlias but you can use them anywhere as long as you add a valid user id\n\n- Can be styled using the \"user_image\" and \"user_bio\" class and id.\n\n## Requirements\n\n- PHP 8.1 or higher\n- Contao 5.0 or higher\n\n## Installation\n\n1. Extract this bundle into `vendor/bright-cloud-studio/add-user-fields`.\n2. Run `composer dump-autoload`.\n3. Clear Contao cache.\n4. Use insert tags `{{user_image::USER_ID}}` and `{{user_bio::USER_ID}}` to display fields.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbright-cloud-studio%2Fadd-user-fields","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbright-cloud-studio%2Fadd-user-fields","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbright-cloud-studio%2Fadd-user-fields/lists"}