You are here: PriusChat Forums


Go Back   PriusChat Forums > PriusChat Forums > PriusChat Website Questions
Connect with Facebook

This is a discussion on Punctuation breaks "Member Profile" links within the PriusChat Website Questions forums, part of the PriusChat Forums category; Although I suspect this may be a "Tough Luck" type issue, I've noticed that over the years PC and vBulletin ...


Punctuation breaks "Member Profile" links

Reply
 
LinkBack Thread Tools
Old 09-21-2009, 06:33 PM   #1
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 383
My Car: 2007 Prius
Model:
Package: #3
Thanks: 12
Thanked 101 Times in 77 Posts
Friends: 20
Default Punctuation breaks "Member Profile" links

Although I suspect this may be a "Tough Luck" type issue, I've noticed that over the years PC and vBulletin in general seems to croak whenever a username is terminated with punctuation. Where this shows up is on the "View Public Profile" link. vBulletin with change the final character "punctuation" to a "-" character when parsing the user URL. This works with mixed results.

I know that username "Cheap!" used to go off into the weeds so whenver I wanted to browse his profile, I would change the last 6 characters of the URL from "-.html" to "!.html" and all would be well.

Now it seems my Public Profile is now unaccessible. Now the problem is that vBulletin gets confused between user "dan" and user "Dan." If you try to view my public profile (DanDot) you will end up at dan's profile (DanNoDot). To fix this, you simply change the last 6 characters of the URL (manually) from "-.html" to "..html"

Since my profile is already established and I don't feel like porting it to a new profile, I guess I'm just stuck with it, but if any admins feel adventurous, it would be neat to have the "View Public Profile" work for us few members that punctuated our handle.

11011011
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2009, 10:14 AM   #2
Danny
Admin/Founder
 
Danny's Avatar
 
Join Date: Nov 2003
Location: Charlotte, NC
Posts: 5,290
My Car: 2010 Prius
Model: IV
Package: Solar Roof
Thanks: 38
Thanked 210 Times in 85 Posts
Friends: 37
Default Re: Punctuation breaks "Member Profile" links

Hmm... for fun I just tried adding a custom redirect in htaccess but I can't seem to get it to work. I'm going to post over on the vBSEO forum to see if they can help.
__________________
Follow PriusChat on and
  • PriusChat Also Offers Discounts on:
Extended Warranty - $1055 : Pre-Paid Maintenance - $875
Danny is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-22-2009, 10:16 AM   #3
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 383
My Car: 2007 Prius
Model:
Package: #3
Thanks: 12
Thanked 101 Times in 77 Posts
Friends: 20
Default Re: Punctuation breaks "Member Profile" links

Quote:
Originally Posted by Danny View Post
Hmm... for fun I just tried adding a custom redirect in htaccess but I can't seem to get it to work. I'm going to post over on the vBSEO forum to see if they can help.
Wow! Hey thanks for the cycles on this.

11011011
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2009, 08:16 PM   #4
daniel
Cat Lovers Against the Bomb
 
daniel's Avatar
 
Join Date: Feb 2004
Location: Spokane, WA
Posts: 11,278
My Car: 2004 Prius
Model:
Package: #6
Thanks: 59
Thanked 201 Times in 127 Posts
Friends: 0
Default Re: Punctuation breaks "Member Profile" links

My suggestion would have been to treat punctuated (and capitalized) user names as identical to their non-punctuated (or all-lower-case) versions. Thus, if there was already a user "Dan" then "Dan." would not be allowed. Similarly, "danny" would not be allowed, as there's already a "Danny," and "Daniel" would not be allowed since there's already a "daniel" (me). And if a user has registered as "Cheap!" then nobody else could register as "Cheap" or "cheap!" or "cheap".

Another obvious possibility would be to disallow punctuation in user names at all. Permit upper case, but resolve all letters to lower case when determining if a user name already exists.

The reason I suggest this is to avoid the obvious confusion. People seeing a post from "Dan." might well confuse the poster with the user "Dan" if these are two separate people. Similarly with the cap and non-cap variants of the same name. Without such a restriction, a malicious poster could intentionally register a user name too much like an existing name, copy and use the same avatar, and libel that person by posting comments that defame his/her character.

Note that on many web sites, upper and lower case are interchangeable in user names, even though they are distinct in passwords.
__________________
Daniel

Primary car: 100% Electric 2003 Porsche 911 Carrera. Estimated range at 55 mph: 81 miles total or 64 miles to 80% discharge. Top speed 70 mph.

Secondary car: Zap Xebra SD, also 100% electric. 1.9 cents per mile. Range: 40 miles total, or 32 miles to 80% discharge. Top speed 35 mph. Faster downhill. Both EVs use electrons generated from water power.

Gas guzzler for when I have to travel farther than 60 miles: 2004 Prius.

"If voting changed anything, they'd make it illegal."
-- Emma Goldman

"Anyone who has ever looked into the glazed eyes of a soldier dying on the battlefield will think long and hard before starting a war."
-- Otto von Bismarck
daniel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-27-2009, 08:26 PM   #5
TheForce
I Plug-In My Prius
 
TheForce's Avatar
 
Join Date: May 2005
Location: Wheelersburg, Ohio
Posts: 2,748
My Car: 2006 Prius
Model:
Package: #7
Thanks: 6
Thanked 171 Times in 125 Posts
Friends: 22
Default Re: Punctuation breaks "Member Profile" links

Dan I was about to report this a while back because I wanted to look at your profile but I forgot all about it. I just remove the - and added the . in your profile link to get access.

May I ask why you have a . in your username? Just causing trouble like Bobby Tables? xkcd - A Webcomic - Exploits of a Mom
TheForce is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-28-2009, 02:18 PM   #6
Dan.
MPG Centurion
 
Join Date: Sep 2005
Location: Houston, Texas
Posts: 383
My Car: 2007 Prius
Model:
Package: #3
Thanks: 12
Thanked 101 Times in 77 Posts
Friends: 20
Default Re: Punctuation breaks "Member Profile" links

Quote:
Originally Posted by TheForce View Post
Dan I was about to report this a while back because I wanted to look at your profile but I forgot all about it. I just remove the - and added the . in your profile link to get access.

May I ask why you have a . in your username? Just causing trouble like Bobby Tables? xkcd - A Webcomic - Exploits of a Mom
Well my profile try handle list has always been:

"Dan"
"Dan."
".Dan."
"d4n"
"d4n13"
"Dan1011"

I'm not a very creative fellow, so I figure my parents did all the work of naming me Dan, I might as well use it as much as possible. If punctuation was disallowed when I registered, I would have settled on d4n, but I think the horse has left the barn at this point.

I know other vb forums handle it. EcoModder has a "Dan" and "Dan." The links resolve without issue as:

Fuel Economy, Hypermiling, EcoModding News and Forum - EcoModder.com - View Profile: DAN
Fuel Economy, Hypermiling, EcoModding News and Forum - EcoModder.com - View Profile: Dan.

PC just seems special in this regard.

11011011
Dan. is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
breaks, links, member profile, punctuation
Similar Threads
Thread Thread Starter Forum Replies Last Post
Breaks already "squeaking" at 850 miles? LulzChicken Gen III 2010 Prius Main Forum 10 09-06-2009 08:06 PM
Problems uploading pics for avatar or "profile"? ghostofjk PriusChat Website Questions 13 05-02-2006 04:42 PM


Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:35 AM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2