Forum Documentation Showcase Pricing Learn more

Custom User URL webapp.com/input's


#1

Hey guys,

I’m trying to find away to append a username into the URL.

I’ll like my users to create a username [BigMac] and append this value at the end of the URL.

webapp.com/BigMac


What is the difference between "current user" and "current page user"?
#2

How did he get to step one? The screenshot does not show the whole screen smh.


#3

@NigelG Can you so kindly help?


#4

The function is “get data from page url” and then you choose “path”


#5

No problem.

What are you trying to do ? Create a link to webapp.com/BigMac or redirect your page to it.

You won’t be able to do quite what you want … it will need to be …

webapp.com/page/BigMac

or, as Gaby shows, pull it back out again :slight_smile:


#6

Yeah, I want to change the URL.

webapp.com/profile/BigMac is great also. I just need to know how to do it.

@romanmg I’m confused. Is that just changing a text element?


#7

Here’s what I see.

22%20AM


#8

Sorry I confused you. I thought you just couldn’t find how to get to “Get path from page url”. I was just using a text element to show you how to get the expression.

One way to do this with the URL is to add a big group to the page and set it to type = user, source = “search for User’s (username = get path from url) :first item” . Put all of your page elements inside the group.

Now, the group is referencing a user record whose username is in the path of the url. Everything inside the group refers to the “Parent group’s user.” For example, an image’s dynamic file would = “Parent group User’s image”

What you’re currently doing is passing a user record to the page, which is how Bubble “likes it,” but it forces the unique ID in the url. So you need to pass/retrieve the user data a different way if you want the clean url you’re looking for.

Make sure to remove the “type” from the page properties if you’re going to go with the path method.


#9

I don’t see [get path from url] @romanmg


#10

As Gaby pointed out,

First Select Get data from page URL

Then within that, change Type to Path.


#11

The URL has not changed. @wegetdesign @romanmg @NigelG


And I can’t grab and data without putting current user.


#12

Can anyone help? Please


#13

Any Ideas? Really need help with this.


#14

So when you test this, note that you’re gonna have to have a user’s unique ID in the URL of your test page.

You get, right?

Otherwise you’re not going to see this work, even if you’ve set it up right.

So that’s one thing.

You might also search for replies from me about “user profile page” as I feel like I’ve I’ve answered this question a million times in different ways.

I think you’re not getting help as the answer to your question is well provided by Gaby above.

But you might also not understand how to even test this and so I answered THAT at the start of this reply.


#23

Do you see another one, @samhouston1107?


#24

Another? I’m trying to figure out what @hikaru is talking about. I guess there’s another easier way.

His application did it in a test version. Why can’t mine?