Anonymous User 5853594Inactive
I suggest that you read up on the basics of bbPress in the documentation. A good place to start out for you would probably be here:
https://codex.bbpress.org/getting-started-with-bbpress/
Also, for showing the forums on a page, you could create a page and use the shortcodes to show the index and such. You’ll find the shortcodes here:
https://codex.bbpress.org/shortcodes/
@Rasheed you are great man, its working 🙂
i was following the below links and i was just stuck ( it was not working)
https://codex.bbpress.org/bbpress-in-your-language/
http://www.anttivaihia.com/blog/2012/06/how-change-language-bbpress-20
I think they should update the above contents to save others time as your solution works like charm 🙂
Once again thanks you very much
Hello,
Thank you for this plugin that corresponds to our research, but we need your help Please!
we would like to optimize the Forum for a Association students parents:
– Topics that open directly into the forum instead of another page
– How change the title of the forum in French (topics, freshness …)
– We have a display problem when you click on the Member
– How to organize different shortcodes?
– We have a lot of square alone on the page … why?
Is there any help for the French version 2.3.2 please?
Thank you for your help (and sorry for our English!)
WP 3.5.2
BB Press 2.3.2
http://www.ape-ecole-du-nord.com/forum/
If there is anybody interested, i had the same problem with Origin. To solve, i edited the file breadcrumb-trail.php (bad idea, but i’m not using a child theme but a completely modified version of Origin). So, on line 450, we had before:
/* Get the queried forum ID and its parent forum ID. */
$forum_id = get_queried_object_id();
$forum_parent_id = bbp_get_forum_parent( $forum_id );
And now, working fine (exactly as John said here):
/* Get the queried forum ID and its parent forum ID. */
$forum_id = get_queried_object_id();
$forum_parent_id = bbp_get_forum_parent_id( $forum_id );
Hope it helps.
I’m also interested in this, especially with allowing my forum members to use some BBcodes, like spoiler, b, i, and others. (I transitioned from a phpBB board, so I want to make a smooth transition for my users.)
I’ve been looking for a plugin to do this, but haven’t found anything. I’m thinking of making a simple plugin to do this by popping up a window (via jQuery) that will take the content of their post editor and display it with my CSS and processing the shortcodes. It sounds easy to me, but I could be really wrong.
Hello,
For now my query looks like this.
global $wpdb;
$myrows = $wpdb->get_results("
SELECT *
FROM $wpdb->posts
WHERE (post_type = 'reply' OR post_type = 'topic')
AND post_status = 'publish'
ORDER BY post_date DESC
LIMIT 0, 15
");
I made this at begining when just started developing project and now going to finish I want to make it more formal.
I think I’m gonna go with “query_posts”, but I’m still wondering how to hide posts that normal user is restricted to view. I’m talking about forum visability
Do I check user_can(moderate) and then two ways to query my post?
Any suggestions?
I figured this out. I had to add this in my bbpress_functions:
function my_topic_class($classes) {
$classes[] = 'test-class';
return $classes;
}
add_filter( 'bbp_get_topic_class','my_topic_class' );
How do we implement this? I tried replacing
<ul id="bbp-topic-<?php bbp_topic_id(); ?>" <?php bbp_topic_class(); ?>>
with
<ul id="bbp-topic-<?php bbp_topic_id(); ?>" <?php echo bbp_get_topic_class('test-class'); ?>>
but the test class doesn’t show. I know I’m working with the right line of code because I can remove the class part altogether and see it removed from my site.
I want to add a line of text beneath the avatar and other info in each topic reply. I can just hardcode it into loop-single-reply.php (line 47ish). But I’m wondering how i could do this in my functions.php file, i imagine id have to hook into bbp_get_reply_author_link somehow.
From https://bbpress.trac.wordpress.org/ticket/2151 ,here’s a quick hack to turn bbPress activity recording on, on sites that have the Discourage search engines option checked. Put this somewhere in functions.php or in your own plugin’s code:
<?php
add_filter( 'bbp_is_site_public', 'yourownprefix_enable_bbp_activity', 10, 2);
function yourownprefix_enable_bbp_activity( $public, $site_id ) {
return true;
}
?>
1. create bbpress directory in your theme directory
2. copy there loop-single-forum.php from /wp-content/plugins/bbpress/templates/default/bbpress
3. add wherever you wish the image to appear:
<?php echo get_the_post_thumbnail($post_id, 'full'); ?>
In our website here: http://thehousingforum.com , we use the bbp-forum-index shortcode to list the forum boards. But we want the forum boards to show up more like they are here: http://www.swnk.org/forums/ , which is shows them in a vertical way with Topics, Posts etc. I’m assuming that you have to edit the CSS to do this? Any quick and easy solution? Thanks.
For posterities sake, i think i figured this out thanks to this article. I was close just had few things I didn’t know about, hopefully I’m not doing anything too terrible.
function add_custom_role( $bbp_roles ) {
$bbp_roles['my_custom_role'] = array(
'name' => 'My Custom User',
'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) // i just want them to have the same capabilities as participants
);
return $bbp_roles;
}
add_filter( 'bbp_get_dynamic_roles', 'add_custom_role', 1 );
wondering if anyone has a quick snippet of code that answers @anallabres initial question.
Hello,
Is it possible to limit the number of topics displayed with the [“bbp-topic-index”] shortcode?
Thanks,
Ian
I’m puzzled by that as well. My quick solution is to add the following to my theme’s stylesheet:
.bbp-breadcrumb-current {display: none;}
I found THIS in the Codex, which almost tells me what I need. But where do I place the new, modified file?
Thanks.
After about two hours I could find a solution for me. It turned out that current_user_can( 'bbp_forums_admin' ) resulted in false. This is why I could not access the menu or even write replies although the user admin showed me as WP administrator and forum keymaster.
I wanted to check why my user did not have the capability “bbp_forums_admin” and installed the plugin Capability Manager Enhanced. After activation of the plugin everything worked fine again. All menu items showed up and I could post replies. Maybe this plugin fixed what bbpress messed up after updating to 2.3.2…
@kevinjohngallagher
Hi, I tried installing the plugin since I am not good with codes. When I tried to activate the plugin I got the following error.
“The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature.”
Any idea how to fix it?
Hi i want to add a button (create new post) which is when click user can able to make a new post…I will do just same like wordpress forum do here is the link( http://wordpress.org/support/forum/installation). I basically add the button that simple work in the same as like wordpress (Add new) button can do..
please guide me how can i do that, tell me the code if any aur where should i add the code.Thanks
Happens to me too.
Sometimes it logs me in after a while, but if I do searches or read replies the code is all messed up, I have parts of template files inside the reply or search loop. I think you have some serious bug.