Search Results for 'bbpress'
-
Search Results
-
i’ve read through the forums to no avail. here’s the scenario…i have wordpress installed and hosted. right now the database is set up as http://mydomain.com/wordpress. i created a new directory called “forums” and installed bbpress in that folder. then i go to http://mydomain.com/wordpress/forums/bbpress (which is crazy) to proceed with the install. i enter the dabase name, database user name and password which i’m taking directly from the wp-config file and i get “There was a problem connecting to the database you specified. Please check the settings, then try again.” I’m assuming either the directory set up is wrong or i’m entering the wrong database info. Any help is appreciated. Thanks.
Topic: Akismet doesn't catch spam
Can I integrate my bbress database into my WordPress database after they were separate (but sharing the same WordPress usernames)?
Can I just copy the bb_ tables into my WordPress database and them tell bbpress to look at my WordPress database?
Thanks so much!
Marina
To integrate BBPress with WordPress cookies, I need a secret key.
I have four keys in my wp-config file, and none of them are called “Secret Key”. So where do I get this?
I need help FAST, so please!
can i somehow make simple force login without addons?
resolved by google: http://buddypress.org/forums/topic/bbpress-force-login-for-buddypress
‘code’
<?php
/*
Plugin Name: Force Login
Description: No one can see your forums unless they are logged in.
Plugin URI: http://bbpress.org/forums/topic/117
Author: Michael D Adams *voodoo code from Trent Adams and Sam Bauers*
Author URI: http://blogwaffe.com/
Version: 0.8
*/
function force_login_init() {
if ( !bb_is_user_logged_in()
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘bb-login.php’)
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘bb-reset-password.php’)
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘register.php’)
&& 0 !== strpos($_SERVER, bb_get_option( ‘path’ ) . ‘xmlrpc.php’)
) {
nocache_headers();
header(“HTTP/1.1 302 Moved Temporarily”);
bb_safe_redirect( bb_get_uri( ‘bb-login.php’, null, BB_URI_CONTEXT_HEADER + BB_URI_CONTEXT_BB_USER_FORMS ) );
header(“Status: 302 Moved Temporarily”);
exit();
}
}
add_action( ‘bb_init’, ‘force_login_init’ );
?>
‘/code’
Topic: unescaped characters
i’m having a problem with unescaped characters showing up in my forum entries – for instance, if there’s an apostrophe in an entry, it gets displayed as
'
when people read the forum. if you later edit that entry, the next display is\'
and so forth. it seems as if the engine isn’t un-escaping the characters.i’m using bbPress 1.0.1 and wordPress 2.8.1 at http://trashfilmorgy.com/
Topic: Trash Film Orgy
I recently upgraded my site http://trashfilmorgy.com/ to a WP/BB integration, and I wrap bbPress in the WP theme, arras, which creates a fairly seamless integration between the two. Check it out!
Topic: bbAttachments not functional
I have followed the README to the letter for installation of the bbAttachments plugin. All relevant directories are 777, I created the bb-attachments directory, and a no go. I host my own site at http://gplug.org/forums/. As soon as I click the upload button, my topic is posted. I have tried jpg and png without success. Images do not reside in the bb-attachments folders either. Currently using bbPress 1.01 and WP 2.8.1 integration.
Suggestions
I am using the C*nsor posts plugin on bbPress 1.0.1, works perfectly…
However, I want to disable the censor on one forum.
the function used in the plugin is:
function censor_post_text($post) {
if (!bb_get_option('censor_enable')) {return $post;}
$words = bb_get_option('censor_words');
if ($words[0]=='') return $post;
foreach ($words as $key => $word) {
$words[$key] = '/b('.preg_quote($word).')b/i';
}
$replace = array();
$numwords = sizeof($words);
for($i = 0; $i < $numwords; $i++) {
array_push($replace, "****");
}
$clean_post = preg_replace($words, $replace, $post);
return $clean_post;
}anyone know how I would add something like – if not in form id 20 – to the above?
Topic: howto find user ids?
Hi all,
I am using the hidden forums plugin by _ck_ on bbPress 1.0.1 without any issues so far.
The only thing I am stuck on is getting the user id to add to the list of allowed users. It is not displayed in the bbPress users admin page, so I have to go back to the wordpress end, click on edit user & get the number from the URL.
I am using pretty permalinks in bbPress, so maybe thats why I don’t get it in the edit user profile URL there…
Anyone know of an easy way to display the user id in the bbPress back end?
Topic: Linking directly to post?
Is it possible to link directly to post except with link to named anchor (http://example.com/forum/topic.php?id=152#post-499) on topic page, just like in vBulletin (http://example.com/forum/showthread.php?p=1856440#post1856440) or SMF (http://example.com/index.php/topic,152.msg499.html#msg499)?
Why I am asking this is that I’m doing migration from SMF and there are many links which contains IDs of posts and I want to link directly to them in bbPress too (through mod rewrite), and this is hard when topics have multiple threads (how to find on which page is post in exampled SMF URL above?).
Thanks