Forum Replies Created
-
In reply to: Clicking on forum takes me to blank page
ok, so I’m guessing you have a page called ‘Forum’ in which you have put the shortcode
[bbp-forum-index]
If so change the permalink on this page from ‘forum’ to ‘forums’ and it should all work
In reply to: which theme ussed for bbpress.org ?theme is at
but it will still take some work to create a clone of this site.
Using your existing theme, you can most of the sidebar stuff here using the widgets in
In reply to: Clicking on forum takes me to blank pageok so what are all the slugs set to in
dashboard>settings>forums
In reply to: Clicking on forum takes me to blank pageTry
dashboard>settings>permalinks> and just click save – this resets the permanlinks and can fix issues like this.
If not, come back
In reply to: User user id instead of login in profile urlok
In reply to: loco-translateso the plugin is called bbpress which isn’t a word which translates, so what do you mean ??????
In reply to: User user id instead of login in profile urlno easy solution – basically wordpress lets you login with your email so users can still login using email address if their have a different username. So if you need this as a solution then your registration process should not allow users to use their email as username or warn them that if they do it will be public.
You can change any existing ones using
great – glad it worked
or might not – I’m trying to look at this in limited free time and trying not to get sucked into too deeper a code dive 🙂
maybe it’s the if function, try
add_action ('bbp_new_topic_post_extras', 'rew_spam_update_last_active', 10 ,1 ) ; function rew_spam_update_last_active ($topic_id) { //this function tests if a new topic has been marked as spam by Akismet. If so then the last active date will be wrong //So we use topic walker to recalculate it bbp_update_topic_walker ($topic_id, '', 0, 0, true) ; }
It’s not the answer, but might help get to the solution problem
So there is some code in bbpress that can fix the link (I am guessing by changing something in the database?).
yes it is the function ‘bbp_update_topic_walker ‘ called in my code 🙂 🙂
I’ll look further at why it isn’t recalculating based in that info
‘It looks like if the fix was inside bbp_topic_freshness_link() it would be much easier to test, ;’
agree but it just wouldn’t work there, that is not where or when the issue is occurring.
Try
add_action ('bbp_new_topic_post_extras', 'rew_spam_update_last_active', 10 ,1 ) ; function rew_spam_update_last_active ($topic_id) { //this function tests if a new topic has been marked as spam by Akismet. If so then the last active date will be wrong //So we use topic walker to recalculate it if (!empty (get_post_meta( $topic_id, '_bbp_akismet_user_result' ))) { bbp_update_topic_walker ($topic_id, '', 0, 0, true) ; } }
ok,
1. create a page called ‘profile’, it needs no content, but make sure the permalink is ‘profile’
2. in dashboard>settings>wp members>pages>profile select the profile pagethen use this code
add_action( 'template_redirect' ,'rew_profile' ) ; function rew_profile () { update_option ('rewurl' , $_SERVER['REQUEST_URI'] ) ; if ($_SERVER['REQUEST_URI'] == '/profile/') { $user_id =get_current_user_id() ; $url = bbp_get_user_profile_url( $user_id ) ; exit( wp_redirect( $url ) ); } }
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
if it works for a topic, then I’ll do the code for a reply, which is basically changing mthe word topic to reply 🙂
ok, give this a try – it may or may not do the trick !!
add_action ('bbp_new_topic_post_extras', 'rew_spam_update_last_active', 10 ,1 ) ; function rew_spam_update_last_active ($topic_id) { //this function tests if a new topic has been marked as spam by Akismet. If so then the last active date will be wrong //So we use topic walker to recalculate it if (!empty (get_post_meta( $topic_id, '_bbp_akismet_user_result' ))) { bbp_update_topic_walker ($topic_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
just posting this link here for reference for me 🙂
In reply to: Akismet causing “recent topics” problem?@sbask – sorry so many users I can’t remember – did we fix this one, and if so how?
yes it does (and does so on here as well!).
I’m just a helper here, not a bbpress author.
I don’t run akismet on my test site. Are you able to replicate the problem so that we can check a fix if I am able to work up some code?
is this the free plugin here
In reply to: @mentions for bbpressok, quite a while ago that I last looked at this area, I’ll try and take a fresh look when I can.
In reply to: @mentions for bbpressTry this
In reply to: One forum category doesnt showing up.no problem, glad that you are fixed 🙂
In reply to: One forum category doesnt showing up.I fully understand – you have an issue where one forum is not showing. Given that showing these forums are settings within your theme or LMS, not within bbpress, then it most likely that it is a setting somewhere within this.
so you can try one last thing
dashboard>settings>permalinks and just click save – this resets the permalinks and may help
then if you srea still convinced that it is not theme or plugin, you can prove this using
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: One forum category doesnt showing up.I don’t use either the theme or LMS, so I can’t say what settings you would need to look at, can only suggest you contact the theme author, or plugin authors of restrict content and/or LMS
In reply to: One forum category doesnt showing up.ok, so it will I suspect be a setting that those use , so suggest you see what differences there are with that forum vs. the others