[bbDev] (no subject)

Aaron Crayne aaron at paintbox.org
Fri Jan 27 14:26:50 GMT 2006


I dont know if this will solve the problem, but you might want to start here

"This line is wrong in the config...

$myhash = md5($bb->www.korff-design.com);

Should be...

$myhash = md5($bb->domain);"
as previously mentioned in
http://comox.textdrive.com/pipermail/bbdev/2005-December/000458.html


> When i log into the admin paga. I will be diriect forward to de forum
> index page.
> What is the problem?
>
> see:
> http://www.korff-design.com/huis/bbpress/bb-admin/
>
> This is my config.php file:
>
> What is the problem?
>
> <?php
> // ** MySQL settings ** //
> define('BBDB_NAME', 'blog51');     // The name of the database
> define('BBDB_USER', 'xxxxxxxx');     // Your MySQL username
> define('BBDB_PASSWORD', 'xxxxx'); // ...and password
> define('BBDB_HOST', 'localhost');     // 99% chance you won't need to
> change this value
>
> // Change the prefix if you want to have multiple forums in a single
> database.
> $bb_table_prefix  = 'bb_';
>
> $bb->domain = 'http://www.korff-design.com';	// There should be no
> trailing slash here.
> $bb->path   = '/huis/bbpress/';			// There should be both a leading and
> trailing slash here. '/' is
> fine.
> $bb->name   = 'Theo van Doesburgstraat - forum';
>
> $bb->admin_email = 'joost at korff-design.com';
> $bb->mod_rewrite = false;
> $bb->page_topics = 30;
>
> // Number of minutes after posting a user can edit their post
> $bb->edit_lock = 20;
>
> $bb->gmt_offset = 0;
>
>
> if(file_exists("../wp/wp-settings.php"))
> {
> 	// loads the functions and wp config
> 	require_once "../wp/wp-config.php";
> 	require_once "../wp/wp-settings.php";
> 	// use the WP user table for your bbpress user list
> 	define('CUSTOM_USER_TABLE', 'wp_users');
>
> 	// your $bb->domain must match your wp domain exactly or the hash won't
> work and users will not
> authenticate.
> 	$myhash = md5($bb->domain);
> 	$bb->usercookie = 'wordpressuser_' . $myhash;
> 	$bb->passcookie = 'wordpresspass_' . $myhash;
>
> 	// Use the same cookie as WP
> 	$bb->cookiepath = '/';
> }
> /**************************
>  *  End WP integration
>  **************************/
>
> define('BBPATH', dirname(__FILE__) . '/' );
>
>
> require_once( BBPATH . 'bb-settings.php' );
>
>
> ?>
>
>
> _______________________________________________
> bbDev mailing list
> bbDev at lists.bbpress.org
> http://lists.bbpress.org/mailman/listinfo/bbdev
>



More information about the bbDev mailing list