Skip to main content
UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
  • Resources
  • Community
  • Pricing
Comment 'Good to know, thank ...' to 'image and image data remains in tables and on server when deleted'
Comment to image and image data remains in tables and on server when deleted
  • G

    •  ·  goodguyndfw
    •  ·  2018-11-22T15:59:21+0000

    Good to know, thank you.  What function would I call if I wanted to upload an image for a profile that didn't have a default picture?  For example, on join... instead of using the first letter of the name as an avatar.

      •  ·  Alex T⚜️
      •  ·  In reply to

        G

        goodguyndfw
      •  ·  2018-11-26T08:51:51+0000

      There are several methods, which need to be called, first you need to upload image to the Storage:

      https://ci.una.io/docs/classBxDolStorage.html

      Then you need to associate added file with the profile by calling

      updateContentPictureById from profile module DB class

    See more...
    • Features
    • Pricing
    • Forum
    • Blog
    • Market
    • About
    • Copyright
    • Contact
    • Terms
    • Privacy
    • 𝕏
    Search
    UNA Community Management System UNA Community Management System UNA Community Management System UNA Community Management System
  • Platform
    • Features
    • Core CMS
  • Resources
    • Documentation
    • Marketplace
    • Discussions
    • Support Groups
    • API Reference
    • UNA CMS on GitHub
    • Webinars
    • Blog
  • Community
    • Discussions
    • Groups
    • Webinars
  • Pricing
  • Are you sure?
    Please, enter a value here