Skip to main content
← Data, API & Backend
Data, API & Backend June 1, 2022 · 5 replies

How to display dynamic content directly after the user login ?

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Hello everybody, 
Can you help me solve this problem ? 

One user has to choose is city when he signup. I then want to show him what's new in the city he choose. 

It seems super simple but I don(t know why I can't figure how to solve this.

5 replies

Robin June 3, 2022

Thank for your answer but unfortunately it doesn't solve my problem. I'll try to explain it better :

Backend : Bubble, as I need to have a webapp, and I am familiar with it.
DB logic :
each USER has a CITY, and each SHOP has a CITY When one user open the app, I want only the SHOPS of his CITY to show up.

This is what I've try to do :
Stock the user_city_id directly from the UserInfo request (used for custom auth) and then do a search for SHOPS using user_city_id as a filter to show only the shops related to user's city.  

But for some reason, it doesn't work at all... 

Can you help me please, it is super super super important for my app to work.

Alejandro Gutiérrez Bravo team June 3, 2022

Hey  use the new debugging tool to see what is goin on.
Hopefully that help to figure out what is the issue

Robin June 3, 2022

Thanks  ! But unfortunately I have no error at all, the data is just not displayed..

app.monster June 4, 2022

The logic seems correct. I would have used the same approach you described. Unfortunately, I can't help you with the specifics with Bubble as the backend.

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord