View Source Bonfire.Me.Profiles (Bonfire v0.9.11-social-beta.6)

Shared helpers for profiles (such as the profile of a User or Category)

Context for Bonfire.Data.Social.Profile mixin, which has these fields:

  • name
  • summary
  • website
  • location (plaintext, see also Geolocation integration for storing GPS coordinates)
  • icon: eg. avatar (references a Bonfire.Files.Media)
  • image: eg. banner

Summary

Functions

changeset(profile \\ %Profile{}, params)

changeset_simple(profile \\ %Profile{}, params)

indexing_object_format(obj)

schema_module()

Callback implementation for Bonfire.Common.QueryModule.schema_module/0.

set_profile_image(atom, user, uploaded_media)

spam?(text, context)

spam_check!(text, context)