Please teach me how to display search button on page only for bbpress posts.
Is it required any plugin?
* WordPress Ver : 3.5.1
* Theme : Twenty Twelve
* bbPress Ver : 2.2.4
It’s nice to see a few CSS tweaks providing deep integration into an existing WordPress site.
Thanks for sharing!
Sorry, I was talking about the bbpress-unread-posts plugin!
This has been fixed in the WordPress plugin of deckbox.org.. can be closed
Lately, I find a lot of lines with SQL syntax errors in my error log
`[31-Jan-2013 08:06:53 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘) LIMIT 0, 8’ at line 1 for query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts WHERE 1=1 AND (((wp_posts.post_title LIKE ‘%’))) AND (wp_posts.post_password = ”) AND wp_posts.post_type IN (‘post’, ‘forum’, ‘topic’) AND (wp_posts.post_status = ‘publish’ OR wp_posts.post_status = ‘closed’) ORDER BY FIELD(wp_posts.ID, ) LIMIT 0, 8 made by require(‘wp-blog-header.php’), wp, WP->main, WP->query_posts, WP_Query->query, WP_Query->get_posts`
It seems like the ‘%’ should have been something like ‘%s’ and replaced by a string?
I had the exact same problem, and have found a solution that worked for my case:
I have a custom theme running and the site.com/forums/ page was not listing the forums, even though I had created a couple sample forums and topics to make sure there was dummy data.
Thanks to Jared, it became quite apparent that the “the_content()” WordPress function was not properly generating the forum.
At first I tried disabling all the plugins, except bbpress, to see if perhaps a plugin was conflicting with the “the_content()” function; but no luck.
I then installed the TwentyTwelve theme, and switched to that, and voila, the forums were showing! Something was different in the TwentyTwelve theme that I didn’t have in my custom theme… and I narrowed it down:
SOLUTION: Make sure you have the “the_post()” function call BEFORE the “the_content()” function, in your page.php template file in your theme folder. Something in bbPress must be getting triggered by the “the_post()” function which ties into the “the_content()” function displaying the forums content properly. All subsequent pages also display properly.
Simply, ensure “the_post()” is called before “the_content()”. Did the trick for me! Good luck!
I think I finally found a caching plugin that’s actually compatible with the latest bbPress plugin:
http://wordpress.org/extend/plugins/lite-cache/
It’s by the same developer who made the quite popular “Hyper Cache“. Why he decided to make yet another caching plugin I do not know, but it appears to be working great on our site!
Does anyone know how to stop forum topics from showing up under the WordPress Recent Posts Widget?
I know this was a while ago, but in case anyone else stumbles across this topic, here’s how I did it.
In your wordpress install find the folder `/wp-content/plugins/bbpress/templates/default/css`
Open the file `bbpress.css` in a text editor
Within the bbpress.css file, search for the text `#bbpress-forums .status-closed`
When you find this text, below is the entry `color: #ccc;` This is the colour for your text in closed topics. Change it to #000 for black.
I’m trying to do a WordPress XML import on a site with BBPress installed. When I get to the page that asks if a user’s posts should be assigned to an existing user or not, the list is over 100 users long, but never finishes. I know it’s not finished because I see that it’s listing BBPress users, and there are 3700+ of them in the WP-Admin. Consequently, the Submit button never gets created for the import form, so I can’t finish the import.
Please help!
I had used the code (below) prior to posting here in the forum and it didn’t work for me…
and it outputs nothing… what am I doing wrong? I put this in my header.php file in my wordpress theme directory.
There are very little in the way of options for bbPress and this is by design.
I’m also from the Stonehenge forum era and am far from a developer but saw the potential of bbPress, now I’m learning PHP due to the awesome inline docs in the code of bbPress (and WordPress).
Speaking of proud things in bbPress… Search is really new and works really well 😉
eg. https://bbpress.org/forums/search/?bbp_search=remove+sidebar
(I’m not meaning to be lazy or dismissive of your specific query just that this question has been asked many times and there are quite a few topics on this subject and you might even find one specific to the WordPress theme you are using)
Excellent, the BBCode cleanup bits are the main changes that will ship with bbPress 2.3, I think I have most of them sorted now.
Moving topics is a manual task at the moment, it is planned for a future release. (#1838 & #1721)
Are you able to configure your old phpBB forums (or a copy of them) and set these forums the way you want them to exist in bbPress and then do the import?
(Essentially use the phpBB mod tools to get the setup you want before importing into bbPress)
How do I call bbpress template tags inside of the wordpress theme files? For example, I’m in header.php of my wordpress theme, and would like to list the forums in the header. I found this code: bbp_list_forums(); but I’m not sure how to get it to work?
I understand I can use widgets or use the admin with various slugs… but I’m wondering how to do this on the backend with code.
Problem Solved, I think. I noticed I was able to make some bold text using html. Then I made some italic text and it worked too. Finally, I tried making a link, again, and, as before, it didn’t show. Then I looked more closely at he link code and put some text between the last > and closing tag and it showed and working. So, much to my delight I can use this plugin with my Arras theme, which, I wasn’t prepared to sacrifice. Thank you for this plugin. I thinks its just what I wanted for my WordPress site. Simple without all the who needs it extras that come with other plugins and and accomplishes exactly what I need.
Fixed! This changeset specifically is likely the one causing you problems.
The bbPress theme is inside the plugin and inherits your wordpress themes styling.
If you wish to change that then you need to copy the theme files out of the plugin and into your wordpress theme. The theme files are inside templates/default I believe.
Copy them out into your wordpress theme and then edit those files to get your preferred look, good luck!
Hello,
So I installed the bbpress plugin, and the forum seems to work, but I want the forum to appear as white, not black. My WordPress blog, which BBpress is installed as the plugin for, is black.
Is there not an easy way to have the forums be white and the blog black? Where/how do I change that?
Thanks
Bob
Nice one JJ,
ticket is here: https://bbpress.trac.wordpress.org/ticket/2185
Phew… glad that wasn’t just me going mad!
using bbpress 2.2.4, wordpress 3.5.1
I want to make some conditional changes to my main template depending on whether it is rendering bbpress forums or the rest of the site.
something like:
` if (this_is_a_bbpress_page()) :
div class=”abc”
else :
div class=”xyz”
endif;`
Is there something like that this_is_a_bbpress_page() function?
@johnjamesjacoby Cheers JJ. I’ve just tested with bbpress2.3 beta 1 and I still get the same behaviour.
Admin can use @mentions and no syntax error appears in the error log.
As soon as a regular participant does, then they get this error:
`[29-Jan-2013 12:51:38 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘http://www.mysite.tv/members/admin/’ rel=’nofollow’>@admin mentio’ at line 1 for query SELECT ID FROM wp_posts WHERE post_type = ‘reply’ AND post_status != ‘trash’ AND post_author = 40 AND post_content = ‘Now testing @admin mention in a forum post.’ AND post_parent = ‘9865’ LIMIT 1 made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bbp_template_redirect, do_action(‘bbp_template_redirect’), call_user_func_array, bbp_post_request, do_action(‘bbp_post_request’), call_user_func_array, bbp_new_reply_handler, bbp_check_for_duplicate`
Only happens with participants.
Can you replicate this in your error log at all?
I have a multisite install and this shortcode just kicks the user to the WordPress registration page after they enter their username and email address. Anyone else having this problem?
Hi
Im trying to migrate from vbulletin to bbpress, every time i try … the import tool only converts replies, topics and forums.
I also tried cheking the option ‘Attempt to import user accounts from previous forums’
but i get the error:
WordPress database error: [Unknown column ‘user.user_nicename’ in ‘field list’]
What should ive been doing wrong?
May you help me please?
WP: 3.5
Bbpress: 2.2.4
thanks in advance!
P.D. In the convertion i have these messages:
Repair any missing information: Continue
Conversion Complete
Converting replies (2000 – 2099)
Converting replies (1900 – 1999)
Converting replies (1800 – 1899)
Converting replies (1700 – 1799)
Converting replies (1600 – 1699)
Converting replies (1500 – 1599)
Converting replies (1400 – 1499)
Converting replies (1300 – 1399)
Converting replies (1200 – 1299)
Converting replies (1100 – 1199)
Converting replies (1000 – 1099)
Converting replies (900 – 999)
Converting replies (800 – 899)
Converting replies (700 – 799)
Converting replies (600 – 699)
Converting replies (500 – 599)
Converting replies (400 – 499)
Converting replies (300 – 399)
Converting replies (200 – 299)
Converting replies (100 – 199)
Converting replies (0 – 99)
Converting topic tags (500 – 599)
Converting topic tags (400 – 499)
Converting topic tags (300 – 399)
Converting topic tags (200 – 299)
Converting topic tags (100 – 199)
Converting topic tags (0 – 99)
Converting topics (1200 – 1299)
Converting topics (1100 – 1199)
Converting topics (1000 – 1099)
Converting topics (900 – 999)
Converting topics (800 – 899)
Converting topics (700 – 799)
Converting topics (600 – 699)
Converting topics (500 – 599)
Converting topics (400 – 499)
Converting topics (300 – 399)
Converting topics (200 – 299)
Converting topics (100 – 199)
Converting topics (0 – 99)
Calculating forum hierarchy (0 – 99)
Converting forums (0 – 99)
No data to clean
Starting Conversion