I seem to be having trouble logging in at all in bbpress. I integrated it successfully with WordPress, but I can’t login with my wordpress user name and password. I figured, something must be up, so I registered a new account in bbpress to try it out – password was mailed and everything – and when I went to login, still nothing. The page refreshes but goes nowhere and doesn’t say I’m logged in. Seems like a mod rewrite issue, but I can’t figure out what it is. During the initial install I set the config to clean urls, then used an .htaccess like the following:
# BEGIN BBPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /location_of_install/
Options +MultiViews
</IfModule>
# END BBPress
After doing so I kept getting 404’s when clicking on topics, etc (only to find out later I needed to fix my url at the beginning of config). Now everything is working except logins. Any ideas?
This is what I am using
# BEGIN BBPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /location_of_install/
Options +MultiViews
</IfModule>
# END BBPress
Ahhhh so it actually requires quote marks. Well I am no php person so I did not realise that. Thanks, Jeremy
arghhhh! I had actually already posted here (well I thought I had) to say I needed new specs because I had not noticed that I had uploaded the altered style.css to the admin directory (god knows why, I must have looked in there for something and forgotten to select the templates dir afterwards.).
anyway, all is well now.
Thanks for your reply
This is due to a PHP syntax error. My Akismet line looks like this:
$bb->akismet_key = "12345678";
(key censored)
The path is for the URL.
So if forums.example.com
is public_html/forums/
on your server, you still just want /
to be your path because when you load it in a browser it’s: http://forums.example.com/
.
I just had a chat with Patrick on Live Messenger, the guy that runs phpBBhacks.com , and he said, you’ll mostly have to work directly with the database.
Or atleast that’s how he does it, he said. Also, I’m not sure if this would, or could possibly help in any way, but.. they wrote up this article: “Write a converter with the Unified Convertor System.”
Of course, like anyone would do, they made it up for the people to convert from their current forum software, to their’s, but, wasn’t sure if maybe you devs could use it to benefit yourselves or not?
Just wanted to throw this out onto the table for ya’ll.. I think it’s great that bbPress made a official release finally.. and *hopefully* soon, I’ll get to making themes for it.
spencerp
/Sidenote quick: I had dealt with phpBB before, for a few good years, installed it for peoples, for money, and shot out a few themes too. Submitted them to the phpBBhacks.com site, and had patrick in the MSN mess list for a few years..
What is the url you’re tring to install it to?
http://subdomain.domain.com/forums/
?
If that’s the case, you need to install bbPress in the directory on your server that that url points to. You config should then look like:
$bb->domain = 'http://subdomain.domain.com';
$bb->path = '/forums/';
Can you please send me the po file:
selad at optiwater dot com
thanks
SteveAgl,
What exactly did you enter in the config file?
If you do get it to work please post here how.
Thanks
I generated a it_IT.mo files with few strings translated (mostly from the templates) and tried to set define (‘WPLANG’, ‘it_IT’); in config file using BBLANG and WPLANG that seem used in the code, but the strings wont’ get translated… why?
Just one more quick one: how many strings are still hard coded into bbPress?
Plugins? Awesome, now I really, really want to get using this.
If you define('WP_BB', true);
, you still have to call the WordPress script yourself.
put require_once('../wp-config.php');
(or whatever the right path is) in bbPress’ config.php.
klasen,
Users with spaces:
You way be able to get away with creating a plugin that overrides bb_check_login
and bb_set_current_user
with your own functions of the same name. If not, you’ll probablp have to edit the user_sanitize
function. That function should probably be made pluggable.
I’ll try to get more details about this soon.
Fatal Error:
I assume you are talking about defining the constant WP_BB
. All this does is tell bbPress not to load certain functions. It does not include the wp-config file for you (haw would it know where to look?). You need to do that yourself. I’d suggest require_once('../wp-config.php');
(or where ever it is) in bbPress’ config.php
file.
mod_rewrite:
bbPress can generate a sample .htaccess file for you if you log in and browse to bb-admin/rewrite-rules.php. Copy the output and save it into your .htaccess file. Alternatively, you might be able to forgo the rewrite rules and instead set Options +MultiViews
Awesome! Now, I’ll start working on making awesome themes for bbpress..
spencerp
So awesome to finally see this up.