Forum Academy Marketplace Showcase Pricing Features

"Numbers" for available places please!

Hi,

I am making a food app to help to bring users and the available restaurants together. When restaurant owners submitted their submission form, it’ll go to the google map that I have set up for them.

On the other side, when the first time (new) users type in their current location and then submit it, they will only see the text page with only something like this, “You have “5” restaurants available in your area.” but not the map yet. Because they have to purchase the service before they see the map.

Please, can someone help take me there, please!

I have spent almost 2weeks trying to figure it out but with no luck. Please help me if you know how to do this and let me know if I need to provide you with any more info!

Thank you.

Kind Regards,

Dosearchfor restaurant’s, constraint = restraunt location “within” “kms” “currentuserslocation”,:count

Make sure the inputs are set to geographic addresses and the data fields you create are also geographic locations.

Hi Jarrad,

Thank you so much for your quick reply. I am so sorry I am so new to this App thing and am still learning it. I will try to follow your directions.

If I’m stuck, can I contact you here if you don’t mind, please?

Thank you.

No worries at all, if you get stuck i will create an example and send you the link :slight_smile:

Thank you so much, Jarrad. :slight_smile:

1 Like

anytime!

Hi Jarrad,

I hate to figure this out myself.lol but if you can please create me one and send me the link if you don’t mind?

Thank you.

Bismarck

ok, hope this is what you after!, its a rough throw together but it will show you what you need to know. :slight_smile:

Live version go here - https://restraunt-map.bubbleapps.io

Editor version go here - https://bubble.io/page?name=index&id=restraunt-map&tab=tabs-1

1 Like

Hi Jarrad,

So sorry, I have been busy lately and when I looked into the email you’ve sent me, I just want to say thank you so much for the email. You’re really spot-on with the problem I’ve been struggled with for a long time hence I’m no app wiz kid here. And you have made it a lot easier for me. Hat down to you. Thank you, Jarrad.

There’s something I need to clear my understanding about the link and please forgive me if I’m going to confuse you shortly, hence I still haven’t got the grip of it.

When I followed everything you did in the Editor version link that you’ve provided, you’ve triggered the “Be John (Free User)” etc; button to Element Actions>All Elements>Set State = Element>index. Custom State>who is logged in. Value>" John".

I still wasn’t sure about the above process. But is this “Set State” say means to set Location (suburbs)? For example, Melbourne (to which this app will be first launched).

Sorry I was confused about it and wasn’t sure if I got it right especially this “Set State” say on the top left of the box.

Please let me know. I hope it’s not too much for you.

Looking forward to hearing from you.

Kind regards,

Bismarck

Hi mate, the states are only to act out what would be different if you were to be john the free user or the other users. you can forget all of those states, what you would do is have the field for each user “account type” then the 3 groups you see hidden on the index, you would set a condition on the free group to “when currentuser’s account type is free” this group is visible. and on that same group another condition thats says when “currentuser’s account type is not free” this group isnt visible. repeat this for the paid group for the “paid account type” and then business type. the states are only a way for me to show you what would happen if the different user’s account type was to log in - i just did it in a way that there was no login required to view all three sides to the accounts. btw set state, the word state does not refer to location but the state something is in eg. when you start your car its in a running state.

Let me know if this has got you even more stumped and I will set it up as an actual sign up/log in version for you to copy from.

Thank you so much for the clearance Jarrad, I’ll work it around the clock.

Much appreciated, :slight_smile:

Bismarck

1 Like

Hi Jarrad,

Just discovered you’re from Australia. What a small world! :slight_smile: I’m from Melbourne. I just want to let you know that I have followed your direction in the link you’ve sent me, and I want to thank you for that. It was fun learning from it. I want to ask a decent help from you please as I am struggling to come to term in understanding how bubble works. And I hope you don’t mind, please.

My launch date is nearer, and I have 45% to completion. I’ve changed some information in some groups. According to your editor version link, the text “You have 1 Restaurant available near you” turns out in my app editor is “You have 1 Restaurantnono available near you”. Notice the “nono” next to the restaurant? I’ve followed your direction in the editor box as it is, but it still came out the same. I rechecked everything but couldn’t find any at my side.

Please can you help me with this error? Just wondering, was your example is a website or app? Mine’s an app.

Please let me know. Looking forward to hearing from you.

Kind regards,

Bismarch

small world indeed, go to the you have 1 restaurant text and open the editor. so you see the formatted as text? click on the word formatted. what that rule is doing is this - if i said you have 1 restaurant near you that would sound right. but if i said you have 2 restaurant near your that sounds a bit funny… to us aussies anyway. lol. so that rule is asking is there is equal or more that 2:formatastext if you click format you will see the yes no rule, in your case the yeas and no will still be in the fields but you want to leave no empty and put 's in the yes field. that way when there is 2 or more restaurant 's around you it sounds right. and you will see the other rule is the same except its set to is 0. the same adjustments need to be made. hope that helps.

let me know if you get stuck. cheers

1 Like

You’re a Champion Jarrad! :slight_smile: Thank you so much. It’s fixed now. Whew! That’s one struggle gone. Sorry, Jarrad it’s 3:04 am at my side and I’m supposed to be in bed now for work tomorrow but I just want to get this whole app thing out and done with it. Thanks, Jarrad! Talk again!

Regards,

Bismarch

1 Like

no problem mate, anytime!

Hi Jarrad,

How do you put the “Restaurant”, Coffee House," etc, in the Business Types drop-down box, please?

Have a look at the example under data, its the business types data set. I then manually added a record to the database for each type although you could do this inside the app with a few adjustments to the business place creation form.

Hi Jarrad,

Thank you. I’ll look into it now.

1 Like

Hi Jarrad,

I’m not sure what I’m doing but I have tried some effort last night figuring out how to add “Coffee House / Cafe” “Restaurant” in the drop-down box following your post 23hr ago. I manually added a field for each type in the data under the business type and under field type “text” Did a little adjustment in the creation form but it seems not working to me. I may have done it wrong.

Please, can you direct me there? Please let me know.

hi mate, sorry i have been down with the flu. did you manage to get this sorted?