My rule regarding trac vs forums, is that the forums are traditionally for support and confirmation of an issue occuring, and the trac is for when bugs appear that can be duplicated and/or you have a suggested code change. You can even drop enhancement requests in the trac if you have a really neat idea, even better if you have a patch to match it.
Core developers live and breathe by the trac. If it isn’t in there, it doesn’t exist. It’s our diary of development, and without it our lives would be much more difficult. The trac is less social, and more developer speak. The forums tend to be a little more relaxed.
With WordPress 3.1 almost in its third release candidate, we can expect it to ship really, really soon. That said, it makes sense to drop 3.0 support and focus on 3.1. I’ve made sure we’ve stayed compatible with 3.0 this entire time, but it’s time to focus on the version of WP that the bbPress plugin will see the most use on.
Thanks to everyone that’s been testing on 3.0 installations. If you *really* want this to be 3.0 compatible, definitely open trac tickets and contribute patches to keep that support alive.
Ah looks like, syntax highlighting is messing up the code.
Can you try adding this instead of your line?
/* Deep integration */
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
define('WP_USE_THEMES', false);
include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy");
}
Not sure about your errors though.
Ah looks like, syntax highlighting is messing up the code.
Can you try adding this instead of your line?
/* Deep integration */
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST')) {
define('WP_USE_THEMES', false);
include_once(dirname(__FILE__) . '/../wp-blog-header.php' );
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy");
}
Not sure about your errors though.
I usually do, though sometimes if I’m unsure I prefer to get a bit of feedback first
I’m trying to open up search on my bbPress install, I can search, it works properly. What I decided, for now, was to not show the Recent Results, but only the Relevant Results, the problem is that some of the Relevant Results are not displaying a proper link to the post.
This line in /bbpress/search.php is the issue, I think, but I can’t figure out how to correct it.
Line 12:
Code:
$bb_query_form->BB_Query_Form( ‘post’, array(), array( ‘per_page’ => 5, ‘post_status’ => 0, ‘topic_status’ => 0, ‘post_text’ => $q, ‘forum_id’, ‘tag’, ‘topic_author’, ‘post_author’ ), ‘bb_recent_search’ );
Whatever I set the ‘per_page’ array to, that is the number of Relevant Results that do not work properly at the top. So since it’s set to 5, the first 5 results under Relevant Results do not work, but 6-end do.
What can I do to correct this? Thanks,
@Willabee
bbp_is_forum(), bbp_is_topic(), bbp_is_reply().
Does the plugin already have some function like the is_single() function in WordPress? Would be handy for the project I’m working on atm.
I have WP running at / and bbPress at /forum/.
This is the configuration I’m using:
http://gist.github.com/770180
Note that there was an error in one of the rules Sam posted:
rewrite ^/topic/([^/]+)/?$ /bbpress/topic.php?id=$1 last;
should have been
rewrite ^/topic/([^/]+)/?$ /topic.php?id=$1 last;
I’m trying to display a list of posts that are tagged with one tag but NOT another. For example, I want to display all posts tagged “FRUIT” but exclude posts tagged “Apples”.
I tried creating a custom View, but this code does not work:
function my_custom_views_init() {
$args = array(
'tag_id' => '35',
'tag_id' => '!=72'
);
bb_register_view(
'fruit-without-apples',
'Fruit (excluding apples)',
$args,
false
);
}
Neither does this code using bb-query directly:
$topic_query = new BB_Query( 'topic',
array(
'tag_id' => '35',
'tag_id' => '!=72'
)
);
$results = $topic_query->results;
foreach($results as $result) {
echo $result->topic_title . '';
}
Any ideas?
bleh, the one time I didn’t.
brain bug then
@Rich Pedley
Try reactivating the plugin.
@Ryan Gannon
Ok, figured that out. bbp_has_topics() doesn’t return the query. You’d have to use bbPress functions like bbp_topics(), bbp_get_topic_title() etc.
Nice work ashfame, thanks
bbPress ones were posted on the blog once. Easy way of reference would do
no you are doing it wrong. recheck with caution.
dbname, user, pass – same
but in bbPress they are defined like BB_ i.e. with a prefix
check again and you should be fine
no you are doing it wrong. recheck with caution.
dbname, user, pass – same
but in bbPress they are defined like BB_ i.e. with a prefix
check again and you should be fine
Also please note of posting chatlogs somewhere, in a readable formatting ofcourse
Yes yes, I know
Would you like to paste some thing of my database?
Yes yes, I know
Would you like to paste some thing of my database?
Yep, I’m sure. I’ve touched something because I’m now trying to enter WP-Admin and it says “you don’t have enough privileges” in my WordPress
Yep, I’m sure. I’ve touched something because I’m now trying to enter WP-Admin and it says “you don’t have enough privileges” in my WordPress