PDA

View Full Version : Bad link with special character in username


KiltedCodeNinja
12-08-2012, 08:12 PM
I have searched all over and cannot find an answer to this question. We have users who were allowed to register and use special characters in their user names, e.g., Bob C. Barb T.

When you try to follow the link to their profile, it does not work and goes to another user. The link that is generated for the user Barb T. is:

http://www.xmarksthescot.com/forum/member.php?u=1422

Where the u= has the correct user ID. However, when you click on the link, it resolves to this URL:
http://www.xmarksthescot.com/forum/members/barb-t-/

If I change the URL to this:
http://www.xmarksthescot.com/forum/members/barb-t./

It correctly brings back the profile for the user Barb T.

Any ideas? We are on 4.1.8, upgraded from 3.8.1 at the beginning of this year.

ForceHSS
12-09-2012, 01:10 AM
you have it so guests cant see any of them links

Thunderbird8
12-09-2012, 08:41 AM
Those links look somewhat like vBSEO links. All the stuff I could find for vB friendly URLs included numbers in them.

If you are using vBSEO, there is an option which will use the correct links (I had this problem), but I forget what it is. You can probably ask on the vBSEO site.

KiltedCodeNinja
12-09-2012, 12:09 PM
We turned off VBSeo when we upgraded to VB4, but I will look at the options there

How do I allow guests to see links? I thought that was a forum setting, not a user one?

Thunderbird8
12-10-2012, 07:27 AM
You linked to a user profile, when it appears that guests are not able to view profiles. You'd have to change the Unregistered group to allow viewing of profiles.