This issue is theme related, because bbPress is just inheriting the CSS styles from the themes stylesheet. Same thing with the other themes, there are just some styles that could affect some classes in the code that can make the layout look different.
In the theme compat code in bbPress, has it where you can use default WordPress conditionals like is_single() which should show up for each single forum and topic, and is_archive() for the forum archive (forum root page) and topic archive (usually at yoursite.com/topics or forum root).
So while you did create a single forum page using shortcodes as an easy to do workaround, as the code for the “indentation” is created by your themes CSS and only for single pages using ,while you created a simple page. When you enter the normal forum url in 2016 you will see the same “indentation” you see on topics.
You are on the money on what CSS to use to fix the issue, there is just some media queries that you need to add is all. There will be a slight margin to the right around 700px width when the sidebar goes under the content, but a page has that same margin in your theme and for consistency I just say leave it in.
This CSS should help your help solve your issue.
@media screen and (min-width: 61.5625em) {
.bbpress .entry-content {
float: none;
width: auto;
}
}
Hello,
I would like to know how to add some text before the BBPress new topic box. Like here for example, it gives some instructions on what to include to help out the process of getting support. Here is an image from wordpress.org support showing the tips above the new topic form.
https://drive.google.com/file/d/0B_h6oU4LzDtlWXdyd1NXTU9NNHM/view?usp=sharing
Any ideas on how I can do it?
Thanks.
I found this php script online, can anyone suggest if this is safe to empty the trash?
$strSql="SELECT ID FROM wp_posts WHERE post_status='trash'";
$con=mysqli_connect("localhost","my_wordpress_user","my_db_pass","my_wordpress_db_name") or die("Error connecting");
$result = mysqli_query($con, $strSql);
while($row = mysqli_fetch_array($result)){
printf($row['ID']."\n");
}
mysqli_close($con);
php findtrash.php > trash.txt
$con=mysqli_connect("localhost","my_wordpress_user","my_db_pass","my_wordpress_db_name") or die("Error connecting");
$file = fopen("trash.txt", "r") or exit("Unable to open file!");
while(!feof($file)){
$intId = fgets($file);
$result = mysqli_query($con, "DELETE FROM wp_posts WHERE ID=".$intId);
$result2 = mysqli_query($con, "DELETE FROM wp_postmeta WHERE post_id=".$intId);
if($result && $result2){
printf("Deleted id ".$intId);
}else{
printf("Results not positive".$result." ".$result2." for ".$intId." ");
}
}
fclose($file);
mysqli_close($con);
Thanks for the test. I have the same issue on 2016, so I created trac ticket https://bbpress.trac.wordpress.org/ticket/2921
Let see if something can be done, for now you will have to live with the CSS trick above
Pascal.
Hi @casiepa,
Unfortunately, the site became slow gradually in around 12 hours, until it won’t just load anymore. I tried with even managed WordPress hosting who did some fine tuning but it still won’t work. I am in kind of a desperate situation where I am losing my visitors of more than 7 years.
I am willing to hire any expert to resolve this issue if possible.
Thanks, T
OK it seems to work only if you been to the wordpress logon screen. When i restart the browser i cannot login. I have now added a button to login via wordpress logon screen. If i click it, then back the login BBpress login fields work! so strange!
Hi I am getting the same error, has any one got fix for this?
Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in /srv/wp-includes/functions.php on line 3792
Thanks
Hello!
I just made a fresh WP install and added bbPres as the one and only plugin. Here is how bbPress looks with the default theme Twenty Sixteen, when the color scheme is switched to Dark: http://goo.gl/Lfw3ii
Absolutely unusable! I’m pretty sure the default WordPress theme should be supported by bbPress. Is this a bug?
To be sure there is nothing wrong with my WP+bbPress install, I just reinstalled WordPress from scratch and added bbPress as the one and only plugin (this is the default theme Twenty Sixteen).
Here is a screenshot: http://goo.gl/1Bll3A
Why bbPress ‘reserves’ this left-margin space. Can this indentation be disabled?
Thank you!
Hi @Pascal,
I successfully ran all the repair tools, but unfortunately I still have the issue.
I also moved my website later to a managed WordPress hosting provider that is optimized for performance, however I have same/worst performance issues. The only solution I had was to disable the bbPress plugin.
I am confident now that my server is okay.
Any more things I can try? I am thinking of trying 2.6 as well tonight.
Regards,
T
Never saw this before to be honest, but it’s more a WordPress issue…
http://www.ecoby.se/wp-login.php is blocked, but the moment I want to add a parameter (http://www.ecoby.se/wp-login.php?) it seems to respond.
Go to http://www.ecoby.se/wp-admin and check security plugins if any.
Pascal.
I have tested your code. Well I can select in the admin panel “edit topic” or “new topic” “featured image”, I select the picture…when I turn back to the topic, no picture. It doesn’t remain selected.
I use the latest WordPress: 4.30.
bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
There are (at least) a couple of tickets on this in the bbPress trac, no. 2722 and no. 2865.
No. 2865 has a patch marked “under consideration”. In case it helps anybody, we’ve wrapped this patch as a plugin for bbPress 2.5.8:
https://wordpress.org/plugins/fix-forum-emails/
This should help to fix problems with HTML entities in notification emails on vanilla bbPress installs. It’s intended as a workaround until the issue gets fixed in bbPress core.
The plugin won’t remove stray HTML or CSS in forum posts. Rogue markup like this can be caused by cut-and-paste operations in TinyMCE, aka the Visual Editor, if you have it enabled in bbPress. If you’re having these problems, we have another free plugin called “Forum Beginner Posts” in the repository. It enables TinyMCE for bbPress in paste-as-text mode by default.
There are (at least) a couple of tickets on this in the bbPress trac, no. 2722 and no. 2865.
No. 2865 has a patch marked “under consideration”. In case it helps anybody, we’ve wrapped this patch as a plugin for bbPress 2.5.8:
https://wordpress.org/plugins/fix-forum-emails/
This should help to fix problems with HTML entities in notification emails on vanilla bbPress installs. It’s intended as a workaround until the issue gets fixed in bbPress core.
The plugin won’t remove stray HTML or CSS in forum posts. Rogue markup like this can be caused by cut-and-paste operations in TinyMCE, aka the Visual Editor, if you have it enabled in bbPress. If you’re having these problems, we have another free plugin called “Forum Beginner Posts” in the repository. It enables TinyMCE for bbPress in paste-as-text mode by default.
There are (at least) a couple of tickets on this in the bbPress trac, no. 2722 and no. 2865.
No. 2865 has a patch marked “under consideration”. In case it helps anybody, I’ve wrapped this patch as a plugin for bbPress 2.5.8:
https://wordpress.org/plugins/fix-forum-emails/
This should help to fix problems with HTML entities in notification emails on vanilla bbPress installs. It’s intended as a workaround until the issue gets fixed in bbPress core.
The plugin won’t remove stray HTML / CSS in forum posts. Rogue markup like this can be caused by cut-and-paste operations in TinyMCE, aka the Visual Editor, if you have it enabled in bbPress. If you’re having these problems, we have another free plugin called “Forum Beginner Posts” in the repository. It enables TinyMCE for bbPress in paste-as-text mode by default.
WordPress 4.3
bbPress 2.5.7
My forums have topics but no topics are showing. It is correctly showing:
“This forum contains 1 topic, and was last updated by…”
but also displays
“Oh bother! No topics were found here!”
an no topics are listed.
I checked /wp-admin/edit.php?post_type=topic and no topics are associated with any forums. However, I re-associated each topic with the correct Forum and these changes were persisted on /wp-admin/edit.php?post_type=topic but does not make any difference to the error above and no topics are listed within any forums.
Please advise where in the code I should start debugging?
Thanks
Example forum with 1 topic not showing:
http://www.trenerrycrescent.com/forums/forum/potential-electrical-fire-risk-bathroom-fan-timers/
Hi, sorry if this has been asked a lot of times, but I couldn’t find relevant information.
I need to be able to upload images without placing any text at all in the text field. Just need to upload images. Please let me know how to achieve this.
Wordpress 4.1.10
BBPress Version 2.5.8
Please let me know.
Thank you!
ok, so now I think I understand your issue. I am presuming that you mean the options menu, which works fine on a pc as using the mouse to hover lists the menu items and closes them as the mouse moves away.
with a smartphone you need to click rather than move a mouse? (I don’t have a smartphone!)
Since having the menu expand is not part of the normal bbpress function (it just lists the menu items rather than having a dropdown list), I presume that either your theme is doing this, or you have added some js to do this?
You could try
http://wordpress.stackexchange.com/
Yes I’m only aware of an old plugin. Not sure there is a recent one that does what you want.
For what it is worth I believe it is in the development roadmap for core bbPress so should be added one day.
Is it this ticket?
https://bbpress.trac.wordpress.org/ticket/2498
Unfortunately bbPress development seems to have stalled a little with buddyPress taking much of the attention these days (?). I did actually contribute to a crowd funding campaign in the hope to kickstart bbPress development but no release came out of that sadly.
I’d love this feature too, if my PHP skills were up to it I would work on it myself – maybe one day!
When I go to the replies section in the back end of my WordPress site I see that there are 45 replies listed as spam (https://www.dropbox.com/s/i4jqrt6oyeba5y1/Screen%20Shot%202016-03-22%20at%2012.48.28.png). However, when I click on the spam link to view these 45 replies I get a 500 internal server error (https://www.dropbox.com/s/znim99czexln15d/Screen%20Shot%202016-03-22%20at%2012.48.32.png).
Has anyone else come across this issue?
Hi Everyone,
I finally upgraded my bbpress 1.x to bbpress 2.5.6 after running it for 7 years. The import process took almost a day with 0.5+ million posts.
Now I am facing issue with slow performance, despite running on physical server with 16 core CPU and 16 GB RAM. The upgrade ran fine for few hours has but been very slow from last 12 hours.
The wordpress and bbpress are both so slow that sometimes even the site fails to load. HTOP shows all CPU cores running mysql up to 90%.
I enabled slow query on mysql (mariadb) and it is giving the following output:
[root@server]# mysqldumpslow -t 5 -s at /var/log/mariadb/mysql-slow.log
Reading mysql slow query log from /var/log/mariadb/mysql-slow.log
Count: 7485 Time=25.48s (190747s) Lock=2.85s (21328s) Rows_sent=10.0 (74810), Rows_examined=1582056.1 (11841689862), user[database]@localhost
SELECT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE N=N AND (
( wp_postmeta.meta_key = 'S' AND CAST(wp_postmeta.meta_value AS SIGNED) NOT IN ('S','S') )
) AND wp_posts.post_type = 'S' AND ((wp_posts.post_status = 'S' OR wp_posts.post_status = 'S')) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT N, N
I tried disabling other plugins but it did not make any difference, however the CPU returns to low if I disable bbpress plugin.
Can anyone guide me on what could be the issue here?
Regards,
T