@robin-w
Awesome I appreciate the help and time you have given so far and will most likely contact you after the silly season is over.
I will continue to have a play around with this for now as I feel I am close but just one little thing is missing.
If anyone else has any ideas or knowledge on this please feel free to contribute.
From what can gather this used to be “easy” to do prior to bbPress 2.2 when the dynamic roles were implemented. I have seen mention of some filters being able to manipulate map in some way to allow custom bbpress roles to be assigned to wordpress roles.
However as I am not a wizard on these things, I tend to blunder around trying to make sense of it.
I cannot the users (role is editor) give permission to upload media. I gave the plugin ‘user role editor’ a try, but also doesn’t work. I want that the editors (my users) can upload a picture, but it seems impossible. Another issue is that all the users can use the HTML tab, I cannot hide that tab. Why is this difference between the WP and BBPress roles? I’m very familiar and happy with WP (more than 50 installs) but bbpress is till now a very user unfriendly program for me. But maybe someone can change my mind. Please help, i am also satisfied that someone give me as answer that its not possible, in that case i need to search for other forumsoftware.
Hi my forum appears in a part of the site that has a generic login. So what i need is that users have to type in email and name in order to post – is this possible? is there a shortcode for this or do i have to add something to the bbpress.php?
thank you in advance
Melanie
@bob1nz
How can I assign non-standard bbpress roles with custom capabilities to non standard wordpress roles also with custom capabilities using the map so this is performed dynamically?
Sorry, but without major involvement in looking at this and how it is interacting with whatever plugins you are using, I cannot quickly come up with an answer.
If you want me to take a professional look after xmas, contact me via my website
http://www.rewweb.co.uk
@boertje – suggest you start your own thread
hello everyone,
sorry.. I’m a newbie..
I have installed on localhost the last version of WP and bbpress 2.5.4.
This is the problem:
I put [bbp-forum-index] in page forum but I see a wrong layout.
You can see these screeshots:
https://drive.google.com/folderview?id=0B6Jo8p7NSE9bQ05ON3AxQUl4RkE&usp=sharing
any idea to solve this issue?
thanks
Marco
So here’s what I’ve tried thus far. Deactivated all bbpress plugins, deactivated my child theme, flushed cache, deactivated Akismet, deactivated and deleted all cache plugins. After each of these things, I retried repairing via Tools>Forums, again to no avail.
Still looking for help. Thanks.
I have the same problem here, give the plugin user role editor a try, but also doesn’t work. I want that the editors (my users) can upload a picture, but it seems impossible. Another issue is that all the users can use the HTML tab, I can t hide that tab. Why is this difference between the WP and BBPress roles? I’m very familiar and happy with WP (more than 50 installs) but bbpress is till now a very user unfriendly program for me. But maybe someone can change my mind.
bbpress uses the default wordpress user setup, but adds a bbpres role to the wp-capabilities in user_meta.
So as long as there is a wp_user then on first login by that user bbpress will allocate the default bbpress role as set in Dashboard>settings>forums.
In think this plugin might be your solution, as it seems to create and update wordpress via AD
https://wordpress.org/plugins/active-directory-integration/
and then bbpress will use that wordpress database to add the role.
Thanks for your reply @robin-w
I tried that but it assigns the user the default role in bbpress.
I gave a dummy user the admin role in wordpress and what I want is for the user to be automatically given the admin role in bbpress as well.
Using the code you supplied it leaves the user with the default role.
How can I assign non-standard bbpress roles with custom capabilities to non standard wordpress roles also with custom capabilities using the map so this is performed dynamically?
Forgive me if this is the wrong area. I’m a pretty new WordPress user but I’m using it to build an Intranet. Management decided they wanted a message boards and I discovered bbPress so I thought I’d give it a go instead of using SMF.
However, I was wondering if there was any way in which I could create accounts and authentic login details via Active Directory (around 500 users) instead of creating all the accounts manually.
I did search for this but the threads were 4/8 years old so I wasn’t too confident in how relevant they are.
Thanks
Hi,
We have installed the latest bbPress + latest WP on our site. Also we have Disqus if this matter.
We read that bbPress is integrated with ‘Discussion’ settings from WP installation.
In our ‘Discussion’ settings we have:
In ‘E-mail me whenever‘ section:
‘Anyone posts a comment‘ – Checked
In >Before a comment appears section:
Comment must be manually approved – Checked
Comment author must have a previously approved comment – Checked
…however it seems that in our forums anyone can post without our approval. (We have the ‘anonymous posting’ in bbPress’ settings ‘on’).
What we want to do is:
Anyone can post but their first post must be approved in order for the author to have the right to post freely from there on.
How can we achieve this?
@tajender
You’d need to modify
wp-content/bbpress/templats/default/bbpress/form-reply.php
create a directory on your theme called ‘bbpress’
ie wp-content/%your-theme-name%/bbpress
find
wp-content/bbpress/templats/default/bbpress/form-reply.php
Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
wp-content/%your-theme-name%/bbpress/loop-single-reply.php
bbPress will now use this template instead of the original
you should really do this inside a child theme
Functions files and child themes – explained !
but if you do it in your main theme, keep a copy of what youb have done as updates are likely to overwrite
The you would need to modify line 20
<?php if ( bbp_current_user_can_access_create_reply_form() ) : ?>
to put in a check to see if it’s current user
It’s too near xmas, and I have too much else on to write and test the code but it will involve bbp_get_currect_user and the topic author $user_id
The bbpress function is
$role_map[‘admin’]= bbp_get_user_role( $user_id );
For the standard roles you will end up with
bbp_keymaster
bbp_moderator
etc.
as that’s how they’re stored in the database,
Next one is on the shortcodes you mentioned. https://codex.wordpress.org/Shortcode
The bbpress codes work in a similar fashion to wordpress’s shortcodes and there are a few examples on that page as to how they work.
While they are useful I’m not entirely convinced you need them at this stage.
They can be used to put features of the forums on other pages that are not your main forums such as login, one category of your forums, tag clouds etc. You can use the [bbp-forum-index] on a page if you have created one but I’m pretty sure you shouldn’t need to unless that what you want.
I believe that plugin would still be fine with your current version of WP and bbP.
Had to split the reply as I don’t seem to be able to post more than one link per reply
Ok no worries.
Im going to give you some links to look at as they have some potentially useful info.
First one is for the permalinks https://codex.wordpress.org/Using_Permalinks
I normally have these setup with post name checked in the settings but you are free to choose your own.
It also makes it easier to find posts and topics etc with “pretty” names in your url bar. My websites forums for example are at myurl/forums <– easy peasy. I never setup a page for bbpress and this worked out fine.
I’VE GOT IT!!!!! 🙂
This is what I did to create a title for my bbpress pages (when I had disabled my title-wrapper), in case it helps anyone else.
I first called the title in, by adding the following code to my bbpress.php file (formerly page.php):
<?php the_title();?>
Then I wrapped it in a div like so:
<div id= bbpressTitle>
<?php the_title();?></div>
Then I created CSS, based on this new class:
#bbpressTitle {
font-size: 32px;
font-family: Roboto Slab;
Font-weight: 200;
display: block;
color: #70908F;
}
And it actually worked. Please take this with a grain of salt… I’m an acupuncturist, not a coder. 😉
Thanks again for all of your help, Bob1nz!
Goodnight,
Sharon
Okay…
Is there any way I can create a new div around the title that I called in the bbpress.php file or create a class for it so I can customize it in the CSS?
Does that make any sense at all? 🙂
Thanks!
Sharon
Thank you, Bob1nz! I really appreciate that!
I’m very close… I managed to get the title to show up (apparently calling in the title on the page.php, now called bbpress.php worked. Just trying to figure out how to add either inline style or css to that. At least there’s a title showing, so there’s progress! 🙂
Thanks again!
Sharon
First, I believe I do have permalinks enabled, however, I’m such a novice I don’t know where to look.
4.1 isn’t much different than 4.0.1 and 4.0 wasn’t much different than 4.0.1. I’ve had all of them and everything else worked. Oh well, I research it further.
I definitely want forums. I just need to clear (approve) topics before they appear and approve replies as well. Other so called motorcycle websites have real problems with their forums and and have found themselves deleting a lot of what users put in. It’s all about approval.
I found bbPress shortcodes: https://codex.bbpress.org/shortcodes/ Would any of these help? and where would I put them?
Between the two of us we’ll get this straightened out.
Adding a image in place of your existing title?
I believe that would be done via css and if you wanted it only on your bbpress pages by modifying the template files as with the titles.
Just did a bit of a google for ya and found this https://bbpress.org/forums/topic/descriptionintro-text-on-top-of-forum-page/ which could be another solution possibly?
That’s strange… That’s exactly what I did. I used my page.php from my original theme, brought it into my Child theme, and renamed it bbpress.php. There was no title-wrapper div in that file. Perhaps I should use a different template as my bbpress.php?
sorry make a copy of your default template (possibly page.php?) and rename it to bbpress.php
There should be a <div class=”title-wrapper”> in it already just add add in the style.
Thanks, Bob1nz!
I created a bbpress.php file and added a call for the title: <?php the_title();?>
Where exactly do I place the inline style you mentioned?
Thanks again!
Sharon
You could try making a copy of the page template in your child theme and renaming it to bbpress.php then specifying in it to show the title (unhide the css for the forums only.)
You would need to find the part on the page that calls the title-wrapper and specify an inline style of something like <div class=”title-wrapper” style=”display:block;”> as the inline style will over ride the css but only when the bbpress page is called (when you are looking at your bbpress forum)
I also found the bbPress short codes: https://codex.bbpress.org/shortcodes/ . Would any of these help and where do I put them?