Search Results for 'bbpress'
-
AuthorSearch Results
-
May 13, 2008 at 3:45 pm #64721
In reply to: bbPress 0.9.0.2 + WordPress 2.5.1 cookie conflict?
kineda
MemberI discovered for it to work that the secret keys cannot have spaces in them (as you could in version 2.5 of wordpress and 0.9.0.1 of bbpress). I generated a new secret key as one long string, and voila… users can pass through both programs without having to re-login.
May 13, 2008 at 3:13 pm #64959Georg Kevin Paquet
Member$bb->wp_table_prefix = 'wp__'; // your wordpress db prefix is
$bb->wp_home = 'http://yourwebsite.com/';
$bb->wp_siteurl = 'http://yourwebsite.com/';replace yourwebsite.com with the blog url.
if your blog url is for example
http://www.google.com then don’t forget to add the WWW to it, but if it doesn’t has WWW, the don’t use it.
May 13, 2008 at 3:08 pm #64925In reply to: Make BBPress a Page in WordPress???
gerikg
MemberOh forgot. In the header I put just
<li class="page_item"><a href="/forum/">Forum</a></li>
after the page tag. It’s either going to be in front of all your pages or behind.
May 13, 2008 at 3:08 pm #64896In reply to: New type of profile spam?
chrishajer
ParticipantHi Sam.
They are actually links on the profile page (in the screenshot they are green and clickable.) I didn’t actually click any of them to be 100% certain, and I don’t have any now that I can check to be sure.
I have very few plugins installed, none for the profile I don’t think. Here is a screenshot of my plugin page.
http://www.chrishajer.com/bbpress/plugins.png
If one comes through again, I will make sure the links are clickable. It actually looks like they did some tricks escaping the quotes (backslash and space.) If none come through, I will try to recreate it, and if I can, I will try it with the 0.9.0.2 release.
May 13, 2008 at 3:01 pm #64924In reply to: Make BBPress a Page in WordPress???
gerikg
MemberHow I did it… Please back up everything before starting.
You need to find a theme close to your WP to make it easier.
1. BBPress side,I renamed the style.css to styleold.css
2. Copied over the WPress style.css over to BBpress
3. Open both files at the same time. You want to copy over some of the codes from styleold.css to style.css. You might need to play with it. Do not copy “body”.
4. Open both header.php. On the BBpress header copy over from WP header everything after <body> tag. Replacing whatever is there.
5. Open both footer.php. This one is a little tricky.
You can just copy over the whole thing and make sure you have <?php do_action(‘bb_foot’, ”); ?> in the file. You will lose the designers info though OR You need to see on WP side if there is any closing tags. bring that over and delete any closing tags on the BBPress side.
6. Sidebars: depending where the <?php get_sidebar(); ?> tag. For example my <?php get_sidebar(); ?> tag is IN the footer.php Others the <?php get_sidebar(); ?> is in the other php files right before the get_footer tag or after get header tag.
that’s it.
make sure in your bb-config.php
there is
$bb->WP_BB = true;
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
else
if (file_exists(‘../../wp-blog-header.php’))
require_once(‘../../wp-blog-header.php’);
after <?php tag.
Goodluck.
May 13, 2008 at 2:03 pm #64946In reply to: php_e() issue
Sam Bauers
ParticipantThis is a tough one to resolve. I noticed before that someone managed to merge their pot files for wordpress and bbpress into one and load that into wordpress (and in turn bbpress)
May 13, 2008 at 2:01 pm #64915In reply to: New bbPress BUGGY!!!
Sam Bauers
ParticipantI will be working on auto-generating the .htaccess file soon. It will be part of bbPress 1.0
May 13, 2008 at 8:47 am #3369Topic: Restrict registration per email address
in forum Requests & Feedbackrinashah
MemberHello,
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?
May 13, 2008 at 7:50 am #3367Topic: Spanish characters aren’t shown
in forum Troubleshootingolgaberrios
MemberHi! 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?
May 13, 2008 at 2:32 am #64720In reply to: bbPress 0.9.0.2 + WordPress 2.5.1 cookie conflict?
mrhoratio
MemberCan 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.
May 13, 2008 at 1:55 am #64719In reply to: bbPress 0.9.0.2 + WordPress 2.5.1 cookie conflict?
kineda
MemberI 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.
May 13, 2008 at 1:54 am #64958kineda
MemberSorry, 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.
May 13, 2008 at 1:22 am #64718In reply to: bbPress 0.9.0.2 + WordPress 2.5.1 cookie conflict?
mrhoratio
Memberkineda, please see this thread for a solution:
https://bbpress.org/forums/topic/new-login-required-when-between-bbpress-and-wordpress
May 13, 2008 at 1:21 am #64667In reply to: Troubleshoot integration
mrhoratio
Memberkineda, please see this thread:
https://bbpress.org/forums/topic/new-login-required-when-between-bbpress-and-wordpress
May 13, 2008 at 12:34 am #64717In reply to: bbPress 0.9.0.2 + WordPress 2.5.1 cookie conflict?
kineda
MemberI updated the secret key, but I’m still having the same problem as described above.
May 12, 2008 at 10:53 pm #64875In reply to: tinyMCE losing <p> formatting on Edit
Sam Bauers
ParticipantbbPress 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
May 12, 2008 at 10:50 pm #64864In reply to: Another pretty permalink/mod_rewrite mystery
mrhoratio
MemberHi 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:
https://bbpress.org/forums/topic/nicer-slug-url-rewrite-plugin-done
May 12, 2008 at 10:48 pm #64869In reply to: How to shorten a profile link?
mrhoratio
MemberBy 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
May 12, 2008 at 10:37 pm #64957mrhoratio
MemberYou’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
May 12, 2008 at 10:33 pm #64956mdata
MemberWell, 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.
May 12, 2008 at 10:28 pm #64923In reply to: Make BBPress a Page in WordPress???
Aaron
ParticipantIf 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.
May 12, 2008 at 10:09 pm #64955mrhoratio
MemberAdd 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.
May 12, 2008 at 9:53 pm #64954mdata
MemberThe 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!
May 12, 2008 at 9:21 pm #64953mrhoratio
MemberI 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?
May 12, 2008 at 9:16 pm #64922In reply to: Make BBPress a Page in WordPress???
mrhoratio
MemberIPsource, 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.
-
AuthorSearch Results