I will be working on auto-generating the .htaccess file soon. It will be part of bbPress 1.0
Hello,
I am currently integrating bbpress and wpmu.
When a new user registers, the username duplications are not allowed but email address duplications are allowed, meaning I can loggin with two different usernames and same email address!
Any plugin to restrict registration per email address?
Hi! This is my bbpress (http://www.voluntariado.tv/bbpress/). When I log in, the Spanish characters are ok. When I log off, they aren’t shown. A questiong mark appears instead. What’s wrong?
Can you post the lines you added to your wp-config.php and bb-config.php files?
The line defining the secret key in bb-config.php should look something like this:
define('BB_SECRET_KEY', 'My Secret Key');
and in wp-config.php
define('SECRET_KEY', 'My Secret Key');
Don’t forget the BB_ in fron of SECRET_KEY in the bb-config.php file.
I saw your thread. It wasn’t a solution for me…
I’ve defined both SECRET_KEY in wp-config and bb-config as the same, as well as pulling in the new “secret” from the wordpress options page into bb-admin config panel.
Still having the same issues of not being able to be logged into both at the same time.
Sorry, but that didn’t fix my problem. I’ve defined both SECRET_KEY in wp-config and bb-config as the same, as well as pulling in the new “secret” from the wordpress options page into bb-admin config panel.
Still having the same issues of not being able to be logged into both at the same time.
I updated the secret key, but I’m still having the same problem as described above.
bbPress turns < p > tags back into double line breaks and < code > back into backticks ( ` ).
You will need to somehow override this or force reconversion in TinyMCE or FCKeditor
Hi Sam, I was able to fix this without messing with bb_repermalink. Instead I used a plugin filter for get_user_profile_link(), get_topic_link(), and get_forum_link() functions.
Here’s the thread:
How to shorten a profile link?
https://bbpress.org/forums/topic/nicer-slug-url-rewrite-plugin-done
By the way, I made this hack cleaner by implementing it as a filter inside a plugin.
function my_get_user_profile_link_filter( $link , $user_id = 0 ) {
//check for rewrite
$rewrite = bb_get_option( 'mod_rewrite' );
if ( $rewrite ) {
//what kind of rewrite there is? slug use "forum_slug" column, else the column is "forum_id"
$column = ($rewrite === 'slugs')?('forum_slug')'forum_id');
$link = str_replace('forums/profile/', 'people/', $link);
}
return $link; // Very important line!
}
This was based on code suggested in another thread:
https://bbpress.org/forums/topic/nicer-slug-url-rewrite-plugin-done
You’re welcome. It’s included with 2.5.1, it’s just an optional entry, so I don’t think it would be in your default config file. But I think it is shown in the sample config file.
https://codex.wordpress.org/Editing_wp-config.php#Secret_Key_IMPORTANT
Well, now. Isn’t that special!!. It works perfectly.
Thank you!
BTW, I do have the latest version of WordPress installed (2.5.1) so I do not think this is included yet, but if those encountering (and noticing) the issue find your fix, it could not be easier.
Thank you, again.
If I remember correctly, a folder will override a wp page. What I have done is, install bbpress at a location within wp, then create a page in wp with the same name that you gave your bbpress install. When viewing the blog, the page will show up in the pages section, menu bar or wherever you theme puts it. This should create a dynamic link to the forum.
I think this is what you are looking for.
I have done this for static folders and things like bbpress.
Add this line to your wp-config.php file.
define(‘SECRET_KEY’, ‘Your bbPress Secret Key’);
Replace Your bbPress Secret Key with your bbPress secret key. I believe the developers already know about this. By the way, make sure you have the latest WordPress installation. I believe secret key is a new functionality in WordPress 2.5.
The secret key is not mentioned period in the wp-config.php file, but is in the bb-config.php file. The WordPress secret is in the http://www.masterdata.com/forum//wp-admin/options.php file (yep, the double forward slash is accurate – cut & paste) and does match exactly (I used Excel to do the match).
If it is supposed to be in the wp-config.php file, please show me how the entire finished code should look (obviously my variables will differ but the structure will be the same). We might let the developer folks in on this too.
Awaiting your reply…. Thank you!
I had the same problem, and thought I had the same secret keys, but actually didn’t when I checked my config files.
Did you manually check your wp-config.php and bb-config.php files to make sure the secret keys are defined and are matching?
IPsource, to add a Forum button in the nav bar, you’ll need to edit your theme files in WordPress. And then do the same in the bbPress template files. Most likely, the files would be something called header.php. Every theme is different so it’ll depend on what you have. You might consider hiring a coder to do it, if you’re not comfortable with the html/php.
Thanks for responding!
@gerikg, Yes I would like to do something like that! What I don’t know how to do is make a “Forum” button on my Nav bar at the top like that website. Then of course I would like to have the header and footer be the same on wordpress and bbpress.
It is the same. I learned all about the “secret key” during the bbPress installation. Most users will have never heard about it before and it is a bit baffling at first glance when it is asked for in the integration instructions. Anyway, it is exactly the same via cut and paste.
Actually, if it was not, it would work as not integrated and therefore, I assume, like the previous version which worked “correctly”. You would stay logged in per “Remember me” in bbPress and WordPress. There is something else going on, I think.
Has anyone installed an “integrated” version where it works properly? i.e. You can log into WordPress then log into bbPress and then go back to WordPress without logging in again. Please let me know. I realize, there is always a 99% chance that problems in coding are of my own making.
Make sure your SECRET_KEY in both WordPress and bbPress are the same. This is covered on this thread:
https://bbpress.org/forums/topic/troubleshoot-integration
This is a continuation of the post http://bbpress.org/forums/topic/new-bbpress.
Next item after an “integrated” bbPress / WordPress upgrade is a login issue. Prior to upgrading to bbPress 0.9.0.2 if I logged in to WordPress (checking “Remember me”) and then went to bbPress and logged in, you could go back and forth with no further need to log in repeatedly. In fact, you could come back in the future and still not need to log in to either section.
Since the upgrade, if I go to bbPress I must log in. Likewise, I must log in to WordPress. If I go to one of the two sites, I am logged out of the other site and must log in again.
Just a nuisance thing, but I don’t think this is what the developer’s had in mind.
Thank you.