Search Results for 'bbpress'
-
Search Results
-
mod_rewrite and wp_redirect don’t seem to like each other. I’m running into problems with the wp_redirect functions in bbPress redirecting the page after the URL has been rewritten, so that the URL changes back to the longer form.
For example, this mod_rewrite rule:
RewriteRule ^profile/username forums/profile/username [L]
will rewrite:
http://www.example.com/profile/username
to:
http://www.example.com/forums/profile/username
Except, that after its been rewritten, bbPress forces a redirection via wp_redirect, causing the URL in the browser window to change to the longer form. Any suggestions?
Commenting out lines 2061 and 2062 in the bbPress functions.php file will stop wp_redirect from redirecting the page.
if ( $check != $uri && $check != str_replace(urlencode($_original_id), $_original_id, $uri) ) {
//wp_redirect( $permalink );
//exit;
}But this breaks authentication, and causes bbPress to think you are not logged in, even if you are.
Topic: can’t log in anymore
I just installed bbpress on my site with a username “jen”. After it was installed, I went into the settings and integrated it with my wordpress user database. However, now I cannot log in — “jen” no longer exists and my “admin” wordpress user doesn’t exist either. What did I do wrong and how can I log back in?
Thanks.
Topic: New type of profile spam?
Has anyone seen profile spam like this? In the past couple days, I have been getting a different sort of spam registration. Instead of cramming just one link in their occupation and interests fields, they are cramming 4, 5 or 6 links in there. When you view their profile page, the links all appear there. If you go to edit their profile page (which is where I go to delete the user) you can’t see the links displayed in those fields, but the links do appear in the source of the page. Take a look here:
http://www.chrishajer.com/bbpress/profile.txt
This is the source of the user’s profile page (caution, porn links in there.)
http://www.chrishajer.com/bbpress/profile.png
That is the profile view showing the data they crammed into the occupation and interests fields.
http://www.chrishajer.com/bbpress/profile-edit.png
That is the view you get when you click the [Edit] tab link. The only data shown in the occupation and interests fields is “My lovely sites:”, but if you view the source, it’s all there.
When registering a new user, the max length is 140 and the display length is 30 for the occupation and interests fields. When viewing the profile, the field lengths are the same. But here are 577 characters in this spammer’s occupation and interests fields, but when viewing that page, all you see is “My lovely sites:”.
It’s trivial to get around a form’s field length restriction with something like the Web Developer Toolbar, or maybe they’re doing it in a different way. I have an integrated install so the value is held in the wp_usermeta table, and the field is defined as longtext, which is a LOT of characters.
Has anyone else seen this, and does anyone think there should be some validation done on the data that’s input to ensure that it’s less than 140 characters before inserting it into the database?
This was Firefox 2.0.0.14 on Windows XP SP2, running bbPress 1.0-alpha from around March 2007, PHP 5.2.5, MySQL 4.0.27, Apache 1.3.34.
Thanks for reading.
Hi, installed newer version of bbpress 0.9.2.
Problem: text entered between backtricks`treated as code. Width is larger than page width. look here
[img=http://img140.imageshack.us/img140/6366/88594514gy3.th.jpg]
There should be a scrollbar for the purpose of restricting width and hyper links shouldn’t be active. How can I do that?
I’m using the latest version of tinyMCE in my bbPress forum, but have run into an issue while editing posts. This problem occurs in both TinyMCE AND FCKeditor, so it must be related to how bbPress handles these types of plugins.
I can post new topics fine and everything works. However, when I go in to edit a post the WYSIWYG editor loses all <p> tags, forcing everything to appear on a single line. All other formatting is retained correctly by the editor.
Any idea on how I can fix this problem?
Topic: Public forums
Does bbpress support the creation of public (no need to login) forums?