1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add-on Vanity URLs for Member Page Based On Special Usergroup

Discussion in 'Resource and Add-on Requests' started by DRE, Nov 24, 2013.

  1. DRE

    DRE Well-Known Member

    Most people do not remember the url of their forum profile which means they are less likely to share it. Lets add vanity urls so that they can share links to their page easier (which in turn helps our SEO). Add a usergroup permission so that this is a privilege. This vanity url feature is already present in Xenforo through an addon called Better Blogs. The problem is most forumers don't blog so that means less links shared. Also inspired by Turning a Subforum into a Blog
    Last edited: Nov 24, 2013
    D.O.A., thumped, Saimmi and 2 others like this.
  2. Sheldon

    Sheldon Well-Known Member

    So... we have to purchase Better Blogs in order for members to have vanity url's?

    Or what are you asking... a seperate add-on, not relying on that one?
  3. DRE

    DRE Well-Known Member

    A separate addon that makes the member page the vanity url.

    For example. http://sheldon.xenforo.com That's what Better Blogs does and it changes even if you change your screen name.
  4. Saimmi

    Saimmi Member

    Very much in favour. Liked!
    DRE likes this.
  5. Flexin

    Flexin Active Member

    That is interesting. That could be a nice feature for build threads on a car forum.

    DRE likes this.
  6. Jake B.

    Jake B. Well-Known Member

    Then you run into the issue of usernames that contain special characters, which cannot be used in a subdomain (such as a period)
    HWS and xf_phantom like this.
  7. DRE

    DRE Well-Known Member

    Not a problem if usernames are set as alpha-numeric only in AdminCP/User Registration/User Name Match Regular Expression. I don't have my vanity urls for Better Blogs turned on at the moment but when it is, it also lets users use spaces. When they use a space it puts a dash in their vanity url. When they use a special character it ignores it completely. You'd have to ask @Rigel Kentaurus how that works.
  8. Sheldon

    Sheldon Well-Known Member

    So how would say... these 5 vanity URL's be listed? 5 different members, all having similar name....?

    Richard Smith
  9. DRE

    DRE Well-Known Member

    I think Better Blogs Multisite ignores all special characters even if its a hyphen. I've only seen spaces get a hypen.

    So it would look like:

  10. Jake B.

    Jake B. Well-Known Member

    I was thinking the same thing. Maybe something like this:

    Username: RichardSmith
    User ID: 1
    Vanity: RichardSmith

    Username: Richard_Smith
    User ID: 7
    Vanity: Richard-Smith

    User ID: 15
    Vanity: Richard-Smith.2

    User ID: 20
    Vanity: Richard-Smith.3

    Username:Richard Smith
    User ID: 17
    Vanity: Richard-Smith.4

    Or something like that.. But then you get into the point of having a random number after their username, which is what is trying to be avoided. So the best bet would be to only allow A-Za-z0-9 and a space in the usernames. But that completely ruins the plugin for any established forumes.

    And then you have 4 users with the same vanity name. How do you expect it to know which one you are actually wanting to see?
    Last edited: Dec 27, 2013
  11. DRE

    DRE Well-Known Member

    That sounds good @ the numbers behind each name.
  12. Jake B.

    Jake B. Well-Known Member

    So, they will remember that number, but not their UserID?
  13. DRE

    DRE Well-Known Member

    They would and that only applies in rare cases. Most people won't have similar usernames.

    No, they're not going to remember their user id. Are you gonna remember yours? 38615?
    D.O.A. likes this.
  14. iamjudd

    iamjudd Active Member

    This sounds like it would be pretty cool. I would say not have it go by the username they pick though, make it like how facebook and other social networks let you pick what you want it to be.
    DRE likes this.
  15. Jake B.

    Jake B. Well-Known Member

    That seems like it would work much nicer than using their username, and having to deal with duplicates.
  16. Daniel Hood

    Daniel Hood Well-Known Member

    Facebook does that by default. Uses your first and last name and then an incremental number if your names URL is already used. They obviously give you the option to change it later too though.
  17. iamjudd

    iamjudd Active Member

    Personally I think the best option would just to be able to give the user the option to choose their own vanity URL via editing their profile and during the registration process.
  18. DRE

    DRE Well-Known Member

    I don't care how it gets done or lacking features anymore as long as it gets done some sort've way. Would throw money at this if I knew where to throw it to.
    iamjudd likes this.
  19. DRE

    DRE Well-Known Member

    Speaking of facebook, I like the forumname.com/username format better than username.forumname.com
    iamjudd likes this.
  20. Jake B.

    Jake B. Well-Known Member

    I might try to do this. It seems like it'd be easy enough to do.

Share This Page