Hi,
You seem to refer to BuddyPress, this here is the bbPress forum… So it’s probably better to ask on the BuddyPress forum đ
Pascal.
ok so for the roles, you should see and use
Custom Capabilities
loop_single_forum in your child theme is the right way to go
If you need further help in doing this (or anything else!) – please feel free to ask, like all things it is a learning curve đ
your blogs.css line 1427
has
.single .commentmetadata, .single .reply {
left: -15px;
margin: 10px 0;
opacity: 0.3;
position: relative;
}
suggest you try adding
#bbpress-forums .reply {
opacity: 1;
}
to your css.
come back if you need further help in doing this !
You can also use bbp_create_initial_content() with some bbp_parse_args() to generate your content, bbPress uses this to crate some sample/initial content when installing on multisite installs.
https://bbpress.trac.wordpress.org/browser/branches/2.5/includes/core/update.php#L174
I made a few changes in the capabilities.php, in the bbpress/includes/core folder. I added some roles to the participant, like edit_others_topics => false, etc…
And in the loop_single_forum.php, but that file I already placed in the root of my child-theme.
I was wondering if there is any plugin available to create a new topic via email.
I’m using a contact form which I would also like to use to auto-create a topic containing the same information which was sent to me by email.
So I thought about connecting the email-account to bbpress, so anything is posted automatically to bbbpress as well.
hi. i want new topics and replies to show up in the activity stream, but right now they are not.
i added this to bp-custom.php:
add_post_type_support( 'topic', 'buddypress-activity' );
which works, but with a generic “UserName wrote a new item.” it seems like there must be a better, easier way to tie the two together. looking at the bbpress files, i see this:
public function register_activity_actions() {
// Sitewide activity stream items
bp_activity_set_action( $this->component, $this->topic_create, esc_html__( 'New forum topic', 'bbpress' ) );
bp_activity_set_action( $this->component, $this->reply_create, esc_html__( 'New forum reply', 'bbpress' ) );
}
i don’t know if they’re not getting called or they’re conflicting with something or what, but they aren’t doing what it seems like they should be doing. is there a setting i’m missing to activate this feature?
little help?
no, core functions in bbpress cannot be put in other folders.
Generally it is not recommended that you change bbpress itself. Rather almost all bbpress functionality can be filtered, so that the plugin remains complete and changes are put in your theme’s functions file using wordpress filering capability.
What changes did you make? If small, let me know which lines in which file, and post the changes here, and I’ll try to help you with what you should put in your functions file.
You should also make those changes (and the template files you copied ) in a child theme, so that theme updates donlt overwrite these
https://codex.bbpress.org/functions-files-and-child-themes-explained/
Thanks a lot! I read it, but they only talk about the directory files in de bbpress/templates/default. I also made changes in bbpress/includes/core/capabilities. Do I put these files in the same folder in my child-theme (bbpress)?
https://codex.bbpress.org/themes/theme-compatibility/
should answer your questions, but do come back if you need further help !
Hi all,
I have a hierarchical forums (> 20) and I use bbp_insert_topic functionality to create topics programmatically. Everything is fine so long as we rely only using bbpress. But suppose I want to create a post and want a corresponding topic following the same hierarchy and tags, how can I do that ?
That is, how can I merge something like this:
WordPress <—–> bbpress
- Topics <—–> Posts
- Categories <—–> Forum Categories
- Tags <—–> Topic Tags
All this is because I wish to avoid duplications of category names and tags across the some posts and topics that I intend to create.
I know how to create a post with a given parent id, using wp_insert_post,
Can I set the post id as a child to a Forum Category ? Am I mixing apples and oranges , can it be done ? What should be a right approach ?
Hi,
Is this want you are looking for : http://www.rewweb.co.uk/bbpress-additional-shortcodes/ from @robin-w
It’s INcluding, not EXcluding …
Pascal.
I made some changes in the style of bbpress and other files. I copied the bbpress.css file to my child-theme in the root, but I don’t see any difference, when I make another change in a style. I also tried to put it in a folder (bbpress) in my child-theme, but that seems not to work either. What am I doing wrong?
@PinkishHue Glad to hear it’s useful! We built it after looking for a way to enable inline image uploads on a client’s bbPress forums and not finding anything.
Hi
bbpress is not working fine with my theme “Appointment”.
https://blog.indy-guide.com/forums/forum/adventures-in-kazakhstan/
Where can I get the forum theme used here on bbpress.org? Is this page using buddyPress?
Thank you.
bbPress 2.5.8
Wordpress 4.4.2
Where can my users register for my bbpress forum?
Thank you
@hearken Your plugin looks good, a much needed function for many bbpress users. Thank you for sharing this with us đ
You could also do this by editing the theme files so that the reply form is only shown to users with specific user roles, there is a similar topic here that may help:
All Users can see category and topics but only certain roles have access toreply
Hi all,
I think I got it worked out together with Otto and Tia over at WPML.
You can have a look at it at those two topics:
https://wpml.org/forums/topic/multiple-site-languages-but-just-a-bbpress-forum-in-english/
https://wpml.org/forums/topic/bbpress-breadcrumbs-how-to-localize-and-point-to-the-right-page/
BTW I hide the language switcher(s) on the topics pages by adding this piece of code in my header file
<?php if (!is_bbpress()) {
do_action('icl_language_selector');
} ?>
and this in my footer.php
<?php if (!is_bbpress()) {
do_action(‘wpml_footer_language_selector’);
} ?>
I hope it helps you as well.
Regards,
Adri
Hi,
I suppose you mean that you want to change the default page that you get when going on /forums ?
If so, just create a page in WordPress and change the slug to ‘forums’, then put anything you want in that page.
The standard page shown when going on /forums is content-archive-forum.php.
You can customize all templates if you want, just read some pages of the bbPress Codex: https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
Pascal.
The problem is that wordpress was designed to work with templates that were different for each type eg template for page with sidebar, another template for page without sidebar.
The trouble is that theme authors are getting too clever ,and nowadays write a single big page template that bbpress cannot easily react with.
So your theme displays one template for the main page, but then bbpress can’t work with it for the other sub pages, as it doesn’t know how the theme is using the template.
Ok, so that’s the explanation, but probably doesn’t help you at all.
If you know some wp stuff then this might help
https://codex.bbpress.org/themes/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
Hi,
In my ‘bbPress Toolkit’ plugin I have basic ‘featured image’ possibilities. Have a try…
Pascal.
Hello.
Here in bbPress site I found a “featured” site with small images before each forum.
Forum
You can see small photos on the left in the main areas, but I found no way to add such images in my forum. I have a bbpress with initial setup and I wonder if I need some plugin for this.
I don’t need to mimic the theme style (my theme have a nice bbPress template!!), I just want the ability to add images on the left, similar the example above.
I will appreciate suggestions with this basic question.
Regards,
Celso.