Hi, I’ve recently installed bbpress for a new site and am currently setting it up. I’ve encountered a problem which is that none of my forum pages are showing the title.
I’m using the Astra theme and title show on my other webpages, so I don’t believe I have it disabled anywhere, which means I can’t figure out why it’s hidden!
I have bbstylepack and can’t find anything there for showing/hiding titles (I’ve hidden the breadcrumbs, but that’s not what I’m meaning).
This is my forum page (you can click into the test forums and test topics and see there are no titles on any of the pages)
https://www.triptathlon.com/forums/
But you can see on my holding pages there are titles; for example:
https://www.triptathlon.com/shop-2/
https://www.triptathlon.com/groups/
Any idea why the page titles are displaying on my pages but not my forum pages? It makes things hard to follow without the title there, particularly for topic pages. All I can think is there’s something somewhere hiding in the settings for my theme, but the only places I’ve found have the page titles set to show….
This has worked for many years and just now it screwed up.
I attach an image. The box where you point to the image appears. I go and get the image and in the box appears there has been a critical error on this website.
bbPpress Version 2.6.12
Latest WP
bbPress Enable TinyMCE Visual Tab Version 1.0.1
Thanks if anyone knows about this. Searching this, there are hundreds of support requests all over the place for a ‘critical error on this website’, but it only here that it appears. The rest of the site functions normally.
Hi,
I can’t see a way for admins to manage subscriptions.
We have bbPress in a members’ area, which presents two challenges:
- Ex-members cannot access the forum to manage their subscriptions
- Ex-members still receive the notifications to member-only content
I could delete these directly from the wp_usermeta table but it means looking up their user ID is not ideal.
Perhaps someone will find it useful. This code does not load the system and saves the result in temporary storage.
// Function to fetch the latest image from a topic
async function fetchLatestImageFromTopic(topicUrl) {
// Check if there is cached data and if it is fresh
let cachedData = localStorage.getItem('latestImageData');
let cachedTimestamp = localStorage.getItem('latestImageTimestamp');
const cacheLifetime = 24 * 60 * 60 * 1000; // 24 hours
// If there is cached data and it's fresh, display it
if (cachedData && cachedTimestamp && (Date.now() - cachedTimestamp < cacheLifetime)) {
document.getElementById('latest-image-container').innerHTML = cachedData;
return;
}
// Request to the server to get the topic data
try {
const response = await fetch(topicUrl);
if (!response.ok) throw new Error('Page load error');
const text = await response.text();
const parser = new DOMParser();
const doc = parser.parseFromString(text, 'text/html');
// Extract all replies in the topic
const replies = Array.from(doc.querySelectorAll('.bbp-reply'));
let latestImage = null;
let latestDate = 0;
let heading = '';
let description = '';
// Loop through all replies and find the freshest image
for (let reply of replies) {
const postDate = new Date(reply.querySelector('.bbp-post-meta .bbp-post-date').textContent).getTime();
const img = reply.querySelector('img');
if (img && postDate > latestDate) {
latestImage = img;
latestDate = postDate;
heading = reply.querySelector('h3') ? reply.querySelector('h3').innerText : '';
description = reply.textContent.trim().replace(heading, '').trim();
}
}
// If an image is found, create HTML content
if (latestImage) {
const imgSrc = latestImage.getAttribute('src');
const imgAlt = latestImage.getAttribute('alt') || '';
const outputHtml =
<div style="text-align: center;">
${heading ? <code><h3>${heading}</h3></code> : ''}
<img src="${imgSrc}" alt="${imgAlt}" />
${description ? <code><p>${description}</p></code> : ''}
</div>
;
// Save the data in local storage
localStorage.setItem('latestImageData', outputHtml);
localStorage.setItem('latestImageTimestamp', Date.now());
// Display the result on the page
document.getElementById('latest-image-container').innerHTML = outputHtml;
} else {
document.getElementById('latest-image-container').innerHTML = '<p>No images found.</p>';
}
} catch (error) {
console.error('Error:', error);
}
}
// Call the function with the topic URL
fetchLatestImageFromTopic('https://www - yours - topic');
How This Code Works:
Cache Check:
First, we check if there is any cached data in localStorage.
If the data exists and is still fresh (within the last 24 hours), we display it on the page.
Server Request:
If there is no cache or it’s outdated, we send an AJAX request to the server to retrieve the topic data.
We only need to parse the HTML content to extract images and publication dates.
Finding the Freshest Image:
We loop through all the replies and extract the image and publication date.
If the date of the current reply is more recent than the previous one, we update the image and data.
Caching the Result:
After finding the freshest image and associated content, we save the result in localStorage so we don’t need to make repeated requests.
Displaying the Result:
We display the result on the page, including the image, heading (if available), and description.
Where to Place This Code?
HTML: Insert this code within a <script> block on the page where you want to display the image.
Hi there
I am hoping you can help.
I have otter blocks – block editor theme on a wordpress site and I am using bbpress – I have used “enable bbpress for block themes” plugin which has the forum working fine – I do however need to change the text sizing
I am wondering what the full list of css elements I need to change are ?
Or if there is a better way to improve the way the forum appears ?
I am looking to freeze a website and it’s BBpress forum, so that unregistered (and registered) viewers can see the existing content in the forum, but the login form should not appear (currently seen below the forum content) which currently gives the impression they could log-in to make contributions.
WP version 6.7.2
BBpress v2.6.12
BBpress login register links v3.3.5
Twenty Sixteen Theme
www.grangetheatrelittletew.uk
Thank you in anticipation.
Hi,
Is there a css code that would hide/remove my sidebar from all buddypress pages?
I found one that worked to remove the sidebar from bbpress so I was hoping that there would be one that worked for buddypress.
This is the one that works to remove the sidebar from bbpress:
`.bbPress #primary {
display: none;
}
2025/03/12 22:03:38 [error] 740224#740224: *3087207 FastCGI sent in stderr: “PHP message: PHP Warning: A non-numeric value encountered in /home/askwoody/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-topic-replies-list-table.php on line 239; PHP message: PHP Fatal error: Uncaught TypeError: number_format(): Argument #1 ($num) must be of type float, string given in /home/askwoody/public_html/wp-includes/functions.php:424
Stack trace:
#0 /home/askwoody/public_html/wp-includes/functions.php(424): number_format()
#1 /home/askwoody/public_html/wp-admin/includes/class-wp-list-table.php(1042): number_format_i18n()
#2 /home/askwoody/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-topic-replies-list-table.php(305): WP_List_Table->pagination()
#3 /home/askwoody/public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-topic-replies-list-table.php(263): BBP_Topic_Replies_List_Table->display_tablenav()
#4 /home/askwoody/public_html/wp-content/plugins/bbpress/includes/admin/metaboxes.php(586): BBP_Topic_Replies_List_Table->display()
#5 /home/askwoody/public_html/wp-admin/includes/template.php(1456): bbp_topic_replies_metabox()
#6 /home/askwoody/public_html/wp-admin/edit-form-advanced.php(722): do_meta_boxes()” while reading response header from upstream, client: 50.211.96.14, server: askwoody.com, request: “GET /wp-admin/post.php?post=1964543&action=edit HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php8.2-fpm.askwoody.sock:”, host: “www.askwoody.com”
I Think the error is being triggered by bbpress?
Hi
Many of the discussions on my site run to multiple pages.
Is there a way of pinning the initial post so that when someone clicks to Page 2, Page 3 of replies the first post remains at the top? I was thinking that it would help keep people on topic.
Thanks!
I have installed the plugin – and all appears good in that I have created a page and added the short code – and it the forum shows – however … thats where it all goes wrong clickiing on the forums or trying to paost asn I get blank screens
I hve tried to debug this with gemini ai and it said create a page for each short code – did that – didnt work – then said copy the index.php file and rename it bbpress.php and drop that in the theme directory – did that and.. guess what didnt work either – also added a bbpress template layout in the theme and that too doesnt allow me to engage with the forum – I have gone through permalinks and literlally going round in circles and not getting anywhere amy help oor suggestions would be welcome – thank you