Forum Replies Created
-
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 π
In reply to: Last Updates blank on 2.6.6is it possible to have a link to your site and an example on it ?
In reply to: Forum not showing in WP Dashboard@tintinmilou – thanks, and this is a known issue
In reply to: Topic statsyou probably need to correct the total
dashboard>tools>forums>repair forums
In reply to: Issues after bbPress 2.6.6 plugin updateok, many questions… but lets start with
what version did you upgrade from ?
which template files are they missing from ?
In reply to: Please change widget forum li a php codeI am just a bbpress user who helps out here – I have no power to change code. I can log a defect, but I’ll only do that if I can also see an issue
In reply to: Parent and Child display incorrectlyThat’s fine – I’m also UK π
In reply to: Parent and Child display incorrectlythere are many additional plugins which add functionality to bbpress, just as there are for almost all the popular wordpress plugins (eg woocommerce, contact form 7 etc. all have a host of additional plugins)
Just add style pack and enjoy π
In reply to: Please change widget forum li a php codeHave you a link to an example – they line up on my test site
In reply to: Remove “forum” from url slugπ
if you have one forum and one topic, you probably don’t need a statistics widget π
However I’ve logged a defect