Forum Replies Created
-
In reply to: Strange problem with paging
ok, that is part of the issue.
I’m still looking, but whilst I think
[bbp-topic-index]
will protect against users seeing posts they shouldn’t, you might just want to check for your site.I added an extra filter on
[bsp-display-topic-index]
that does a double check, and this is causing the issue.I don’t actually think that filter is needed, but I am doing some extra checks to make sure, so just make sure
[bbp-topic-index]
is hiding stuff it should until I confirm.In reply to: Strange problem with pagingQuestion – are you also running the bbp-private-groups plugin?
great- glad you are fixed, and sorry for the spelling !
In reply to: Issues after bbPress 2.6.6 plugin updateGoad the first ones fixed.
sorry, but the above fault finding applies again π
In reply to: Strange problem with paginghmmm…interesting..
the shortcode [bsp-display-topic-index] is from my stylepack plugin, whereas [bbp-topic-index] is from bbpress.
If this was working ok, I’ll need to work out what has changed to make it not work π
In reply to: Strange problem with pagingso has this just started? new site? new bbpress?
try
dashboard>settings>permalinks and just click save – I don’t expect this to fix, but it will eliminate !
In reply to: Is there a way to send a reason for moderation?moderation does 2 checks for stuff in
dashboard>settings>discussion
1st for blacklist words – produces ‘Your topic cannot be created at this time’ error
2nd for moderation – either the number of links or words. If these are failed, the topic is allowed but put into pending.
So which and what do you want to happen?
In reply to: bbPress is suddenly displaying incorrectlyusual fault finding applies
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: Parent and Child display incorrectlyunless you list the errors, I can’t help you π
At the moment you are just telling me that your car is making a funny noise
Sorry, I’m being brain dead this afternoon.
Spectate is a capability shared by many roles, so the code above is rubbish !
Try this
function forum_user_is_spectator(){ if ( is_bbpress() && is_user_logged_in() ) { $user_ID = get_current_user_id() ; $role = bbp_get_user_role( $user_id ); if ($role == bbp_get_spectator_role()){ wp_enqueue_script( 'spectator-js', get_template_directory_uri() . '/js/spectator.js', array(), false, true); } } }
you add action is right, and I’d have this as the function (not tested!)
function forum_user_is_spectator(){ if ( is_bbpress() && is_user_logged_in() ) { $User_ID = get_current_user_id() ; $Spectator = (!empty(current_user_can( 'spectate' )) ? 1 : 0) ; if ($Spectator){ wp_enqueue_script( 'spectator-js', get_template_directory_uri() . '/js/spectator.js', array(), false, true); } } }
In reply to: Please change widget forum li a php codethis is free software, supported for free by volunteers like myself. I will raise a ticket when I get some time to do so, I have a life outside of this forum π
In reply to: Issues after bbPress 2.6.6 plugin updateItβs kinda weird that when I edit this php file you mention βcontent-single-topic.phpβ, it didnβt show those changes on the forum pages.
ok, question, does your theme have bbpress files associated with it? or is a plugin affecting this
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: Is bbPress2.6.6 compatible with WordPress 5.7 ?π
In reply to: Last Updates blank on 2.6.6great – glad you are fixed
In reply to: Last Updates blank on 2.6.6ok, so what are you using to restrict the forum visibility
In reply to: Please change widget forum li a php codethanks, I’ll raise a ticker when I get a moment
In reply to: Last Updates blank on 2.6.6I’m running 2.6.6 on 5.7 on my test sites, all I can suggest is
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: Topic statsπ
In reply to: Issues after bbPress 2.6.6 plugin updatethat code has been moved to content-single-topic.
Can you just recheck your settings in
dashboard>settings>forums and look at subscriptions and favorites are set – I have no reason to doubt except past experience π
If so, you may need to upgrade in
dashboard>tools>forums>upgrade forums
In reply to: Is bbPress2.6.6 compatible with WordPress 5.7 ?yes it works with 5.7
In reply to: Topic statsit 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: Last Updates blank on 2.6.6no, most bbpress sites will be 2.6.6 and this was released in November 2020, so if this was an issue it should be well known by now.
In reply to: Last Updates blank on 2.6.6thanks,
I’d suggest you try
dashboard>tools>forums>repair and run one at a time
In reply to: Topic statsgreat – glad you are fixed π