@grassrootspa – I’m not sure why they did it that way… I guess so that you could restore the post if you wanted. WordPress doesn’t have a comments trash – if you delete a comment, the comment is gone. I think blog posts work the same way too.
So I guess the two systems work somewhat differently? That’s not the only difference either – WordPress also has a “moderated comments” layer in addition to the Akismet Spam layer, but bbPress only has the Akismet Spam layer. Dunno why bbPress doesn’t have a moderated layer either… maybe because bbPress doesn’t (yet) easily enable anonymous comments, so spam isn’t as huge a problem as it is in WordPress.
Just curious, why aren’t deleted posts permanently removed from the database?
Does WordPress permanently remove posts one deletes from the database?
but you use bbpress in a subdomain ?
thanks, yes, load the environment it’s simple, but i’d bbpress quickly
You probably need to look into this wordpress file wp-includescapabilities.php and mimic that function in bbPress or alternatively load WP environment and use it. I would recommend avoiding the latter option due to performance issues.
Hope that helps!
ohk! I got it now. Its called as user role.
So you want to check the user role of WP and then show content based on it or something similar. right?
@Marcomail
I have successfully integrated them without a plugin as per my tutorial in the 2nd post.
i have wp 2.8 and bbP 1.0 and without cookie integration plugin on wordpress i couldn’t access to bb-admin after the login in wordpress…if you use only the bb press login it’s not necessary, but if you use login on wordpress, like me, it’s necessary
user category, for example contributor, administrator, author….bbpress have the corrispective, but i’d create a new user category in wordpress
Now bbPress 1.0.1 is available for download in Italian at: http://www.wordpressmu-it.it/downloads/
There are 2 package, the only localization files and the full package with the bbPress files and the localization files.
Ora bbPress 1.0.1 e’ disponibile al download in Italiano su: http://www.wordpressmu-it.it/downloads/
Ci sono 2 pacchetti, solo i file di localizzazione e il pacchetto completo con i files di bbPress ed i files per la traduzione.
Then what do ya mean by checking if the user is in a particular WP category? An example would be great!
No plugin is needed for integrating WP2.8 with bbP1.0 and no need of playing with COOKIES setting too if you have bbP in a sub-directory.
no, i’m not loading bbpress on a wordpress page…i’ve created an identical theme for bbpress
have you intasllaed the plugin in wordpress for cookie integration ? And after this, have you modify the wp-config.php in the wordpress root folder with the COOKIE_DOMAIN and COOKIEPATH ?
I didn’t get it. Are you loading bbPress on a WordPress page? In any case, WP functions can be accessed on WP pages. Please elaborate.
I didn’t get it. If you are not using the same databases, then how come the users are being shared? Are you sure on this?
Ashfame,
Thanks for replying. Here’s some more details that might resolve the problem after reading your tutorial.
I have WordPress and bbPress installed on separate databases. I know bbPress is connecting to the WP user tables because when I add a user I see it added on the bbPress side.
I did not change the default table prefixs for WordPress or bbPress per your tutorial.
On the bbPress WordPress Integration page I have all the fields filled out except the following:
– secure auth cookie salt
– WP MU Primary blog ID
– User database “user” table
– User database “user meta” table
Let me know if think the above items maybe the cause. Thanks.
yes, but i’m not using wp-blog-header…i have integrated bbpress in the layout without using the WP environment loaded
sorry but my english is very bad
If you have the WP environment loaded, then you can use the regular WP functions. You need to put some more light on the subject so that we can brainstorm.
Do you know i could check in bbpress if a user is in a specific wordpress user category ? I must create a new user category in wordpress, and i’d use this in bbpress.
for example
if user_id in category=example_category
make this…
else
I integrated my site the other day. Here’s a few things that helped me when developing my bbPress theme.
1. Point its CSS to the corresponding WP themes CSS so that there’s a common stylesheet between them. For example: http://mysite.com/wp-content/themes/mytheme/style.css
2. Do the same thing with images. For example in your bbPress theme use http://mysite.com/wp-content/themes/mytheme/image/image.jpg
3. As mentioned above you will need to duplicate content from WP theme. I find that if I cram everything before the forum content into header.php and everything after into footer.php it clears up the rest of the bbPress templates for me to modify as I wish.
Hope this helps.
You can see what I did for my site here: http://tiptaptip.com and http://tiptaptip.com/forum
Its always hard to track what you missed as compared to a fresh procedure. If you are doing fresh installations of both then I would want you to take a look at my tutorial that I wrote yesterday : http://blog.ashfame.com/2009/07/integrate-bbpress-10-with-wordpress-28/
and if they already hold data, then we will try to trace the cause and get it fixed.
Hope that helps!
I’m having login problems with my WordPress and bbPress integration. I have to login to both programs. However, when I log out of either program, I log the other program out.
I have WordPress 2.8.1 and bbPress 1.0 installed.
WordPress is installed on the main directory (i.e., my-site-url)
bbpress is installed as a subdirectory (i.e., my-site-url/bbpress)
I’ve checked to make sure the four keys in the wp-config and bb-config files match up.
I’ve checked to make sure the auth_salt and logged_in_salt keys match up between WordPress and bbPress
The cookies generated seem to be correct.
It creates a wordpress logged in cookie (e.g., wordpress_logged_in_f1f3…a00a)
with a path of /
It creates five wordpress cookies (e.g., wordpress_f1f3…a00a)
with the following paths
/wp-content/plugins
/wp-admin
/bbpress/my-plugins
/bbpress/bb-plugins
/bbpress/bb-admin
Since I’m setting up my site, I have uninstalled and reinstalled the programs with the same problem. Perhaps, there is a step I’m missing. Any ideas to correct this would be appreciated!
If you have wordpress installed in the same database with wp_ as prefix, then use bb_ as prefix for bbpress, else it would conflict with wordpress.
Is it possible to remove “topic” in the URL.
I have now http://www.site.com/forum/topic/example, so is is possible to get:
http://www.site.com/forum//example
Just like in wordpress, i can remove the “category” slug.