Forum Replies Created
-
In reply to: bbPress interferes with wpForms User Registration
ok, let me look further
In reply to: bbPress interferes with wpForms User Registrationyes that looks right.
Has it done anything ?
In reply to: Where are the BBpress tablesbbpress uses custom post types, so forum, topic and replies will be in the posts table
In reply to: bbPress interferes with wpForms User Registrationok, for the moment, I’d suggest you add the code snippets plugin, that gives you an area to put it in.
That will let us test to get to a problem definition.
Once we know if this (or something else) is the solution, then we can get it into the right place, but I would prefer to be sure that the code is functioning so code snippets gives that certainty
In reply to: bbPress interferes with wpForms User Registrationas a test, let’s stop it adding the forum role on registration to see if that is interfering.
so use this code
add_action ('plugins_loaded' , 'rew_remove_bbp_role') ; function rew_remove_bbp_role () { remove_action( 'bbp_user_register', 'bbp_user_add_role_on_register', 10, 1 ); }
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
and then let me know if this makes a difference
In reply to: Trouble with font colorok, but it is the equivalent of asking me to diagnose the strange sound of your car by sending me a photo of the engine. A link lets me see what code is being sent to the browser.
Topics are typically greyed when they are closed – what state is this topic, and have you tried creating others to see if it is juts this one, or all topics are doing it?
In reply to: Prevent topic repliesgreat – glad we got there !!
In reply to: Remove topic creation in frontendgreat – glad we got there !!
In reply to: Remove topic creation in frontendok, both those links work for me
In reply to: Prevent topic repliesand with this one try
content-single-topic.php
and remove the line
<?php bbp_get_template_part( 'form', 'reply' ); ?>
In reply to: Remove topic creation in frontendok, not quite sure why, but in that case
find
wp-content/plugins/bbpress/templates/default/bbpress/content-single-forum.phptransfer this to your pc and edit
take out the line
<?php bbp_get_template_part( 'form', 'topic' ); ?>
which is in twice, so remove 2 times
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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/content-single-forum.phpbbPress will now use this template instead of the original
In reply to: Prevent topic repliesfind
wp-content/plugins/bbpress/templates/default/bbpress/form-reply.phptransfer this to your pc and edit
make the file read
<?php /** * New/Edit reply * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit;
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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-reply.phpbbPress will now use this template instead of the original
In reply to: Remove topic creation in frontendfind
wp-content/plugins/bbpress/templates/default/bbpress/form-topic.phptransfer this to your pc and edit
make the file read
<?php /** * New/Edit Topic * * @package bbPress * @subpackage Theme */ // Exit if accessed directly defined( 'ABSPATH' ) || exit; if ( ! bbp_is_single_forum() ) : ?> <div id="bbpress-forums" class="bbpress-wrapper"> </div> <?php endif;
and save
create a directory on your theme called ‘bbpress’
ie wp-content/themes/%your-theme-name%/bbpresswhere %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-topic.phpbbPress will now use this template instead of the original
In reply to: a user login problemthanks,
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, 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.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
you might also try
once activated go to
dashboard>settings>bbp style pack>login failures
In reply to: a user login problemalways been like this?
Just started doing this?
In reply to: Moderator can only trash his own postsglad to have helped !
In reply to: Is bbpress dead?In reply to: Moderator can only trash his own postsyou’re close !!
Untested, but try
add_filter('bbp_topic_admin_links', 'rew_no_trash_topic_except_own', 10, 2); add_filter('bbp_reply_admin_links', 'rew_no_trash_reply_except_own', 10, 2); function rew_no_trash_topic_except_own ($links, $topic_id) { if (!bbp_is_user_keymaster() && get_current_user_id() != bbp_get_topic_author_id( $topic_id )) { unset($links['trash']); } return $links; } function rew_no_trash_reply_except_own ($links, $reply_id) { if (!bbp_is_user_keymaster() && get_current_user_id() != bbp_get_reply_author_id( $reply_id )) { unset($links['trash']); } return $links; }
In reply to: Trouble with font colorsorry, just spotted that you’d already switched themes.
Can I have a link to a live example plaese
In reply to: Search Results not links???hmmm… that’s interesting, I fully believe you, but am struggling to see why it should either slow the site or cause other issues.
I would suggest you undo the content-search.php change you made above and see if that affects anything.
Beyond that, If that doesn’t work, also deactivate all plugins apart from bbpress and elementor plugin and my elementor fix and see if this sppeeds it up. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: visibility by user roleso in
dashboard>settings>bbp private groups>Group name settings – set up groups called ‘members’ and ‘author’
then in
dashboard>forums>edit forum – set each forum to be assigned to whichever group you want it to be visible to, and set the forum to be public (private groups will then hide it)
then in
dashboard>settings>bbp private groups>assign groups to roles – set authors to see the author group and members to see the member group
In reply to: Search Results not links???ah, ok add this plugin which should fix it
In reply to: visibility by user roleMy private groups plugin lets you
create groups
assign forums to those groups
assign roles to the groupsthus giving you what you want.
In reply to: Search Results not links???what theme are you using?
In reply to: advanced editor?glad to have helped 🙂