Forum Replies Created
-
In reply to: Censor/Hide Phone Numbers and Email Addresses
so did Robkk’s links not work ?
In reply to: Problem with Elementor Theme Builderlooks like this is what you need
In reply to: Error messages are out of sightnow in style pack
In reply to: Display links in the content to members onlyand couldn’t use it in bbPress function’ file.
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: Display links in the content to members onlysorry for late reply.
You would do better to link to topic and reply content
so
add_filter( 'bbp_get_reply_content', 'content_link_for_user_snippets',80, 2 ); add_filter( 'bbp_get_topic_content', 'content_link_for_user_snippets', 80, 2 );I’d run them at priority 80, as bbpress runs various actions at this point, including one called ‘bbp_make_clickable’ at priority 60, which would probably reverse your efforts !
In reply to: Forum subscriptions are not displayed in profilesorry, I maybe misunderstanding
bbpress 2.6.6 is the official version, downloaded from here
I’m not sure why you are using 2.6-rc-6?
and 2.6-rc-7 is not released yet, so will have bugs
In reply to: Forum subscriptions are not displayed in profilethe way subscriptions work is different between versions 2.5.x and 2.6.x – which version are you on?
In reply to: Forum subscriptions are not displayed in profileso in
dashboard>settings>forums – are subscriptions turned on ?
In reply to: Forum subscriptions are not displayed in profileI’m not sure why you are not working – it works both on this forum and on my test site.
In reply to: Forum subscriptions are not displayed in profilein this forum, if you look at the left hand in a forum you will see a tick, and ‘subscribe’ and ‘unsubscribe’ – these are actions, so ‘unsubscribe’ in this forum means that you are ‘subscribed’ and is offering you the option of ‘unsubscribing’
so if it shows ‘unsubsribe’ and you look at subscriptions, you will see the forum listed
In reply to: Hide forum from logged in usersIf you wish to change bbpress templates, you only need worry about those you want to change for instance if you wished to change user-details.php you would
find
wp-content/plugins/bbpress/templates/default/bbpress/user-details.phptransfer this to your pc and edit
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/user-details.phpbbPress will now use this template instead of the original
In reply to: Add Featured Image to New Topics in Frontend WYSWYGYou are asking someone to write code in their free time to do something that their code wasn’t intended to do.
it’s that simple
In reply to: Add Featured Image to New Topics in Frontend WYSWYGyou seem to completely misunderstand open software foundation software, so you would clearly not understand a response
In reply to: Error messages are out of sightthis is what I might out in style pack
add_action ('bbp_template_before_single_forum' , 'bsp_template_notices') ; add_action ('bbp_template_before_single_topic' , 'bsp_template_notices') ; function bsp_template_notices() { // Bail if no notices or errors if ( ! bbp_has_errors() ) { return; } // Define local variable(s) $errors = $messages = array(); // Get bbPress $bbp = bbpress(); // Loop through notices foreach ( $bbp->errors->get_error_codes() as $code ) { // Get notice severity $severity = $bbp->errors->get_error_data( $code ); // Loop through notices and separate errors from messages foreach ( $bbp->errors->get_error_messages( $code ) as $error ) { if ( 'message' === $severity ) { $messages[] = $error; } else { $errors[] = $error; } } } // Display errors first... if ( ! empty( $errors ) ) : ?> <div class="bbp-template-notice error" role="alert" tabindex="-1"> <ul> <li> <?php echo implode( "</li>\n<li>", $errors ); ?> <a href="#new-post"> <?php _e('Click here to correct', 'bbp-style-pack') ; ?> </a> </li> </ul> </div> <?php endif; }In reply to: Error messages are out of sightI’ve found that annoying in the past, and not bothered to think about correcting.
This basic code will display the errors at the top, but I might look to improve on that in style pack
add_action ('bbp_template_before_single_forum' , 'bbp_template_notices') ; add_action ('bbp_template_before_single_topic' , 'bbp_template_notices') ;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: Do I have to stay in version 2.5 for life?ok, do come back if you want further help 🙂
In reply to: Do I have to stay in version 2.5 for life?when you restore it, it then becomes a draft – so you need to go into the topic in the tableau de bord and approve it – can you test this please
In reply to: Do I have to stay in version 2.5 for life?If you bin/trash/’corbeille’ a topic, then you can restore it through
tableau de bord>sujets>corbeille>restaurer
dashboard>topics>bin/trash>retore
If you delete permanently/’supprimer’ a topic, then yes any reference to it will produce a 404 error, as that link does not exist.
In reply to: apply js file only to the bbp forumgreat – glad you are fixed !
In reply to: Do I have to stay in version 2.5 for life?sorry, can you retype that last sentence – doesn’t quite make sense
In reply to: How to set reply form under the messageit would need javascript coding – not my area of expertise 🙂
In reply to: developing login re-direct issuesboth the top and bottom login links are the default login, they were there to start with
which probably suggests they are theme related.
bbpress just passes details to WordPress login, and if the theme is also using WordPress login, it may well be that on a single page you have 3 things sending info to WordPress authorisation, so any one might send an ‘after login’ redirect, and it might be different dependant on which is completed.
If you also have membership plugins active, then these might also catch a login and do a redirect.
computers are consistent (often annoying so!) so it might be either different logins, or other changes you are making to membership that are affecting.
I’d start by stripping back and working out what is doing what.
so
it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentytwenty, and see what changes.
Plugins
If that doesn’t work, also deactivate all plugins, and see what the login at the top and bottom do. Then add bbpress and see what changes.
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: developing login re-direct issuesso what are you using to login – bbpress login widgets, shortcodes or what?
In reply to: Do I have to stay in version 2.5 for life?presuming you don’t have anti-spam or moderation plugins, then it will be wordpress moderation settings
dashboard>settings>discussion and check moderation, blacklist and whitelist settings, particularly no. links which is the usual one that users exceed.
In reply to: Forum subscriptions are not displayed in profileok, I can only suggest you look at possible conflicts
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