A 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
Code Snippets
The default bbpress topic index page does not look good on mobile at all. I would like to customize it. I could see that the bbpress.org topic index page looks good. They were able to remove stuff like this Started by: ollietubb1 in: Troubleshooting and also remove the freshness icon and name from the topic index page to get things well organized.
Open this URL on your mobile to see: https://bbpress.org/forums/
Please, could you guide me to do the same thing to improve the mobile view of the topic index page? I am using bbpress Version 2.6.9
Thanks in advance.
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.
I installed bbpress and everything work great. I start designing my page and now I have a blank screen. Although all of my forums, and topics are inside admin section and I have not lost any info but still have a blank screen.
https://brashmeans.org/forums/
According to the trac ticket, there’s a fix coming in v2.7: https://bbpress.trac.wordpress.org/ticket/3445
No idea when 2.7 going to be released.
Got problems on every single page of this LearnDash based site. At the top is an error related to the BBPress No Spam plugin:
Warning: Attempt to read property “roles” on bool in /nas/content/live/needlewell/wp-content/plugins/bbpress-notify-nospam/includes/controller/common_core.class.php on line 307
Any idea why that might be occuring?
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
Hello,
I have create a custom theme. I using a bbpress plugin. I want know how to get number of get participants of topic in single topic page.
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?
Hi there, first off, bbpress is a great plugin and it’s amazing that it’s available for free. Thank you guys so much!
My question: I installed bbp and saw that it changed the way the wp user profile pages look. These look really nice, however, on the theme we use, the profile pages don’t show any footer, header or breadcrumbs. It’s just a white page with the user profile data, but without a link back to the forum.
How can I add the standard footer, header or some breadcrumbs to the page to allow people navigating back to the forum page after they’ve visited a user profile?
May I hire you to write a plug in that would allow SOME sections of bbpress to be closed after a year but others to stay open indefinitely?
sParticipant
Hi,
Is it possible to use bbpress as a support ticketing system something similar to known plugin in the area like SupportCandy, Awesome support etc.
Thanks
Thanks for the links 🙂 It’s not a necessary feature, but agree would be neat. I think one issue is that most scripts and functions are for when you have TinyMCE as the deafault WordPress editor, but this is inside bbPress.
I’ll definitely let you know if I find a working solution.
@robin-w
I tried the settings under ‘Forum Templates’ but I’m getting the same WSOD. bbpress just isn’t loading anything other than the blank index.php in the block theme.
Is there another setting I’m missing? Is anyone using bbpress with a block theme yet?
Thank you again for your suggestion!
Hi!
I tried a snippet from this page: https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#24-show-status-labels-for-bbpress-topics
to get a label or icon for sticky topics.
function rk_sticky_topics() {
if ( bbp_is_topic_sticky() && !bbp_is_topic_closed() )
echo '<span class="sticky">[Sticky]</span>';
}
add_action( 'bbp_theme_before_topic_title', 'rk_sticky_topics' );
I get a fatal error with syntax error unexpected ‘;’ on the line starting with if.
Thank you in advance
This is not in the basic bbpress, but I saw this on other forum’ engines.
I think it would be great if to find a combo plugin for bbpress admins like bbpress-styles for poly-customize.
Now I’m just looking for a shadowban recipe – perhaps this can be done through the hooks of the php function…
We have the same problem: users cannot upload images to our forum. How can this problem be solved ? It would be best if users could upload images without admin intervention.
forum: https://www.durecomemuri.it/
WordPress 6.0.1
bbPress: 2.6.9
Buddypress: 10.3.0
BBpress keeps loading the empty index.php in the TwentyTwentyTwo Child theme I’m working on, which loads a WSOD.
I can’t get any of the template filters to use one of the html files, so temporarily have it working with the index.php file as:
wp_head();
block_header_area();
block_template_part( 'page-inner' );
wp_footer();
block_footer_area();
And… its almost all working? But, this can’t be the right way to get it to use the new default page template in the block theme.
Thoughts? Ideas? How can I get it to use the new theme templates?
Thanks!
ok, 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
Health Check & Troubleshooting
Then come back
is this in basic bbpress, or are you using an approval plugin?
yes just tried ‘forum’ and it does not show
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
Health Check & Troubleshooting
Then come back
Hi,
1) I created a hidden forum with topics and replies as a keymaster
2) I logged in as a Participant
3) A search will not display topics and replies as expected, but the forum itself is displayed!
4) Clicking on the forum shows a 404 page, as expected
bbPress 2.6.9
bbpress is stil being maintained.
It works fine with wordpress 6.x