PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Classifieds Bug Reports (http://www.photopost.com/forum/classifieds-bug-reports/)
-   -   Apostrophe in User Name (http://www.photopost.com/forum/classifieds-bug-reports/129693-apostrophe-user-name.html)

oldengine January 3rd, 2007 07:57 PM

Apostrophe in User Name
 
I'm using a combined user data base of over 7,000 users from my vBulletin forum linked into my PhotoPost Classifieds.

These are on separate domain names and are up and running just great, BUT!

It seems thar user O'Bara could log in on vBulletin and NOT on the classifieds.

I removed the ' from his name and BINGO - it worked fine.

Is the ' being stripped from the log-in user name on the Classifieds system?

Do I do a work-around by naming him OBara. Thankfully, out of 7,000 I only have three other O's, but more will come or give up and get lost.

Chuck S January 3rd, 2007 08:11 PM

Interesting. I dont seem to have this issue on my system and we do typecast the authuser variable so the variable should be addslashed before it is sent to the database

Code:

Content visible to verified customers only.
Link to your php info?

oldengine January 3rd, 2007 08:18 PM

http://www.smokstak.com/forum/phpinfo.php

A - in a password may be involved too (jr-12) but we'll deal with one thing at a time.

Chuck S January 7th, 2007 10:07 AM

Try this in vb3.php

Code:

Content visible to verified customers only.

oldengine January 7th, 2007 07:46 PM

With O'Anonymous

Invalid login. Please check your username and password, or register.

With OAnonymous works fine.

Chuck S January 7th, 2007 08:26 PM

Even with a addslash interesting

You can send me ftp to chuck@photopost.com and admin login etc

oldengine January 26th, 2007 05:29 PM

OK, fresh install of Build: 1/6/07 10:17 PM in a test environment.

User O'Malley can log in on vBulletin, but not on the classifieds.

Error: Invalid login. Please check your username and password, or register.

I have elimated all Irishmen from my main board. :eek:

Log in information will be forthcoming via email. (Sorry for the delay.)

1996 328ti April 9th, 2007 06:36 PM

I might have a similar problem.
I had a user register on my vBulletin board as
'02 BMW 330Ci for SALE

After he posted a classified I was getting error messages using the rss feed.
I moved the ad to a different category and the error moved with the ad.

I deleted his ad and error was gone.
I logged in as him, posted an ad and got the RSS error again.

Only thing I can think of is that his username started with an apostrophe.

Chuck S April 10th, 2007 11:09 AM

RSS error there is no RSS to our default program so are you trying to discuss a hack. If so please discuss any issues with a hack in the respective thread.

gholsie March 14th, 2011 07:02 PM

Hi guys, I discovered this same problem today. Was there a fix for this problem posted elsewhere? I have several users with apostrophe's in their account names. I'm sharing user accounts with vbulletin.

Sorry to revive an old thread, but, it doesn't appear the fix is here. Chuck what did you find after obtaining your login at smokestak.com?

Chuck S March 15th, 2011 09:37 AM

You can try any suggestion like in post 4 but as I initially posted we typecast the authuser variable which is the user entered name on our login form so apostrophe's should not be an issue. Tested and works fine from what I am seeing as noted in this thread.

I can not say what was an outcome from a 3 year old thread here but more than likely maybe they tried what I suggested in post 4.


All times are GMT -5. The time now is 09:34 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97