Forum Replies Created
-
In reply to: How many levels of sub categories are supported?
you can create as many levels as you wish.
In reply to: [phpBB Debug] PHP Warningno problem 🙂
In reply to: display activitys posts randomlyok, beyond free help, so this might help, otherwise sorry
https://www.wpbeginner.com/wp-tutorials/how-to-display-random-posts-in-wordpress/#aioseo-method-1-d
In reply to: [phpBB Debug] PHP WarningIn reply to: display activitys posts randomlyseems to be quite a lot of them
https://en-gb.wordpress.org/plugins/search/display+random+posts/
untried but this seems to support custom post types
In reply to: display activitys posts randomlycan you clarify what ‘on the wall’ means?
In reply to: display activitys posts randomlycan you clarify what ‘on the wall’ means?
and what do you want to display? title, whole topic, replies, content etc.
ok
link to your page please
In reply to: ACF shortcode in topic post frontendjust 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
In reply to: ACF shortcode in topic post frontendthanks, I’ll take a look tomorrow
In reply to: ACF shortcode in topic post frontendI want it to show up underneath the bottom of the topic field.
ok, no idea what you mean by that, as asked can you provide a link and say precisely where you would like it
In reply to: skipping a line generates html charactersok, 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: Notification emails content issueok, 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 mailgreat – glad we got there !!
In reply to: Space characters appear in subscription mailok, try this
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 ) ; $message = 'hello'.$message ; return ($message) ; }
This should simply add the word ‘hello’ before the message, which will prove that the filter is firing.
In reply to: Space characters appear in subscription mailok, just tried that in my test site and the code above seems to work.
1. can you give me a exactly what you have put into your functions file, with a few lines above and below
2. are you using any other bbpress related plugins?
3. are you using any mail related plugins?
In reply to: ACF shortcode in topic post frontendso is this the front end of any topic post, or a specific topic post ?
and exactly where do you want it?A link to a live example on your site, together with ‘under/over/beside xx’ would be useful.
In reply to: Space characters appear in subscription mailok, 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