I’ve pasted code into functions.php files, almost anywhere I can
There is only 1 (one) functions.php where you should paste it and that’s the one in your (child) theme.
all the solutions offered take me nowhere
I have put all the code that I have on https://bbpress.org/forums/topic/setup-login-for-private-forum/. If you only go for the code, then make sure to deactivate any other redirection and/or security plugins (at least for the test).
the site is at tec.selwood.me
You are missing the ‘Email’ label under the forgot your passsword on the log-in page
Pascal.
Ok, so I’m setting up my new bbPress forum and have come across a problem that I just can’t fix. It’s the redirection to the wp-login screen after registration. I’ve scoured these forums and all the solutions offered take me nowhere. I’ve installed 3rd party plugins (like Pete’s) but there is just no changing the redirect. I’ve pasted code into functions.php files, almost anywhere I can, but all it’s doing is going back to the damn wp-login page!
I am going insane here trying to make this work.
Latest WP version, latest Lincoln Education WP theme, latest bbPress version and the site is at tec.selwood.me
Hello, Is there a way to Display Topic Tag Description as Meta Description. That is the way it works in WordPress Tags but unfortunately Meta Name=”Description” is missing in the current version of BBpress.
Wordpress: 4.3.3
bbPress: 2.5.8
I’m not sure if this is where I should ask this. I am trying to create my own gui under the author profile in wordpress that combines several different plugin information in one place. I thought bbp_get_user_topics_started() would return an array of the topics a user created, but instead I get boolean true.
ie: $user_id = 1; $result = bbp_get_user_topics_started($user_id);
Now it correctly tells me that user_id 1 has created topics, and bbp_get_user_topic_count_raw returns the right number of topics. Am I using this function incorrectly?
Ok, you need to amend some templates and put these into your child theme
https://codex.bbpress.org/functions-files-and-child-themes-explained/
Sub-forum removal
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-forum.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/themes/%your-theme-name%/bbpress/loop-single-forum.php
bbPress will now use this template instead of the original
and you can amend this to remove the sub forums
line 44 says <?php bbp_list_forums(); ?>
delete this line and the sub forums will go !
forum posts
do the same as above, but for content-single-forum
and then take out line 26 that says
<?php bbp_single_forum_description(); ?>
bbpress looks different on every theme so we need to see yours
So can you
a) post a url to your site and in particular an example page
b)state exactly what items you want larger smaller
Hi,
Is it safe to use this plugin which is not updated for 3 years (!)?
I search a way to restrict all bbpress (forums, pages, uploads) to members only. Is there another plugin or functions to do that ?
Thanks.
Hello,
I have BBPress 0.9 on an older website of mine and I would like to upgrade to the current WordPress version. Since my website is a simple static website I was thinking about installing WordPress in the /forums/ directory and add the BBPress plugin.
Is the above possible?
Thank you.
1) I’m trying to figure out how to reduce the size of the Heading/Title bar of the forums/topic etc.
The default is about a 1 1/2 inch thick solid bar. However; the text Forum/topic/post and freshness is about a third of that width. I’d like the title box to be more stream lined rather than bulky as it is…
I’ve been trying to locate the appropriate CSS file and lines to update but have had no luck.
2) I assume this is kind of the same formatting issue and can be resolved the same way. Each topic in the forum is allocated about 1 1/2 inches of space to show the topic titel, and its corresponding counts. Again I only need that space to be about 1/2 inch at most.
I’m aware that its probably most appropriate to use padding and margins to explain what i’m seeing and trying to change. But I’m a novice and figured i used jargon more familiar to me.
Hi all,
I’m working on a website (being hosted locally for now) which should have a forum translated to Dutch. I’m following all the necessary steps to my knowledge, have downloaded the stable, 100% completed language files, uploaded them to the correct folder as mentioned on this site, but the translation isn’t kicking in.
Under Settings in our WordPress Admin panel we have set the language to Dutch (Formal), I read that this isn’t desired because the translation for the forum might not kick in? Should I use the other route instead, adding a line in the wp-config file, pointing to accompanying translation files?
WP version is 4.4.2
bbPress version is 2.5.8.
I hope some of you may recognize the problems I’m having and can steer me in the right direction. Thank you in advance for your time and help!
Kind regards, Blux78
The code isn’t better, but I wanted to be sure that code itself wasn’t an issue. obviously posting the exact code works, although it doesn’t preform what you wish.
So back to the gallery plugin author for his help
I don’t know what giving throttle capability does the dics only discuss the setting
Throttle posting every
Set this to the minimum time (in seconds) between posting new replies in bbPress forums. This is useful to help stop spamming or other attempts to interrupt the normal flow of the forum.
Hi @brad3n,
When there is a mention of functions.php to add code, it’s always referring to the functions.php of your (child) theme, never inside a plugin.
https://codex.bbpress.org/functions-files-and-child-themes-explained/
Pascal.
@ezhikorn There are a lot of different functions.php files I’m seeing a lot of different folders within the bbPress plugin. Which one specifically do I add it to?
I am quiet new to this whole WordPress and bbPress world lol, but I am learning at a very quick pace. I have a blog-style page where my forum is located. Now two things first; Is there a way that I can add an image into the (i believe its called) menu sidebar area of the page my forum is on? Second; is there a way that I can permanently rewrite the forum background color at all to a black background or transparent? I have a black background on my website and then this white box appears with the forum in it. Hopefully pretty easy stuff to fix/or alter. Thanks ahead of time for all the help!
John “RONO2”
P.S. Must add that I’m doing this all in a sub-domain visible to only me. So at best I can only provide screen shots.
Whilst I can see some of your concerns, there are no security concerns that bbpress will let your users access your wordpress site backend – none of us would use bbpress if it had backdoors like that.
You core issue seem to stem from
I had to install some bbPress code in my functions file to stop non-administrator profiles from seeing the WordPress main menu at the top of the forum.
Please explain further? or give us the code you used.
With that, in having to add code such as this I subsequently shut down my entire site due to adding code the functions.php file that it didn’t like. Not a good situation for me.
That is a wordpress issue, and if you are not good at coding you should not be editing files ion a live site. You really need a test site
https://codex.bbpress.org/getting-started/testing-your-bbpress-installation/creating-a-test-site/
Yes you can set up a separate domain/sub-domain with wordpress and bbpress running, and just show bbpress in this site. BUT you can’t have this administered by the other wordpress site (well at least not at any level of understanding that you would have – you are not ready for multisite 🙂 )
So either you run one site or two sites. 1 site will not give you security issues if set up correctly in wordpress. 2 sites will mean lots of duplication of usernames, double updating, and more room for error.
I’d suggest you look strongly at the test site route – this will force you to learn about how a wordpress site is put together, which will allow you to do changes with confidence of more technical knowledge and no risk to live
Good luck, and do come back and let us know how you get on
But why have I to participant group, default from wordpress and other from bbpress. Is it rigth?
it’s not the default behaviour.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Hi!
Thank you for the reply. I just want to edit the wp_editor that displays when I click
“Topics” > “New Topic”.
I want to remove a couple of buttons of that editor, but I don’t want the change to be global, as I have a lot of other editors with specific parameters. This function works:
function my_format_TinyMCE( $in ) {
//styles for the editor to provide better visual representation.
$in['content_css'] = get_template_directory_uri() . "/build/styles/tiny-mce-editor.css";
$in['block_formats'] = "Paragraph=p; Heading 1=h1; Heading 2=h2";
$in['toolbar1'] = 'formatselect,bold,italic,underline,superscript,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker';
$in['toolbar2'] = '';
$in['toolbar3'] = '';
$in['toolbar4'] = '';
return $in;
}
add_filter( 'tiny_mce_before_init', 'my_format_TinyMCE' );
BUT! It will affect and overwrite parameters to my other editors.
The Hooks/Filters in the documentation of bbpress work, but they seem to only affect when creating a topic/forum not from the wp-admin but from the actual bbpress page.
Any ideas? Thank you!
ok, so you need to amend form-topic.php
Presumimg you can use FTP and use an editor
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpress
where %your-theme-name% is the name of your theme
find
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.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/themes/%your-theme-name%/bbpress/form-topic.php
bbPress will now use this template instead of the original
and you can amend this
So in form-topic.php you need to amend line 28 from
<?php if ( bbp_current_user_can_access_create_topic_form() ) : ?>
to
<?php if ( bbp_current_user_can_access_create_topic_form() && (bbp_get_forum_title() == 'other' ) : ?>
This should then only allow new topics if the user can create a topic and the cforum title is ‘other’ forum
This is untested, but should work !
not quite sure what your questions is.
bbpress will assign the default role on first user login – that’s the way it does it – in effect if there is no role it gives the user then default. So when s2member creates the account, you may not see a bbpress role until they have logged in.
if that isn’t your question, then I’m not sure what you mean by
However, they still cannot access the forums because a subscription has not been created in s2Member
Isn’t that exactly what a membership plugin should do??
bit confused, but please come back and explain some more !
Hello Mr. Pascal, all. I changed my theme to default Twenty Sixteen and the forum worked as expected.
I was able to find the root cause of my issue in a incompatibility between Be Theme and bbp Style Pack.
Once I removed the template files, the style worded as expected. However I lost theme customization, so I need someone to tweak the template files for me.
– There is no major bug in bbPress Toolkit
– There is no major bug in bbp Style Pack
– There is no major bug in Be Theme
I have a incompatibility, maybe related with !important I can see back and forth.
To solve this issue, I have removed the template files from Theme Directory and started to recreate a new one, step-by-step, until I find the issue. (I also have a bug with verbal tense here!!)
Thanks for you attention reading this.
If you find a similar issue, please consider incompatibility with your theme.
Regards,
Celso.
Let me try to explain it another way. bbpress has some existing roles like, Keymaster, Moderator, Spectator, Participant and Blocked.
In the functions.php I added my own role (Globale moderator), with specifix capabilities.
When I set a user to my custom role (Globale moderator) he/she can’t read/see any forum/topic, only the root of the forum. When he/she clicks on a forum/topic, the 404 error page shows up, Oops! That page can not be found. Even when all capabilities are set to true.
When I set the user to an existing role of bbpress like, Spectator (or any other role of bbpress), the user can read/see all the forum/topics.
What is wrong with my custom role? Didn’t I added it correctly, or? I really don’t know.