Thanks for the reply goBlank.
When using vanity url AS turn the displayname into display-name when there is space in the name. If you check ActiveSocial.com for example, the url of a user's profile looks like "
http://www.activesocial.com/users/someone" when the user display name is "someone", or "
http://www.activesocial.com/users/some-one" when the user display name is "some one" (notice the space in between).
So when I creating a link to the author's profile page from Ventrian's NA or PA, the url should look like this "
http://www.mysite.com/[DISPLAYNAME]", but this link can only handle the display names that have no space in between.
I need to link users from all sorts of places on the site, the NA articles, PA posts, comments, etc, with links to their profiles. But I can not do this with vanity url turned on.