Hello,
I know I can hide all breadcrumbs with CSS with:
.breadcrumb { display:none; }
but I would like to still show breadcrumbs on bbPress pages. How can I make that exception in CSS?
great 🙂
find
wp-content/plugins/bbpress/templates/default/bbpress/form-anonymous.php
transfer this to your pc and edit
change this from line 27
<p>
<label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
<input type="text" id="bbp_anonymous_email" value="<?php bbp_author_email(); ?>" size="40" maxlength="100" name="bbp_anonymous_email" />
</p>
to
<input type="hidden" id="bbp_anonymous_email" value="anon@anon.com" name="bbp_anonymous_email" />
and save
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
Then transfer the file you saved above 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-anonymous.php
bbPress will now use this template instead of the original, and the email address will then not be asked for.
change
<p>
<label for="bbp_anonymous_email"><?php esc_html_e( 'Mail (will not be published) (required):', 'bbpress' ); ?></label><br />
<input type="text" id="bbp_anonymous_email" value="<?php bbp_author_email(); ?>" size="40" maxlength="100" name="bbp_anonymous_email" />
</p>
to
<input type="hidden" id="bbp_anonymous_email" value="anon@anon.com" name="bbp_anonymous_email" />
that just makes all entries anon@anon.com, so it passes the email format check
I’m not going to lie, this has been very frustrating and it shouldn’t be. All I want to do is allow people to interact in my forums and reply to topics anonymously! I’m not here to con people into giving me their emails (that wouldn’t lead to sales anyways). Bbpress makes a setting that is titled…”Allow guest users without accounts to create topics and replies” but it does nothing and still ask for email but says “not published” REALLY “that sounds real not scammy.”
My wordpress theme is completely up to date as well as my bbpress that I installed today. Im working with “publisher premium theme” that works directly with bbpress.
I would really like to know why this is an issue and why bbpress has a button (box check) that does nothing that it says it will?
Thank you
Yes, control means prevent. I’d like people with different types of memberships to be able to access different forums. I can exercise control based on the URL, but the fact that the topic URLs are not “tied” to the forum URLs means that people can go directly to the topics (which can be easy to guess) even if they can’t access the forum directly.
The ‘memberships’ I’m talking about are MemberPress subscriptions. MP actually has a strategy for controlling bbPress forum access, but (AFAICT) it doesn’t quite work with the degree of control I would like.
I don’t understand ALL the ins and outs of either MemberPress or bbPress, just for the record. What I’m doing here is partially a learning exercise. But I actually do have a practical application on the physics site my wife and I run: PhysicsCafe.org.
you’d need to amend
\bbpress\templates\default\bbpress\form-user-edit.php
These instructions show what is needed
find
wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php
transfer this to your pc and edit
and save
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
Then transfer the file you saved above 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-user-edit.php
bbPress will now use this template instead of the original
you’d need to amend
\bbpress\templates\default\bbpress\form-anonymous.php
nothing I know of out of the box.
On this forum, spam users tend to post 2 or 3 replies before spamming a topic, so I suspect that your approach might not work.
you could use
bbPress – Moderation Tools
to control initial posters, so approve them manually
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Then come back
might well be theme related, does your theme have any bbpress templates in it?
Some users on my bbpress site are facing ” ERROR: Duplicate topic detected; it looks as though you’ve already said that.” when they are trying to create a new topic. Issue persistent even when different terms are used, and crosschecked that a topic with the same name doesn’t exist.
bbpress version: 2.6.5
Wordpress Version: 5.4.2
Website link: https://nalsar.ac.in/forums
I am using the default Twenty Twenty theme.
Hi I want to remove the email and password fields from the user as I use a sso to sign in with steam
and also I want to remove the blog role as I only use bbPress
Hi,
My forum is set in German (bbpress-de_DE)
There are some things in my forum that are not translated.
e.g: https://www.apis.de/forum/topic/pim-2/ (See top line, a mix of German and English). I have tried editing the bbpress-de_DE-formal.po file using Poedit for Windows, but this does not make any changes.
How can I edit existing translations and add further translations plz?
Actually, my original question still stands. I had modified this code to add a placeholder (for consistency)
// ==============================================================
//display bbPress search form above single topics and forums
function rk_bbp_search_form(){
if ( bbp_allow_search()) {
?>
<form role="search" method="get" id="bbp-search-form" action="https://www.publictalksoftware.co.uk/support-forums/search/">
<div class="trucklesoft-bbp-searchrow">
<label class="screen-reader-text hidden" for="bbp_search">Search for:</label>
<input type="hidden" name="action" value="bbp-search-request">
<input tabindex="101" type="text" value="" name="bbp_search" id="bbp_search" placeholder="Type Search Term ...">
<input tabindex="102" class="button" type="submit" id="bbp_search_submit" value="Search">
</div>
<div class="gdpos-power-link">
<a href="https://www.publictalksoftware.co.uk/support-forums/search/">Advanced Search</a>
</div>
</form> <?php
}
}
add_action( 'bbp_template_before_single_forum', 'rk_bbp_search_form' );
add_action( 'bbp_template_before_single_topic', 'rk_bbp_search_form' );
// ==============================================================
Now I would also like to add this placeholder to the search form here:
https://www.publictalksoftware.co.uk/support-forums/
It shows OK everywhere else, example:
Frequently Asked Questions
Thank you.
I have this custom code to display a form on the stated pages:
// ==============================================================
//display bbPress search form above single topics and forums
function rk_bbp_search_form(){
if ( bbp_allow_search()) {
?>
<form role=”search” method=”get” id=”bbp-search-form” action=”https://www.publictalksoftware.co.uk/support-forums/search/”>
<div class=”trucklesoft-bbp-searchrow”>
<label class=”screen-reader-text hidden” for=”bbp_search”>Search for:</label>
<input type=”hidden” name=”action” value=”bbp-search-request”>
<input tabindex=”101″ type=”text” value=”” name=”bbp_search” id=”bbp_search”>
<input tabindex=”102″ class=”button” type=”submit” id=”bbp_search_submit” value=”Search”>
</div>
<div class=”gdpos-power-link”>
Advanced Search
</div>
</form> <?php
}
}
add_action( ‘bbp_template_before_single_forum’, ‘rk_bbp_search_form’ );
add_action( ‘bbp_template_before_single_topic’, ‘rk_bbp_search_form’ );
// ==============================================================
Can I also use this code to replace the form that is displayed at the top of the forums page too?
This is because I have introduced my own class which I now need also on the main forum page form:
https://www.publictalksoftware.co.uk/support-forums/
General Information
You will see they look different.
Is there just another action I need to add here?
Thanks.
It’s unlikely to break, it hooks to bbpress functions that are stable.
1. There is the only a widget. But, there is some plugin that can turn widget content into the shortcode, you should check that. I might add shortcodes in the future.
2. No, the widgets don’t use AJAX to refresh content. I don’t see any benefit in that really, because users rarely sit on one forum page for a long time to even notice changes in such a widget. If the forum content is loaded fully using AJAX, that would be a different case, but bbPress doesn’t support something like that right now.
Hi,
My GD bbPress Toolbox Pro has users online status tracking, among hundreds of other features and tweaks.
Regards,
Milan
I have installed a simple recaptcha plugin which works well on the standard wordpresslogin pages. However, there is no recaptcha form appended to the bbpress login widget which I have in the forum sidebar seen here: ‘hatopia.de/community’. When you login using this form you get an error and get redirected to the standart wp login page in order to solve the receptcha.
Is it possible to modify the form in a way that it’s showing the receptacha form? Or do you have any other recommondation which would mitigate this bad user experience?
best regards, peter
I currently have many bbPress plugins, and they can add wide range of features that other forum software (like phpBB or similar forums) already have. Check out my other plugins for more information.
since bbpress just uses WordPress registration, then there are a wide variety of registration plugins that will let you add things like recaptcha to prevent bot registration – just google WordPress registration plugins and have a look around eg (just an example)
Simple User Registration
If you allow users to register you will always have nuisance users to deal with – comes with then territory :-). I clear about 6 spam posts on here a day.