Search Results for 'bbpress'
-
Search Results
-
Topic: unable to log in in iframes
hi,
I use my bbpress forum inside an Iframe..
Before I didn’t have any problems logging in (IE6 & 7),
but just now I’m unable to login in the iframe… FF works just fine,
just IE6&7 are giving troubles… When I go to the real page logging in works just fine.. but that’s not the intention to work outside iframe..
someone having the same difficulties?
thx!
I don’t know if this is a bug or if it is working as intended, but I figured I’d document it.
Explanation of bbpress registration/login
When a user registers in bbpress the user_login field in the database is case sensitive. If you register with the name Tom, Tom is put in the database. When a user logs in however, it is not case sensitive. So Tom can log in as tom, TOM, tOM, ToM… you get the point. Now this doesn’t seem like it would pose any problems. But…
Explanation of WPMU registration/login
WordPress MU and I’d guess WordPress do things differently. You may run into problems with an integrated site because of this ‘bug’. When a user registers through WPMU the user_login field in the database is converted to all lowercase. If you register with the name Joe, joe is put in the database. This is different from how bbpress does things. So if Bob registers through bbpress with a capital in his login the user_login is set to Bob, but in WPMU if Bob registers with a capital in his login the user_login is set to bob. Just like bbpress, WPMU’s login is not case sensitive. So Joe can login as joe, JOE, jOE, JoE.
The problem occurs if a user registers with a capital letter in bbpress and then tries to login through WPMU. WPMU converts the input in the login field to lower case BEFORE it queries the database. So WPMU checks for user_login with all lowercase letters, but there may be capitals, so the login can fail.
Here’s a step by step explanation
1) Fred registers in bbpress with the name Fred
2) user_login is set as Fred
3) Fred attempts to login to through WPMU using Fred (capitals)
4) WPMU converts Fred to fred BEFORE the database is queried.
5) According to WPMU fred (lowercase) does not exist.
6) Login fails
To fix this I set bbpress to match WPMU’s functionality. To do so I edited the bb_new_user function in the pluggable.php file. I simply added the following line before the database query.
$user_login = strtolower($user_login);
Now when a user registers through bbpress his user_login is set to all lowercase letters.
What I’d like to do is make a plugin that replaces the bb_new_user function with a new one that makes this change so I don’t have to edit a core file, but I’m not that savvy yet.
While this really isn’t a bbpress bug it would be nice if bbpress and WPMU did things the the same so that integration was easier.
Topic: Magic quotes won’t go away…
I have a site in which I’m using bbPress for user login/registration, but I also have Gallery2 installed for photo gallery. Gallery is configured in “embedded” mode, so that bbPress login is used – i.e. a unified login.
When I try to type quotes in a text field in the embedded Gallery, I get escaped quotes (i.e. ” turns into /”). This doesn’t happen in bbPress, but it also doesn’t happen in the NON-embedded Gallery. So, it has to be something to do with the interaction of the two applications.
The thing is, I am out of ideas. bbPress turns off magic quotes w/in the code, and so does Gallery2, plus it’s off in my php.ini. Is there some code within bb-load.php or other included files which parse all text fields? Any thoughts?
Topic: 支援中文字吗?
bbpress forum support chinese word?
OK so i successfully completed a BBpress / WPress integration…logins are all synced and i can successfulled login to bb or wp…thats all straightened out and everything appears to be working great..
one bug im noticing now is in WP, in my Visual Editor [write post], all the icons that were once there (Bold, Italic, Font, Font Size, Add Link, Add pic…etc.) that hole graphical bar dissappears…
i’ve narrowed it down to some kind of caching problem…because i deactivated the integration pluggin in wordpress.. removed the line of code in my wp-config.php…cleared my cache and the visual editor re-appears
now when i went back in to re-activate the bbpress integration plugin and got the bbpress back up, and go to check out my visual editor in WP, its there ! great!!! but just to be sure it wont go away, i clear my cache, refresh the page, and its gone again….any ideas?!!!?!
THANKS FOR ANY HELP MY NINJAS
Topic: can’t use admin login
I just installed bbPress, ran the plugin for WordPress to integrate the users, and I cannot login as the administrator. I am using the password for wordpress (I’ve even reset it and re-installed bbPress to make sure I had the right one).
Trying to log in at the top just takes me to the login page. Trying to login on the login page just “resets” the page, with no option about recovering a lost password.
Is there anyway to reset / recover the password that bbpress thinks is my wordpress password? Does this sound like some other login problem?