I need help with implementing a feature

Dominik L Posted in Component Development 3 weeks ago

a user of mine had an idea for a bio component

We already have one by Michael, but he had another idea:

When you open the profile of a user, there should be a container above the wall container with the label "tell us something about yourself" with a pencil icon for direct editing - here the user has the possibility to add a few words about himself so other users who visit his profile, can directly see a few infos about the user he gives about himself.

something like "hi my name is Dominik, I am 27 and I like to play games and go hiking"

Something like the bio component, but with fewer words and directly visible when opening a profile

makes the whole thing a little bit more personal, especially for mobile users

Would this be hard to implement?

Replies
German Dominik L Replied 2 weeks ago

thanks! i will try! :)

Indonesian Arsalan Shah Replied 2 weeks ago

I think chatgpt didn't know this so far. 😂😂😂😂😂

You can do that by

  1. Adding a box
  2. User can click on box to edit
  3. JS used to send request on server where $user->data->someshortbio is save(); saved
  4. If $user->someshortbio() exists simply show it

I can not write a component.