Forum Replies Created
-
In reply to: Space characters appear in subscription mail
ok, presuming the characters are exactly this
sorry nothing further I can do.
if different put that in the appropriate line
In reply to: Space characters appear in subscription mailok, 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
In reply to: Space characters appear in subscription mailand the problem may well be with intervening parts of email system – emails have become very complicated in how they are delivered, and you may find that emails to you have this, but other email users don’t get the problem
In reply to: Button bar hidden for topic message windowno problem, we’ve all been there 🙂 🙂
glad you are fixed !
In reply to: Space characters appear in subscription mailok, 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
Then come back
In reply to: Space characters appear in subscription mailok, so switch to html text
In reply to: Space characters appear in subscription mailtry
once activated go to
dashboard>settings>bbp style pack>Subscription Emails
where you can amend what is sent, or indeed switch to plain text
In reply to: user profile link giving a 404 errorgreat – glad you are fixed
In reply to: Moderators for the same forum@enkoes – thanks, I’ve amended the version above 🙂
In reply to: Multiple replies being createdoh have you run
1. dashboard>tools>repair tools
2. Dashboard>settings>permalinks and just click save – this resets the permalinksI am very doubtful that this will cure, but it is a good 2 things to eliminate
In reply to: Multiple replies being createdIf the tests above proved nothing, then I can only suggest you have some form of corruption on either database or more likely software.
But can you confirm that this does not happen every time, and if so how often (eg 1 in 3 posts, 1 in 10, 1 in 100)?
Are you able to clone your site?
In reply to: Button bar hidden for topic message windowok, so put this before it
<?php
In reply to: Button bar hidden for topic message windowok, so can you paste the bit of your child theme’s function file that you pasted this into, including 3 lines before and after
In reply to: Moderators for the same forumok, again untested but this
add_filter ('bbp_topic_admin_links' , 'surpress_moderator_links', 10 , 2) ; add_filter ('bbp_reply_admin_links' , 'surpress_moderator_links', 10 , 2) ; function surpress_moderator_links ($links , $id) { if (bbp_is_topic( $id)) $forum = bbp_get_topic_forum_id( $id ) ; if (bbp_is_reply( $id)) $forum = bbp_get_reply_forum_id( $id) ; if (!in_array($forum, array ('12345','34567','78945'))) return $links ; //if user is moderator but not a keymaster... $user_id = wp_get_current_user()->ID ; if (bbp_is_user_keymaster($user_id)) return $links ; if (current_user_can( 'moderate')) { //check if the topic/reply is posted by another moderator, and if so unset the links if (bbp_is_topic( $id)) $author_id = bbp_get_topic_author_id( $id ) ; if (bbp_is_reply( $id)) $author_id = bbp_get_reply_author_id( $id ) ; if (bbp_get_user_role( $author_id) == 'bbp_moderator') { unset ( $links ['approve'] ); unset ( $links ['spam'] ); unset ( $links ['trash'] ); unset ( $links ['move'] ); unset ( $links ['split'] ); unset ( $links ['edit'] ); unset ( $links ['move'] ); unset ( $links ['merge'] ); unset ( $links ['close'] ); unset ( $links ['stick'] ); } } return $links ; }
just change ‘array (‘12345′,’34567′,’78945′))’ to have a list of the forum ID’s you want to check against
In reply to: Moderators for the same forum@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
In reply to: Moderators for the same forummaybe …not one the bbpress authors allowed for 🙂
anyway, totally untested as I need to be doing other things, but this might do it
revised code belowof course if moderators are allowed into the backend, then this becomes pointless, but I would argue that only admins should be backend access 🙂
In reply to: Button bar hidden for topic message windowsorry I meant in which file are you seeing this
‘There is a css setting, if-no-js, that is setting display none before the button bar’
In reply to: Button bar hidden for topic message windowso in which file are you seeing this setting?
In reply to: Moderators for the same forumI suppose my first thought would be that if you can’t trust your moderators to be nice to each other, why would you trust them to be nice to the general forums users, so why would you have them as moderators in the first place?
In reply to: Moderators for the same forumprobably – maybe set up a test moderator and try
In reply to: Post-> Topicsok, so no easy automatic way to do this., but this method is fairly simple.
so use the ‘Post Comments as bbPress Topics’ plugin, and create a post using settings that create a topic. Publish the post and that will create the post and a forum topic.
then you can immediately go back to edit that post, and in the ‘topics for posts’ part of the edit, unclick the ‘Use a bbPress forum topic for comments on this post.’ This will then show the normal comments box, but the forum topic will remain.
In reply to: Problem with themeI presume you are adding the adrotate with a shortcode – yes?
In reply to: Post-> Topicsso for a post, do you want a topic to be created, but post comments to remain in the post?
In reply to: Duplicate post messageso if you look in
dashboard>replies can you see if his reply is getting posted?
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
Then come back