hi i still have bad language – nothing change on my site i do step by step from http://www.anttivaihia.com/blog/2012/06/how-change-language-bbpress-20 ad nothing… :/
Ideally, theme authors should update their themes for the latest version of bbPress. In bbPress 2.1, the $bbp global was replaced with a function call to bbpress(). The snippet of code above is recreating the global that 2.1 eliminated the need for.
Hello …
I’m using a theme called cheerapp that I purchased from Theme Forest. It has bbpress integrated. When I upgraded to bbpress 2.1, I received a fatal error: “Call to undefined function royal_login() in /wp-content/themes/cheerapp/header.php on line 69”
I found a comment on the theme’s support page from another user saying that he tweaked the functions.php to look like this:
if ( function_exists( 'bbpress' ) ) {
$bbp = bbpress();
He mentioned that it had to do with the change from $bbp to bbpress().
This change got rid of my fatal error, but since then, whenever I try to click on a forum, it gives me a 404 error. The forums are there in my WordPress admin and it’s pointing to the correct URL, but I’m still getting these page not found errors.
I’m not sure if this is an issue with my theme or an issue with bbPress. I’ve tried to contact the theme creator but he is apparently on some extended vacation or something and isn’t responding to questions, and I’d really like to get my forums up and running again.
Any suggestions? Is there anything inherently bad with the tweak to the code I posted above? Any idea what could be causing those 404 errors?
Thanks in advance for any help you may have … Matt
@John James – thanks for promising to fix in the next release. BTW I couldn’t update to the newest BBPress recently. After I did my site gave everyone 404 errors when they tried to access forum pages. But when I went back to an earlier version of the plugin this problem went away. Any clues as to why.
@iamzippy Thanks for those instructions. I’ll probably have to get a programmer to follow them as I don’t fully understand what you are saying. 🙂
Visiting the pemalinks page of the broken site, and clicking Save like I suggested above is how WordPress flushes out the rewrite rules, and replaces them with what should be a functioning set.
If the issue persists, it’s your theme or a plugin modifying the main query after bbPress is. This would most likely happen in the theme, or something hooked into a template action, probably by way of using the query_posts() function.
encountered an issue. I get this error:
> Warning: Cannot modify header information – headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-content/plugins/bbpress-functions.php:12) in /Applications/XAMPP/xamppfiles/htdocs/wordpress/wp-includes/pluggable.php on line 934
Any idea what’s going on?
I don’t have a bbpress-functions.php in my wordpress theme (I forgot to mention that I’m using bbpress as a plugin.) is it just a file that I make myself? also, do I just include() it? or does bbpress have some way of connecting to it?
Thank you very much for all your help!
sorry offtopic – this looking good – how to install ?:)
No you will never need to touch the core code.
You put these functions inside bbpress-functions.php then you can call these functions inside your template files. like: BBP_Default::custom_bbp_list_forums();
Inside loop-forum-single.php you change where it is calling the function to the new custom function.
If you need any more help let me know, good luck!
I’m using bbpress 1.1. I want to get the author profile link in the front page inside the latest topics loop. I’m using topic_author(); but it returns only the author name, not the profile link.
Following returns the profile link in the single post, but it does not display in the frontpage. post_author_title_link();
Please help.
I’m currently working on getting bbPress 2.1 to work with a Premium WP theme I just purchased. Everything appears to be working, but on forum pages the topics don’t show up, even though the forum description says that topics and replies exist. See the image below:
http://cl.ly/image/2c0x1c3j2M0I
Additionally, on single topic pages, none of the replies show up, even though the description says that replies and voices exist.
http://cl.ly/image/2N073E260v3M
I’m not using any template overrides in the WP theme. I can resolve the issue by switching to TwentyTen bbPress, so I’m pretty sure that something in the WP theme is causing the issue, I just have no Idea what it could be.
Any light shed on this would be greatly appreciated!
Shouldn’t be related unless there is a slug conflict, which bbPress should notify you of.
The blog is missing from the first link, and both your forums and categories are broken in the second. Hard to make any guesses at what’s going on. Have you tried visiting your permalinks page and resaving them?
Will be fixed in bbPress 2.1.1. Sorry about that.
More specific user capability management will happen in bbPress 2.2.
I am looking for the same thing : I’d like to be able to manage user access on a per forum basis.
Ie :
– Users A, B, C have access to forum 1
– Users C, D, E, have access to forum 2
– User A does not have access to forum 2
– User E does not have access to forum 1
I tried to look into the WordPress capabilities and roles management, but since a given user can only have one role, this does not solve my problem. In my example above, users B and C would not be able to access 2 different restricted forums.
I read somewhere on this forum (but can find where !) that user access management like this was planned for BBpress 2.1, but I realize this was not the case.
I searched for a plugin, with no luck. I also tried other WordPress forum plugins, some offer a feature like this, but I didn’t like the rest of what they offered in comparison with BBpress.
Any idea of a solution that would not be over-complicated ? Or is it a feature that’s being looked into for a future BBpress release ?
Sigh.. I resolved my own issue by placing the individual files directly into my child theme folder, rather than a folder called bbPressCustom.
Hi John,
I work on deep customisation of bbpress (http://demo.villagora.fr/forums/forum/forum-thematique/) and I’m trying to update bbpress 2.0.3 to 2.1 !
So I’ve copied the contents of the “bbpress-theme-compat” in my bbp-theme (it’s a child of my current theme) for to modify bbpress templates / css / images…
But after the update, my child theme does not overwrite the default bbp-theme-compat files, and I don’t understand why ?
Can you explain me how use “add theme support” for overwrite properly bbpress template file in my child them, with bbpress 2.1?
Thanks in advanced.
I wonder if the OP ever got the issue resolved? I wish I’ve seen this before I posted a new topic that seems to be the exact same thing, but that’s that..
I am using Tersus, and I think it’s an awesome theme.. I have also tried jczerwonka’s method of replacing the bbpress theme files from within my theme’s folder in /wp-content/themes/Tersus/bbpress, but to no avail.. hope someone could help.
http://codex.bbpress.org/step-by-step-guide-to-creating-a-custom-bbpress-theme/
I followed the steps exactly from the link above but any changes I make to my my bbPress child theme don’t seem to work.
I have a copy of the files from the twenty-ten theme placed in a new folder inside my template’s child theme. Is there anything else I need to do besides what was mentioned in the link above?
-
This topic was modified 14 years ago by
csk.
Hello John thanks for the quick reply.
I am running a Buddypress multi site with bbPress sitewide forums using the Genesis framework. When I upgraded to v2.1 recently I lost the ability to post anything in my activity stream or filter users in the members directory.
After turning all the plugins off (apart from Buddypress and Genesis Connect which is Studiopress’ theme integration plugin for BP) and then one by one turning them back on again, it was bbPress which was clashing.
This was confirmed to me after I uploaded my earlier version of bbPress v2.0.2 which restored the Buddypress functionality. Although I couldn’t view the forums entirely – hence my question here.
Thanks for your help.
James.
I’m using a WordPress theme that comes together with a bbPress theme, and it obviously doesn’t support the new bbPress version, so the Fancy Editor doesn’t show up at all when I activate it. How can I insert it manually?
Anonymous User 5853594Inactive
sorry my english – where do i find in wordpress language file to translate in new bbpress / my old language pack is not working now and i trye translate 2.1
gj – new wersion!
-
This reply was modified 14 years ago by
ecykada.
-
This reply was modified 14 years ago by
ecykada.
-
This reply was modified 14 years ago by
ecykada.
I am using:
Wordpress Version 3.4.1
bbPress Version 2.1
BuddyPress Version 1.5.6
Tersus Theme Version 1.3 (http://themeforest.net/item/tersus-responsive-wordpress-theme/2343187)
I created a new Group, and then posted a new topic in that group. This is where the error is being thrown.
Here is a screenshot of what’s happening http://screencast.com/t/ZU0ohu061o4Q
Error says:
Fatal error: Call to undefined method stdClass::have_posts() in /home/…/…/wp-content/plugins/bbpress/bbp-includes/bbp-reply-template.php on line 168
Notice also, that the page title being displayed is from one of the WordPress posts that came with auto-importing dummy data for the theme.
I know a link to the site would help, but I am working with a client who’s not comfortable getting the link out before site-live time. So, sorry about that.
I asked for help from WordPress Forum support, and was told that this was most probably a theme compatibility issue. So I went to the theme’s support forum.
Last night, the theme’s author/s were helpful enough to guide me through what I assume are the usual stuff in troubleshooting this kind of stuff.
Here are the things I’ve done so far:
1. Disabled all plugins apart from bbPress – this resulted to the forum giving me a 404
2. Enabled BuddyPress – this brought back the forums, but with the same issue
3. Emptied all sidebar widgets that have to do with the theme.
4. Used the other theme package (bbPress Twenty Ten).
5. Deleted the function referenced in the error. Led to some new error. This was a desperate, illogical attempt on my part so i undid that.
6. Deleted the wordpress post being shown in the page title. It just displayed the title of the next wordpress post in line.
Note: every time i check to see if that fixed it, i do a clear-cache-reload, just so i’m sure nothing in cache was giving me this headache.
I really hope someone could help out.. Has anyone seen this kind of error ever been documented elsewhere?
I am still thinking your bbpress.css file seems a little short, where did that initially come from?