Forum Replies Created
-
In reply to: How to remove head and something from path
for the furst two, add this to your theme custom css
.forum h1.page-title, .forum div.page-description p { display : none ; }
for the last, install this additional plugin
once activated go to
dashboard>settings>bbp style pack>Breadcrumbs
In reply to: Search displays hidden forums to participantsok, I’ve found the problem, and this filter fixes
add_filter ('bbp_after_has_search_results_parse_args', 'rew_search') ; function rew_search ($args) { /*mods and above get permissions to see all from line 50 of \bbpress\includes\search/template.php which sets a list of $default['post_status'] //participants/spectators get $default['perm'] = 'readable' set instead of $default['post_status']. 'perm' is a wordpress wp_query setting, and wordpress does not have 'hidden' status, so allows hidden forums to show //so if $default['perm'] is set, we add a 'post_status' as well to restrict to statuses user is allowed */ if (!empty($args['perm'])) { $post_statuses = array(bbp_get_public_status_id()) ; // Add support for private status if ( current_user_can( 'read_private_topics' ) || current_user_can( 'read_private_forums' ) ) $post_statuses[] = bbp_get_private_status_id(); } // Add support for hidden status if ( current_user_can( 'read_hidden_forums' )) { $post_statuses[] = bbp_get_hidden_status_id(); } // Join post statuses together $args['post_status'] = $post_statuses; } return $args ; }
if you are using
then this is included in version 5.0.8 just releasedOtherwise 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
I’ll update the bbpress trac ticket shortly
In reply to: Search displays hidden forums to participantsthanks – I can see the issue – suggest you change the keymaster pw to prevent this site being hacked
I’ll now use my test site to see if I can work out what is happening
In reply to: Search displays hidden forums to participants1. can’t see as I don’t have access
2. when you say ‘blank bbpress’ did you do the full tests above?In reply to: Mobile topic index page does not look niceA lot of mobile changes depend on the theme being used.
These are the css changes that this site uses for smaller devices
/* Do not fix #header for non-desktops */ @media screen and ( max-width: 782px ) { #header { top: 0; z-index: 99999; position: absolute; } #wpadminbar { z-index: 88888; height: 56px !important; position: absolute; } #wp-toolbar { width: 100%; } #main { margin: 100px 10px 40px 10px; } body:not(.trac):not(.home-page) #main { margin-top: 140px; } #footer { padding: 10px; margin: 10px; } #footer div.links, #footer div.details { float: none; margin: 10px 0; } #bb-menu-icon, #mobile-menu-button { display: block; position: absolute; right: 0; padding: 33px 20px 33px 33px; text-decoration: none; } #header #nav, #wporg-header #wporg-header-menu { margin: 0; float: right; overflow: visible; } #header #bb-nav, #wporg-header #wporg-header-menu { position: absolute; width: 100%; right: 0; top: 81px; border-bottom: 1px solid #aaa; } #header #bb-nav li, #wporg-header #wporg-header-menu li { width: 100%; text-align: center; margin: 0; padding: 0; } #header #nav #bb-nav li a, #wporg-header #wporg-header-menu li :link, #wporg-header #wporg-header-menu li :visited { display: block; margin: 0; padding: 20px; color: #000; text-shadow: none; border-radius: 0; } #header #nav #bb-nav li.current a, #header #nav #bb-nav li a:hover { color: #fff; } #header #bb-nav, #bbpress-forums .bbp-pagination-count, .bbp-topic-meta, #wporg-header #wporg-header-menu { display: none; } #header #nav:hover #bb-nav, #header #nav:focus #bb-nav, #wporg-header #wporg-header-menu.toggled { background-color: #eee; display: block !important; } #wporg-header #wporg-header-menu.toggled { background: #eee; } #header #nav:hover #bb-menu-icon:before, #header #nav:focus #bb-menu-icon:before, #wporg-header #mobile-menu-button[aria-expanded="true"]:before { color: #fff; } #wp-admin-bar-my-account img.avatar { height: 38px !important; width: 38px !important; } } /* Mobile */ @media only screen and (max-width: 480px) { #bbpress-forums div.bbp-topic-author img.avatar, #bbpress-forums div.bbp-reply-author img.avatar { width: 72px; height: 72px; margin: -5px 0 0 -5px; transform: rotate(-5deg); } #bbpress-forums .bbp-author-role { border: none; background: transparent; padding: 0; margin: 0; } #bbpress-forums p.bbp-topic-post-date, #bbpress-forums p.bbp-reply-post-date { position: absolute; right: -13px; top: -17px; font-size: 10px; margin: 0; } #bbpress-forums div.bbp-topic-author .bbp-author-avatar + br, #bbpress-forums div.bbp-reply-author .bbp-author-avatar + br, #bbpress-forums div.bbp-topic-ip, #bbpress-forums div.bbp-reply-ip { display: none; } #bbpress-forums li.bbp-body div.type-topic span.bbp-admin-links, #bbpress-forums li.bbp-body div.type-reply span.bbp-admin-links { display: block !important; border-top: 1px dotted #ddd; margin: 10px 10px 0 10px; padding: 5px 0; position: relative !important; top: 0; left: 0; } }
You can play with them to get your site looking nicer
either add them to the custom css part of your theme, or use
In reply to: Auto close topic after some time / dayscontact me via
In reply to: blank Screen🙂
I see this has been fixed on the bbpress-notify support page.
https://wordpress.org/support/topic/error-regarding-roles-on-all-pages-of-learndash-site/
The next sentence I am saying in a very nice way, so please do not take offence. Free software comes with free support offered by unpaid volunteers, so if you get a problem fixed, please make sure you post back if it gets fixed – 10 mins of my life I won’t get back in looking at this problem.
In reply to: Template in Block Themes?if you have upgraded, then you should see this as text in the theme support tab
You are using the theme Twenty Twenty-Two or a Twenty Twenty-Two child theme – enable this section to get bbpress to display correctly
In reply to: Template in Block Themes?I took it from
BBpress keeps loading the empty index.php in the TwentyTwentyTwo Child theme
that you were using a child theme.
what thene are you using?
In reply to: Editor autoresizewish I had time, but this looks like a js approach
In reply to: Editor autoresizealso this?
https://www.tiny.cloud/docs-4x/plugins/autoresize/
suggests just using autoresize rather than wp version?
It would be a neat feature to have, but I don’t have the time.
If you crack it, do come back
In reply to: Editor autoresizeNot even looked at it, but does this plugin have any answers?
In reply to: How can I make bb press forum as homepage?same as above, but your theme will let set it as homepage
In reply to: Template in Block Themes?ok, I’ve released version 5.0.6 of my style pack plugin.
Once you have updated to this version you will find
dashboard>settings>bbp style pack>theme support where you can enable theme support for your 2022 child theme
please confirm that this works
In reply to: Template in Block Themes?no it’s my bad coding !!
I hadn’t spotted that you were using a child theme.
I add some code to pick up on this, and be back in the next day
always good to be called awesome – thanks made my day !!! 🙂
ok, so just looked the documentation says
‘& lt;’
when it should say
‘<‘
etc.
This is just internet stuff between stating and interpreting.so if you copy the code in your first post, then this is the correct code to have.
I’ll look to correct the documentation
just loaded that code to my test site, and it runs fine.
suggest you delete and try it again
In reply to: Posts are missing datesI’d suspect css related, but as said before, I’d need a link to a live example.
In reply to: Template in Block Themes?add this plugin
then go to
dashboard>settings>bbp style pack and the tab will let you fix this issue
In reply to: Posts are missing datesok, given that I cannot access site (in effect you are sending me a photo of your car engine, rather than letting me see the car itself) I can only suggest 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 there an admin tool like Shadowban for a user?is this in basic bbpress, or are you using an approval plugin?
In reply to: Is bbPress no longer being updated?🙂
In reply to: Posts are missing datesthat link goes to
…./wp-admin/post.php?post=594&action=edit
so your back end edit of the page, not the page 🙂