I’ve written my own custom plugin to have bbPress use my site’s authentication system (it’s not wordpress). It’s working beautifully (for the most part). I replace bb_is_user_logged_in and bb_current_user (and the latter sets bb_set_current_user).
The problem is this: AJAX calls to add a new tag, to remove an existing tag (your own or as admin), or to delete a post all fail with a “you don’t have permission to do that”. I see that other plugins have had that problem too. However, if I submit the request using the old school (non-AJAX) url, it works just fine.
So I’m guessing there’s something unique in the AJAX calls and that code seems dense to me. Can anyone suggest some places to check first?
I just moved my forum from cpanel-shared hosting to debian vps server- directadmin.
The only problem I faced was permalinks on my forum.
I am using wordpress & bbpress together, and wordpress had no problem with permalinks.
I tried two options for permalinks to work;
1) option multiviews,
2) bb-admin/rewrite-rules.php
I use .htaccess redirects on my wordpress and had no problem with it. I dont know what to change on my vps, or what to try on my vps, and all of the urls saved on google are not working for now.
I dont know much about debian or vps server, this is my first month. I have root access.
Software Versions
Wordpress 2.2.2
Bbpress 0.8.2.1
Server Software Versions
Apache 2.2.8
MySQL 4.1.10
DirectAdmin 1.31.2
Thanks for reading.
No listing in the plugins tab means the plugin is malformed and is seen as just a file in that directory, not a plugin. You are going to need a plugin header, something as simple as this:
<?php
/*
Plugin Name: No 404s
*/
?>
https://codex.wordpress.org/Writing_a_Plugin
Seems pretty silly to me too. They could at least put that code in the template and comment it out if they don’t want it to appear, like you see in WordPress themes sometimes.
Yes, it’s possible. Since you have users already, you’re going to need to get those users set up as WordPress users so they can comment on your blog. You are going to need an integrated install, and I would recommend WordPress 2.5 and bbPress 0.9 when it comes out. Before that, it will just be painful.
is it possible? Whats with the users on the board, may they write comments on wordpress?
my forum is here
exampledomain.com/forums
and i want to install the worpress here
exampledomain.com/
Thanks for all the help so far guys. I think I know what the problem is now. Since the site is integrated with WP, I’m using the WP headers, which are responsible for throwing the 404 error even though the page generates fine.
The relevant discussion on this forum is here.
I still haven’t fixed the problem though. Should I give up on using a single header for both WP and BBPress? Is the plugin fix suggest the best bet? Other ideas?
Thanks for the reply Chris. Yes, I’m using 2.3.3 right now. The content of the plugin code is exactly as above:
function mbob_flush_rewrites() {
global $wp_rewrite;
$wp_rewrite->flush_rules();
}
add_action('init', 'mbob_flush_rewrites');
function mbob_add_rewrites($wp_rewrite) {
add_rewrite_rule('forums/topic', 'forums/topic.php');
add_rewrite_rule('forums/forum', 'forums/forum.php');
add_rewrite_rule('forums', 'forums/index.php');
$wp_rewrite->rules = array_merge($wp_rewrite->non_wp_rules, $wp_rewrite->rules);
}
add_action('generate_rewrite_rules', 'mbob_add_rewrites');
And I’m not getting a specific error really. Simply that when I upload no404s.php with this code to my wp-content/plugins directory, there is no listing in the Plugins tab to even activate it.
Start by sharing a link to your forum and describing how you would like it to look unless it’s completely obvious to anyone viewing exactly what is wrong with the positioning.
Thanks.
I have integrated my wordpress theme into my bbpress theme but even though it looks the same, the text and forum is not in the same postition as they are supposed to be. How do I fix this?
What does the content of your plugin look like, and what is the error you are getting when you try to activate it (do you have access to error logs)? Also, what version WordPress are you using( 2.3.3?)
So close! I have this same issue with my regular installation of WP, and I only realized today (after 3 months) that this is the reason my forums – http://argentinastravel.com/forums/ – are not getting indexed!
I tried creating a plugin from the code above, but I couldn’t activate it. Can someone please help me with a step by step fix for a regular WP install? Gracias!
What are you entering there? And are you using a language file other that the default US English? Any plugins? Are you trying an integrated install with WordPress? What version bbPress and WordPress are you using (if you’re using WordPress at all)?
Should be fairly straightforward to mimic.
I might give it a try sometime this month if they don’t release it.
How about in your WordPress header.php try to wrap the breadcrumb call with something that happens only on bbPress pages. So, if your forum is in a directory called “forum” or something, maybe you could check the REQUEST_URI for the presence of forum
. Then you wouldn’t show the breadcrumbs if you were on a forum page. Something like that?
Breadcrumb script: https://wordpress.org/extend/plugins/breadcrumb-navxt/
I’ve integrated it so that bbPress calls WordPress functions, meaning I use get_header and get_footer. All the forum CSS is in my WordPress CSS.
In the WordPress header.php I use that breadcrumb plugin, but obviously on the forum pages I don’t want it to appear.
Hey,
I just got done redesigning my forum section to match my main WordPress theme. I would love some feedback. If it’s positive, I probably will release the WordPress and bbPress theme to the public.
http://www.refueled.net/forum/
Let me know what you think.
Thanks in advance.
Do you have a link to what you’re talking about?
Of course you can do a conditional in PHP, it’s just a matter of how you integrated things and if the functions are available between WordPress and bbPress.
What breadcrumb script are you using?
There are two people committing code for bbPress and one of them (mdawaffe) was heavily involved with the WordPress 2.5 release.
If there have been two release candidates for WordPress, that means there have been changes to WordPress that we have to match in that time.
It’s just a matter of limited resources at this stage. We also have identified one blocker which needs to be fixed before we can release 0.9
Hello there,
i upgraded wp to version 2.5 succesfully.
But now i have a small problem. It seems that bbpress and wp do not communicate anymore as before as if the integration is broken. I am not more logged in into bbpress if i am logged in into wp and vice versa. I did not try to create a new testing user to see if he/she will appear in wp and bbpress yet. Is anyone experiencing the same?
Could this be a cookie issue with WP 2.5 (hashing method?)? The intergration between wp 2.3 and bbpress 0.8.3 worked smoothly until now.
This method http://bbpress.org/blog/2006/09/simpler-integration-with-wordpress/ ceased to work for me since the wp upgrade. Will it be fixed with 0.9 version?
Hi
I’m integrated.
I use a breadcrumb script in my WordPress header.
Any idea if it’s possible to display the bbPress breadcrumb script INSTEAD of the WordPress one when on the forum?
Something like if (is_forum()) or something?
I believe the new support forum theme was designed by the same people who redesigned the WP admin screens (Happy Cog).
Here’s an explanation of how to get avatars working in WP 2.5:
http://weblogtoolscollection.com/archives/2008/03/03/gravatars-and-wordpress-25/
I really like the new theme they are using and was wondering if anyone knew if they had released it or where they got it from?
Also on a non-bbpress note, how do you turn avatars on in WP2.5? I can’t find it at all.
Release of bbPress 0.9 is imminent.
We need to test against the final release of WordPress 2.5 before we can release bbPress.