add_filter ('bbp_get_title_max_length' , 'rew_change_length') ;
function rew_change_length () {
$length = 160 ;
return $length ;
}
so change length to whatever number you want.
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
Code Snippets
ok, try making a user an editor in wordpress and see if they can create a post. That might help define if it is bbpress or wordpress/site issue
Okay, I am having the same problem. The folder and file permissions are accurate.
Folder ‘Forums’ is set to 0755 and the files within it are set to 0644.
I deactivated all of the plugins except bbPress and the 403 error still happens when trying to add a topic to the frontend.
bbPress Version 2.6.9
WordPress Version 6.3
Theme is a child theme of Twenty Nineteen
I notice that the link at the start of the thread is showing one forum it appears. The General forum. https://wordpress-631920-3100285.cloudwaysapps.com/forums/forum/filmmakers/ So, where were the forums/forum/filmmakers/ set up?
Hi Robin, I am trying to make it work with Astra, Hello or any theme that will work with elementor but I am open to using anything that will work. Thank you for your help. I had it working I thought but now it’s not showing the forums. I am on this staging site: https://wordpress-631920-3100285.cloudwaysapps.com/forums/ trying to get it to show more than 8 forums on the page.
No that’s fine, I now understand.
Nothing I know of that does this – sorry !
you can have a visual editor that looks better than the default.
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Topic/Reply Form
and look at item 9.
ok, bbpress just uses wordpress login. It’s quite doable but beyond free help
Hey all
Im a new to wordpress and website building, but I am trying to set up a simple forum, that allows user to discuss a certain topic. Nothing fancy at all, but when a user is not logged in to my site and is scrolling through the forum, and he fails to login through the BBpress login, the visitor gets redirected to my backend login in screen. How can I make that so the guest is redirected to a custom URL?
Thanks.
on holiday at the moment, so untested solution !!
But try
add_filter( 'bbp_topic_admin_links' , 'rew_no_close', 10 , 1) ;
function rew_no_close ($r) {
if (!bbp_is_user_keymaster() && bbp_is_topic_open()) {
unset ($r['close']) ;
}
return $r ;
}
This should ensure that only keymasters can close topics (assumes moderators have no backend access)
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
Code Snippets
Hello,
I created a bbpress forum on this site that is just available for approved members.
When I click on user profile links, I obtain the following error:
Sorry, but the page you were trying to view does not exist.
It looks like this was the result of either a mistyped address or an out-of-date link.
So, I would like to know how I can create the topics started page and others page displayed on user profile page. Is there any shortcode to do that or any other solutions?
Thanks in advance for your help!
I am keymaster on the website but I dont have access to source code of the site. I am using WordPress 6.2.2, bbpress Version 2.6.9.
Bonjour,
Je n’ai pas trouvé l’objet de mon problème sur le forum et j’espère ne pas faire de doublon. Dans le cas contraire veuillez m’excuser.
Je débute en tant que modératrice sur WordPress et j’ai du mettre à jour le php de mon site (hébergé sur IONOS et passé de 5.6 à 8.1). Tout fonctionne bien sur l’interface WordPress et sur le site (http://alombredugrandarbre.com/) mais un message d’erreur m’empêche d’accéder à la page du forum (http://alombredugrandarbre.com/forum/).
J’ai essayé toutes les étapes de résolution de problème suggérées au début de ce sujet et rien n’a fonctionné. Auriez-vous une idée pour m’aider s’il vous plait ?
Cordialement,
just got 10 minutes to look at this.
try this
add_action ('bbp_theme_after_reply_content' , 'rew_display_acf') ;
function rew_display_acf () {
$id = bbp_get_reply_id() ;
//if it is the topic...
if (bbp_is_topic( $id ) {
echo '<br>Lake Marker 2: ' .get_field( 'lake_marker_point_2' ) ;
}
}
or
add_action ('bbp_theme_after_reply_content' , 'rew_display_acf') ;
function rew_display_acf () {
$id = bbp_get_reply_id() ;
//if it is the topic...
if (bbp_is_topic( $id ) {
echo '<br>Lake Marker 2: ' .get_field( 'lake_marker_point_2', $id ) ;
}
}
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
Code Snippets
ok, so this should take them out
add_filter( 'bbp_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
add_filter( 'bbp_forum_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
function rew_strip_nbsp ($message) {
$message = str_replace (' ' , '', $message ) ;
return ($message) ;
}
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
Code Snippets
ok, so this should take them out
add_filter( 'bbp_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
add_filter( 'bbp_forum_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
function rew_strip_nbsp ($message) {
$message = str_replace (' ' , '', $message ) ;
return ($message) ;
}
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
Code Snippets
ok, so this should take them out
add_filter( 'bbp_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
add_filter( 'bbp_forum_subscription_mail_message' , 'rew_strip_nbsp', 40 , 1 );
function rew_strip_nbsp ($message) {
$message = str_replace (' ' , '', $message ) ;
return ($message) ;
}
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
Code Snippets
ok, not sure how to help further, maybe try
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
Health Check & Troubleshooting
Then come back
try
bbp style pack
once activated go to
dashboard>settings>bbp style pack>Subscription Emails
where you can amend what is sent, or indeed switch to plain text
Robin Wright! You are an underrated gem in the WordPress community! You have solved the 404 I had with bbpress and Elementor on the user profiles page for the last week! Thank you so much! This worked.
@ph59 – ah I see, then yes try the code above, if it doesn’t work, let me know and I’ll try and find time to fix it
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
Code Snippets
hmmmm… not sure it would be that, as bbpress is loading ok.
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
Health Check & Troubleshooting
Then come back
Hi,
WordPress 6.2.2 running Twenty Twenty-Three theme, BBPress 2.6.9.
Moved the only hidden (pending) topic from a public forum to a private forum, and published it. Topic, and moved replies all look fine in the private forum.
The public forum from whence it was moved still has this:
This forum has NN topics (+1 hidden), NNN replies …
As expected, clicking the +1 hidden
doesn’t change the number of topics displayed. Repaired the forum, cleared site cache, no change to the +1 hidden
.
If a detail in the move topic process was missed, please advise.
Thanks.
Why does my forum index look like this instead of the neat page I am accustomed to?
https://wordpress-879226-3710705.cloudwaysapps.com/forums/