Forum Replies Created
-
In reply to: bbp_get_user_topic_count returns incorrect number
🙂
In reply to: What happens when a user decides to unsubscribeok, so as above.
I’m thinking about your email
In reply to: WordPress/bbPress random redirectdo come back if you think I can help further, I know how frustrating these events are !
In reply to: WordPress/bbPress random redirectIs this a new issue on new site, or new issue on old site, and how often is it happening to how many users ?
ok, I don’t think this is bbpress, I can’t see anywhere in bbpress that it changes cookies, but as you’ll appreciate ‘random’ actions are always the hardest to debug, and I would not rule bbpress out, I’m just struggling to see where it might have the problem.
so to directly answer your question, no idea how you might debug without finding a way to reliabily recreate this.
In reply to: bbp_get_user_topic_count returns incorrect numberyes, this has been happening for a while (it happens on this site!) , and I’ve not got round to looking at why until you posted (I am a bbpress user who helps out here, not one of the bbpress authors).
I’ve just dug into the code and created a trac fix ticket for it
https://bbpress.trac.wordpress.org/ticket/3429#ticket
in the meantime, this code fixes the problem
add_filter ('bbp_bump_user_topic_count' , 'rew_new_topic_count', 10 , 4) ; function rew_new_topic_count ($user_topic_count, $user_id, $difference, $count) { //check if count is 2 and should be 1 by seeing if user topic count is empty!! if ($user_topic_count==2 && empty (bbp_get_user_topic_count( $user_id, true )) )$user_topic_count = 1 ; return $user_topic_count ; } add_filter ('bbp_bump_user_reply_count' , 'rew_new_reply_count', 10 , 4) ; function rew_new_reply_count ($user_reply_count, $user_id, $difference, $count) { //check if count is 2 and should be 1 by seeing if user topic count is empty!! if ($user_reply_count==2 && empty (bbp_get_user_reply_count( $user_id, true )) )$user_reply_count = 1 ; return $user_reply_count ; }
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: WordPress/bbPress random redirecthmmm….
by ‘renewal’ do you mean login ?
In reply to: Plug-in section has disappeared off my dashboard.great – glad you are fixed 🙂
In reply to: Forum page critical ErrorI would suspect this is a 404 error.
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: Logout error when bbPress plugin is activegreat – glad you are fixed !
In reply to: What happens when a user decides to unsubscribeunsubscribe vs cancel vs delete??
unsubscribe simply unsubscibes for new topics/replies, it does nothing to existing
In reply to: Plug-in section has disappeared off my dashboard.ok,I’d suggest you try your developer f you can – it is likely to be something they have done.
If they refuse to help further, then come back
In reply to: Logout error when bbPress plugin is activeok, this thread was for version 1 of the plugin.
If you have an issue, 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: Plug-in section has disappeared off my dashboard.do have access to
dashboard>appearance>themes ?
In reply to: Logged-in User’s Gravatar to show on header.This code is from version 1 of bbpress, so probably no longer works.
In reply to: Plug-in section has disappeared off my dashboard.try this
@deborah86 – great – thanks for posting your findings – really appreciated !
This will help others getting the same issue
In reply to: Adding post meta to user repliesI saw your one before the edit.
I put this in my form-reply
<input name="toggle-check" id="toggle-check" type="checkbox" value="value">hello
and this in my theme’s functions file
add_action( 'bbp_new_reply_post_extras', 'rew_reply_checkbox' ); add_action( 'bbp_edit_reply_post_extras', 'rew_reply_checkbox' ); function rew_reply_checkbox ($reply_id) { //and probably set the value to a $_POST parameter you set in the form if (! empty($_POST['toggle-check'] ) ) { $myvalue = $_POST['toggle-check'] ; } else $myvalue='empty' ; update_post_meta ($reply_id , 'toggle-check', $myvalue) ;
and that works fine
In reply to: Topics not showing, routing to 404?🙂
In reply to: Adding post meta to user repliesok, I’m very confused.
if you are adding this code to a form, then it is already in a form, so you don’t need the <form…
you’d just need to code I put above ie
echo '<p class="whatever"> <input name="my_parameter" id="my_parameter" type="checkbox" value="whatever_value_you_want" checked="checked"> <label for="whatever">Tick this box to do whatever</label> </p>' ;
maybe you could post the entire form you are trying to change, and indeed say where/what it is?
In reply to: Topics not showing, routing to 404?my test site with just twentytwenty and bbpress works both with or without the prefix – I just make sure the landing page has the same permalink as the forum slug.
Every site is unique, so if that is not working for you, I’m not sure what to suggest next – sorry 🙁
In reply to: Topics not showing, routing to 404?sorry this is free help offered by volunteers – I try to read the posts but have limited time, and sometimes miss elements 🙂
so
what are the settings in
dashboard>settings>forums – forum root slug forum and forum single slugs – please list
is the ‘Prefix all forum content with the Forum Root slug (Recommended)’ set ?
In reply to: redirect 301not sure how this is related to bbpress ?
In reply to: Like-post button plugin?In reply to: Date and Time Not Showing in PostsHowever 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: Date and Time Not Showing in Postssorry – too many things in your ‘we value your privacy’ for me to visit, I get enough junk at the moment.