solved Is it possible to customize a profile url?

pch
@pch
10 years ago
328 posts
Hello,

Is it possible to customize a profile url?

A profile name "Joe Smith" will have the following url

site.com/joe-smith

Can it get customized to site.com/js while the profile name remains "Joe Smith"?

Thanks
updated by @pch: 02/15/16 12:57:19AM
brian
@brian
10 years ago
10,149 posts
pch:
Hello,

Is it possible to customize a profile url?

A profile name "Joe Smith" will have the following url

site.com/joe-smith

Can it get customized to site.com/js while the profile name remains "Joe Smith"?

Thanks

I believe you can do it by creating a custom form field in the Profile Settings form - call the new field "profile_url" and set the Validation type to:

(string) the numbers 0-9, letters a-z, _ and - (dash)

Not 100% sure that is going to work but I think it will.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
paul
@paul
10 years ago
4,335 posts
Actually, this is going to need a check that a duplicate profile_url doesn't already exist. If it does, Jamroom's router will get confused.
We'll look into adding this option into the Profile module so that the proper checks can be made.
Thanks


--
Paul Asher - JR Developer and System Import Specialist
pch
@pch
10 years ago
328 posts
@Brian @Paul, Thanks for your fast reply.

@Paul, Maybe I will hold on a bit till you add the option you are talking about into the Profile module. Any date frame?

Thanks.
paul
@paul
10 years ago
4,335 posts
Have raised a ticket for it -

https://www.jamroom.net/the-jamroom-network/tracker/1834/add-quota-option-to-the-profile-module-to-allow-users-to-select-their-own-profile-url

Will hopefully get a chance to do it within the next few days.
hth


--
Paul Asher - JR Developer and System Import Specialist
pch
@pch
10 years ago
328 posts
Great. Thanks so much, Paul.

By The way, will it also be possible to set which quota can customize their ul?
paul
@paul
10 years ago
4,335 posts
Yes


--
Paul Asher - JR Developer and System Import Specialist
pch
@pch
10 years ago
328 posts
Awesome. Thanks.
brian
@brian
10 years ago
10,149 posts
This has been added in the latest Profile module (1.4.0b4) - update and you'll see the new Quota option to allow users to change their Profile URL.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags