Building a user-to-user Messaging System: Need help displaying Messages

Hi everyone, grateful Bubble exists. I’m building a messaging function, but the last gap I am struggling with overcoming, is getting Message Text Content between two users to display in a repeating group. For two days I tried every workaround I can think of (hundreds of failed attempts); now I hope the community can help.

My methodology comes from the Code-Free Startup videos, and blending the Tinder messaging system with deconstructed features from other apps. Happy to provide a temporary login if in-depth context is needed.

The problem arises during attempts to “Send” a Message (from MultiLine Input) to the Messages database. The goal is to display a running history of messages between two users.

  1. Message gets added to Current User’s Conversations >> Messages. (this works, shows up in Data)
  2. Repeating Group with Data Source: Current User’s Conversation’s Messages is supposed to display that input to Messages, as well as the running history of messages between two users. (this doesn’t work)
  3. The only workaround that has any effectiveness is another Repeating Group with Data Source: Search for Messages (Created By: Current User), which only shows one user, and I can’t figure out how to display messages between both.

I’ve attached videos and pictures of my setup and workflows.

Design/ Workflow as described:
https://www.youtube.com/watch?v=GX94T03fQKg (apologies for background fan noise)

Design/Workflow full context:

I think there’s a display data problem where Text Content and Profile picture, or anything connected to Conversation’s Messages doesn’t show. My suspicion is that there’s a data format invalidity, because all the other data shows normally outside of the Repeating Group. Nothing in the Repeating Group, not even a standalone icon, displays. I started using Current User’s Conversation as a workaround after Parent Group’s Conversation (which is what Bubble and CFS suggest) looked broken. Not much different. I’ve tried so many different ways that I thought would work, but this is the closest I’ve gotten.

Happy to provide more information, or Bubble account temporary login if that helps. Thank you!!

Hey @InCommon :slight_smile: It looks like there should be a couple things changed with the data source for the Conversation/Messages repeating groups. Can you share a link to the app? (Can PM me if you prefer) Happy to create a step-by-step of what I changed to explain how to set this up!

1 Like

Yes… PM incoming

Thank you @fayewatson for all your help!!!

1 Like

This is very encouraging. I just discovered Bubbles and have an idea for a site that requires an internal messaging system. It would be great to see see exactly how to go about setting it up.

Regards,

-Steve

1 Like

Hey Steve, :slight_smile: Welcome to Bubble!

So glad to hear! It is definitely possible to build an internal messaging system, though it can be a little bit tricky to get the hang of at first. Here are a couple threads which have examples incase if you’re interested in taking a look!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.