vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

special characters in member profiles problem

This is a discussion on special characters in member profiles problem within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Ok here's the problem... There's a user called Peoples and another user called -PEOPLES- . When I click on the ...

Go Back   vBulletin SEO Forums > vBSEO Google/Yahoo Sitemap > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-06-2007, 04:49 PM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
special characters in member profiles problem

Ok here's the problem...

There's a user called Peoples and another user called -PEOPLES-. When I click on the nick's in Who's Online? it redirects to the profile of the first one for both users.

So vbseo removes the - on user -PEOPLES-. That's because I have set include special characters to 0 in config_vbseo.

So now you think: so set it to 1 and it will include the - right? Yes I could do that but then usernames with spaces in them are badly rewritten.

John W turns in to John%2BW or something.

So I think what I need is something that allow the use of certain characters and disallow others.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 02-06-2007, 05:32 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,277
vB 3.6.x has a field in AdminCP where you can use RegEx to specify what characters are allowed in usernames. I have mine limited to letters, numbers, _ and .
__________________
Keith Cohen / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 02-06-2007, 06:02 PM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Yep i know I've used that for new registrations but old ones are still using some of the forbidden chars. That's why I'm searching for a solution for them.

btw just noticed this is in the wrong forum.

Last edited by dutchbb; 02-06-2007 at 08:38 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 02-07-2007, 03:18 PM
Snake's Avatar
Senior Member
vBulletin Hacker
 
Real Name: Josh
Join Date: Oct 2005
Location: Cleveland, OH
Posts: 416
Send a message via AIM to Snake Send a message via MSN to Snake
Quote:
Originally Posted by dutchbb View Post
Ok here's the problem...

There's a user called Peoples and another user called -PEOPLES-. When I click on the nick's in Who's Online? it redirects to the profile of the first one for both users.

So vbseo removes the - on user -PEOPLES-. That's because I have set include special characters to 0 in config_vbseo.

So now you think: so set it to 1 and it will include the - right? Yes I could do that but then usernames with spaces in them are badly rewritten.

John W turns in to John%2BW or something.

So I think what I need is something that allow the use of certain characters and disallow others.
Yes exactly! I am having this same exact issue as well so is there a solution to this? I'm really hoping this can be fixed in the next release.

Quote:
Originally Posted by Keith Cohen View Post
vBulletin 3.6.x has a field in AdminCP where you can use RegEx to specify what characters are allowed in usernames. I have mine limited to letters, numbers, _ and .
Oh really? I never knew about that. Think you could guide me please 'cause I'm not sure if I can see it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 02-07-2007, 03:32 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,277
Actually, I only allow letters, numbers, periods and dashes. It's under User Registration Options. This is the RegEx I use:

^[A-Z0-9-.]+$
__________________
Keith Cohen / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 02-07-2007, 09:47 PM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Thanks. Still that doesn't solve the problem with dashes in similar usernames. A link to user -joe- will go to the profile of joe.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 02-07-2007, 09:53 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,277
Yeah, you would have to disallow - also. Or include the userid in your profile URL.
__________________
Keith Cohen / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 02-08-2007, 07:17 AM
Snake's Avatar
Senior Member
vBulletin Hacker
 
Real Name: Josh
Join Date: Oct 2005
Location: Cleveland, OH
Posts: 416
Send a message via AIM to Snake Send a message via MSN to Snake
Quote:
Originally Posted by Keith Cohen View Post
Actually, I only allow letters, numbers, periods and dashes. It's under User Registration Options. This is the RegEx I use:

^[A-Z0-9-.]+$
Thanks, but what about hyphens and underscores? I would like to have that as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 02-08-2007, 08:32 AM
Mert Gökçeimam's Avatar
vBSEO.com Webmaster
vBSEO Total Customer SupportvBulletin HackerBig Board Administrator
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 8,370
Blog Entries: 1
Send a message via MSN to Mert Gökçeimam
Quote:
Originally Posted by Darkblade View Post
Thanks, but what about hyphens and underscores? I would like to have that as well.
Help gives the following information


Quote:
^[A-Z]+$ - Characters from A-Z only
^[A-Z ]+$ - Characters from A-Z including space
^[A-Z0-9 ]+$ - Alphanumeric characters including space
^[\x20-\x7E]+$ - ASCII characters from 32-127

See PHP.net for more information on regular expressions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 02-08-2007, 11:53 AM
dutchbb's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: ---
Join Date: Oct 2005
Location: Belgium
Posts: 685
Quote:
Originally Posted by Keith Cohen View Post
Yeah, you would have to disallow - also. Or include the userid in your profile URL.
With the RegEx you are using, spaces in names are also not allowed right? In that case one could allow for special chars in the vbseo config and replace spaces in existing usernames with dashes. That solves the problem. Now to find a query that can automatically find spaces in 30.000 usernames and replace them with dashes...

[edit] Well I think your idea is better, just not allowing dashes in usernames, and replacing the ones that already exist with underscores.

Last edited by dutchbb; 02-15-2007 at 12:01 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 02-15-2007, 12:00 PM
Junior Member
 
Real Name: Keith
Join Date: Feb 2007
Posts: 6
Is there any other information about this? I have a ton of users with japanese characters and other special characters in their username. Quite honestly I don't want to enable the regex for usernames since then people won't be able to use Japanese names.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 02-15-2007, 12:12 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,277
Quote:
Originally Posted by keith View Post
Is there any other information about this? I have a ton of users with japanese characters and other special characters in their username. Quite honestly I don't want to enable the regex for usernames since then people won't be able to use Japanese names.
Info here: Member List
__________________
Keith Cohen / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.


My Personal Sites: My Blog | GPS Discussion Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 02-15-2007, 12:38 PM
Junior Member
 
Real Name: Keith
Join Date: Feb 2007
Posts: 6
Thanks, that works.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

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 -4. The time now is 10:39 PM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.