I’ve been using the bbPress Custom Views plugin (http://wordpress.org/extend/plugins/bbp-views/). I’ve been creating custom views, but I’m wondering how to create a custom view which is an AND or OR statement, so meets 2 different conditions. Here’s an example (though written incorrectly of course).
bbp_register_view( 'rides-needed', __( 'Rides Needed' ), array( 'meta_key' => 'needed_offered', 'meta_value' => 'Need a Ride' AND/OR 'meta_key' => 'ride-destination', 'meta_value' => 'Timberline'), false );
So, that is to say: display the topics WHERE:
meta_key “needed_offered” = ‘Need a Ride’
AND
meta_key “ride-destination” = ‘Timberline’.
From Gautam’s post (http://bbpep.com/2011/04/creating-custom-views-in-bbpress/) I know I can use these parameters (http://codex.wordpress.org/Function_Reference/WP_Query#Parameters), but I’m not sure how to translate WPQuery into the register views function. Thanks in advance!
I’ve got it working – I messaged him but then went in and dug round the code and its now working with the new V3 PHP API from FB.
Not sure what to do, but I’m happy to zip it up and post a link to it.
Steve
It’ll take some CSS wizardry, something like
.bbPress #primary #content {
margin: 0 2% 25px 5%;
width: 90%;
}
and you’ll probably have to adjust other things to make it look good. Actually there is a guy who posted a twenty eleven child theme that extends bbpress out to the full page width.
he posted it here, his website is serverpress.com or something like that.
But what of my theme hasnt scripted anything for bbpress?
Basicly I have to able to write css to be able to change bbpress layout on my page? Therese is no way to just upload some theme or Copy/paste some code?
Hi I’m having a bit of an odd problem…
I can’t view the forum I have created with a new user given the role of “forum participant”. When I bump up the permission of the user to “forum moderator” he can then see the forums!
Would someone be willing to help me ascertain what this is about? I could create a user account for you to check into my installation if it would help.
Many thanks.
Would it make sense to have the option to allow shortcodes? Simply ON|OFF choices? I have a forum for members of a club, registration required, and using WP-FILEBASE which has a bunch of shortcodes for inserting links to files. Just an example of one good case for allowing at least a choice.
gil
I wanted to add a simple login/out link in the ‘breadcrumb’ area of every page which I did by using the code on this page: http://bbpress.org/forums/topic/bbpress-20-plugin-adding-a-log-inout-link-to-the-top-of-every-forum-page
However, I’d also like to add a ‘edit profile’ link as there doesn’t seem to be an easy way for users to do this.
Could anyone tell me how I would amend this to add a edit profile link?
$bb2custom_user_is_logged_in = 'Welcome '.$current_user->user_login.'. You can log out <a href='.wp_logout_url( get_permalink() ).'>here</a>.';
Something like this but I’m unsure of the syntax (plus being a ‘front-end’ chap, I’m crap with PHP):
$bb2custom_user_is_logged_in = 'Welcome '.$current_user->user_login.'. You can log out <a href='.wp_logout_url( get_permalink() ).'>here</a>. Or edit your profile <a href='.bb_press_edit_profile().'>here</a>';
I have written to moogie on Facebook. Hopefully he will have some time to review this thread. Stay tuned…and keep your fingers crossed
you are saying right… it has great customization capability.i have also customized bbpress 2.0 in my site and now it is looking good.You should see my forum.
forum Home page:
http://www.authorcode.com/forums/
topic page:
http://www.authorcode.com/forums/topic/save-listview-data-to-same-excel-file-but-different-sheet/
The setup and appearance of the forum is great – and i looked forward to use it on my site.
But i have big issues with plugins that not support v 2.0.2. Most plugins are old and +1 years old. The wise plugin makers really need to upgrade the great old plugins to support the new bbpress version
Most probably Facebook changes have broken the code of this plugin. Unless someone fixes that, there might not be a chance of getting it to work.
I did this with one of my sites simply by using a basic conditional to check if a user is logged in. If they are not logged in, they get redirected to my login page.
https://codex.wordpress.org/Function_Reference/is_user_logged_in
So, yes. It is possible
Hi Chris,
Thanks for your response. I attempted to upgrade to 2.0 on a WP site. Those plugins were giving me plenty of trouble too. Additionally, I prefer the look/feel of the bbPress I’m using.
I noticed that the error provided said ‘perms’ had been changed to ‘scope’. So, in the connect.php plugin file, I made these changes. Since uploading the new file, I now see the FB Connect pop-up and it asks me to ‘allow’ access to my profile info. After allowing access, the pop-up disappears and another error is shown on the page – Permission Denied – all.js. Code:0 http://connect.facebook.com/en_US/all.js – Line: 22 Char:4321
While I’m a bit closer, I’m sure I’m still pretty far off from finding this on my own. Any help would be appreciated :o)
Thanks,
Chris
Chris, thanks so much. For now, the toolbar serves the purposes. The membership is restricted and I will be providing instructions for posting.
I will be exploring shortcodes at the same time. Should I run into problems applying them, given my slow learning curve, I will return here for some excellent assistance.
Hi everyone. I have spent a whole lot of time building a website with this great bbpress forum, and suddently i found out that there is no “close for reply’s” options for the users who makes topics.
The forum contains both discussion and also a section, where the topics not shall have reply’s.
Is it possible to make such a function? Merry christmas everyone 
Regards, Daniel
@sravankumardv
I think your code should read:
[bbp-single-forum id=36]
instead of:
[bbp-single-forum id=$Introduction]
I hope this helps…
Hi Guys,
I finally figured out what the problem was: I had the “Post Types Order” plugin installed which is supposed to help in ordering of blog posts but apparently it affected the topics and replies in the bbPress forum too. After switching it off the order of topics and replies got fixed. 
Hope this is helpful for others with the same problem.
One of the worst things about a major update like this, is that we lose alot of great plugins – But, it’s better finding out now that their not actively updating it anymore than use it for a while and find out one day that everything’s broken 
what type of html did you want your users posting?
Post toolbar allows alot of great functionality – https://wordpress.org/extend/plugins/bbpress-post-toolbar/
It seems to do the same thing as ‘easy video embed’ by allowing users to post videos using a ‘[video]‘ or ‘[youtube]’ shortcode.
Also, because bbpress is now using WordPress post-types. you could also easily create other shortcodes to achieve what you want.
https://codex.wordpress.org/Shortcode_API
Instead of letting users do img src and giving them complete control over the output of the image, you can allow them to do ‘[image]cat.img[/image]’ to achieve the same affect in an easier way, as an example.
I do honestly think that using shortcodes (search the wordpress extend, theirs alot of shortcode plugins) would be a better option as it allows you to control it’s use properly, as i’m sure you know, some humans enjoy causing trouble – and their are afew html codes that can causing a hellish experience for your users if it gets into the hands of the wrong user.
It’s one of the reasons wordpress.com doesn’t allow some html codes
Correct. There can’t be any hard coded links anywhere, because all themes are different and will want them in different locations with different URLs. You can use the Login Widget that’s included to get you some of the way there, but even with widgets/shortcodes/templates it won’t satisfy everyone.
Correct. There can’t be any hard coded links anywhere, because all themes are different and will want them in different locations with different URLs. You can use the Login Widget that’s included to get you some of the way there, but even with widgets/shortcodes/templates it won’t satisfy everyone.
Create pages, use Shortcodes or Page Templates.
Create pages, use Shortcodes or Page Templates.