Thanks zaerl. However, what I meant was where is the code that converts the ‘raw’ password into the md5 hash. I know where it stores the hased password.
Sorry for the confusion.
Thanks for the advice. I think I’ll look into the “Add Local Avatar” plugin and see what knowledge I can take from there. I do have the avatars setup inside /avatars so that’s a good place to start. If nothing else I’ll pick up plenty of PHP along the way.
Well you have the same user database so you can easily access the user email. You should write a plugin that override the gravatar display functions (through the bb_get_avatar filter) and catch the images in /avatars (if exist). Sort of “Add Local Avatar” counterpart for bbPress.
This can be challenging without medium PHP knowledges.
@zaerl, point taken.
Yes, I am indeed using the ‘Add Local Avatar’ plugin within WP, and now that someone has been so kind to point out my loss of common sense, it’s very apparent why integrating WP via sharing cookies would have no affect on a user’s avatar which does not reside in that database.
So this leaves me with a problem, how do I get avatars from a specific directory to be recognized within bbPress relative to a user based on a shared session cookie?
I’m assuming some sort of call within my post.php file which is where the avatar will be called into action, but this is beyond my limited PHP knowledge, any advice on how to proceed forward?
I moved my forum from http://www.nissenfundoplication.com to http://www.nissenfundoplication.com/forum
The frontpage loads fine but clicking on any forum or topic link results in an error.
Please help!
bbpress 1.0.2
Chris
and uploads an avatar (global or local)
It seems that you are using a plugin (Add Local Avatar) that allow your users to upload avatars on WordPress. bbPress use gravatar and cannot automagically determine that you are using that particular WordPress plugin.
bbPress is a standalone software that can share session cookie and the users database with WordPress. Nothing more.
Hey drcoach, usually when I get a whitescreen in bbPress, PHP or WordPress, it usually has to do with the fact that I improperly nested code. Meaning there is some missing ), }, necessary character or a syntactical error in the code. Did you want to paste the whole code in somewhere here on PasteBin?
The site Admin email is actually the same email I have registered with gravatar.com, which shows the gravatar fine in WP. The issue that when a new user registers for the site and uploads an avatar (global or local), their avatar then displays correctly in WP, but nothing in bbPress. I should point out that all registration of new users is handled through WP, hence the need for integration with bbPress. User integration appears to be functioning normally except no visible avatars/gravatars in bbPress.
You did use an email registered on gravatar.com?
md5 checksum stored in the user_pass column of database table bb_users. No salt.
Hello all
Could you tell me which security type bbpress uses for password protection? Is it md5 and salt or something else. Also, in which file is the code located?
I’m working an integration with my own site – it’s not WP or any other. It is php that I have created.
Thanks in advance
I’m having the same issue and looking for a resolution as to why my mapped user roles (inside Settings > WordPress Integration) that are setup as ‘bbPress Member’ are being ignored and new users are automatically being labeled as ‘Inactive’ upon registration.
If this is an issue you’ve resolved since posting, any help would be appreciated. Thanks.
WP 2.9.2 / bbP 1.0.2
I’ve recently integrated a wordpress site I’ve been working on with bbpress to implement forums. Everything from styling to user login has come off pretty well, however, I’m still having an issue with the avatars not showing up inside the forums (bbpress). User integration seems to be setup correctly as login and profile info holds when switching between WP/bbP, but avatars are still showing up as ‘Mystery Man’ icon. Site can be viewed here:
http://herexchange.com/forums/
Any guidance someone could offer would be greatly appreciated. Thanks in advance.
Hey folks.
Did a successful install – with one exception. It said that it couldn’t create the first forum.
I did get a confirmation mail.
But clicking on the link in the mail brings me to this:
Oh dear!
bbPress is already installed.
Perhaps you meant to run the upgrade script instead?
This happens whether I try to log into admin or visit the BBpress root.
This is installed on a fully functioning WP site.
Help?
Thanks!
M.
Somewhere, you either called the folder “forums” or typed that in to the installer. I get redirected when I try accessing some things (like the stylesheet.)
If you have nothing of value there yet (no topics or replies) I would just reinstall and be sure your URL and directory have the same name in them (i.e. a folder called bbpress, and the URL has bbpress on the end.)
To reinstall, you will need to drop the bb_ tables from the database, otherwise you will get an error “bbPress is already installed.”
Sorry, it should be /bbpress for both. BUT thats the weird thing, when I type in bbpress/bb-admin to access the admin, it takes me to the above URL.
How come you have bbpress in one URL and forums in the other? Did you specify the location as one, but actually have it in a folder called the other? Both the folder (directory) where you installed it, and the information in the installer need to be the same. I would suggest using forums in both places (because who cares what forum software runs there really, right?)
Ok Thanks I got it,
also add this plugin to bbPress plugins directory
https://bbpress.org/plugins/
It doesn’t say anything anywhere on the website how the posts are stored. Does bbPress use a database or flat files?
Always wrap PHP code inside script tags
<script language="PHP">echo phpversion()</script>
also remember to make the change explained here: https://bbpress.org/forums/topic/admin-can-paste-php-code-in-post?replies=28#post-71965
Can you please explain what do you mean about production environment?
A public site. The code isn’t tested at all.
Hi John,
I don’t know why after all these years that there is a refusal to put a clear and defining sentace saying that this isn’t part of the default bbPress package. It casues so much confusion for new users.
bbPress is a totally separate standalone forum, that can integrate user sessions (login/log-out) with WordPress. Nothing more. Its important to keep that in mind because it’ll save alot of thinking from a wordpress point of view.
That said, theming bbPress is quite simple as long as you know 1 thing: bbPress won’t run WordPress commands/functions/API calls.
Copy your default bbPress theme (the rather lacking Kakumei), rename it both in folder and in the template information held in the style.css file contained within.
You now have your own bbPress theme. Congrats.
The next step is simply to copy/paste the HTML you want to replicate from your WordPress theme into your bbPress theme. If you’re not doing any special processing, I strongly suggest copy/pasting the loaded/outputed HTML from when you load your WordPress homepage in a browser.
If you want to copy/paste from your header.php file in your WordPress theme, remember and take out all of those pesky WordPress functions, and replace them with bbPress equivalent or hardcoded information.
If you’ve ever made your own WordPress theme, you’ll find bbPress follows a very similar path/structure.
Good Luck
If you are converting, then you will need to design a matching theme. thats it.
And if you are willing to go some extra, you can try deep integration for that – http://blog.ashfame.com/2010/05/match-bbpress-wordpress-theme-deep-integration/