@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
That sounds cool! I understand your problem and totally appreciate your involvement.
I have seen you around since my early days (3.5 years ago), so it feels safer than somebody new rolling out things.
That sounds cool! I understand your problem and totally appreciate your involvement.
I have seen you around since my early days (3.5 years ago), so it feels safer than somebody new rolling out things.
Yay!
Thanks for the kind words.
Gautam has definitely been doing an awesome job, so huge props are deserved.
Yay!
Thanks for the kind words.
Gautam has definitely been doing an awesome job, so huge props are deserved.
Thanks! More to look forward to too.
The recent WordPress security upgrade (regarding kses) wasn’t 4 hours from initial contact to release, but you’re right to say that having more eyes and developers did help to expedite the testing.
Needless to say I wasn’t personally accessible to work on this until I was back from holiday, so it is me dropping that ball and not being prepared. I’ll take that responsibility even if no one expects me to. 
Honestly, the reminders get a little repetitive, but only because I get them from a few different places. Open source development is kinda like having 1,000 bosses, but I’m used to it and take pride in having people be worried about the state of things.
I’ve got pretty thick skin and don’t take things personally. So, no worries. 
Another personal hurdle was learning exactly what the procedure is to actually push out a release of bbPress. Having never needed to do it yet, and having the only person who has in the past few years (Sam) not immediately at my disposal, it took a few days to get me setup and ready to be able to do it.
The trunk and 1.0 branches are fixed. The 1.0 branch is ready for a release. I am going to do the 0.9 branch tonight, do some testing, make my first deployments, and look forward to things hopefully going smoothly for releases tomorrow or this weekend.
I’m not new to bbPress, but I am new to the logistics. Don’t fret, I’m a fast learner.