Search Results for 'code'
-
Search Results
-
I have Theme Switcher plugin installed, and recently installed the new bbPM plugin. Each plugin works fine, until they had to play together… I switched a theme on the PM page and it looked as though Theme Switcher was imposing pretty permalinks, causing bbPM to break.
What the heck, I thought, I’ll try pretty permalinks. I changed my settings, added the .htaccess file and all hell broke loose. The number of posts per page in a topic changed, and it was impossible to navigate multi-page threads (in a forum like mine, where friends hang out and chat, this is a big problem). For example, the thread correctly displayed 27 pages (30 posts per page), but when you went to page 10-27, no posts appeared. Turns out they were all grouped in the first 10 pages with tons of posts per page.
I switched back to regular permalinks, deleted my .htaccess file, but the problem persisted. I tried Recounting everything, and got this error for every recount:
Database error: [Query was empty]
Caller: [unavailable]I finally turned off _ck_’s “Change Number of Front Page Topics” plugin (which I don’t think is an official plugin), and finally everything went back to normal. But I still can’t recount, and I still can’t use “Change Number of Front Page Topics” which I’ve been using without a problem for at least a year.
Any ideas where to start troubleshooting this one?
I’m running RC1 on Media Temple’s Grid Service. Recently switched over to Media Temple after using Dream Host for about a year.
Hi all,
Just wondering if anyone has a shared login working with bbPress RC1 & WordPress 2.8 beta?
I have WordPress installed at root level and bbPress in a sub directory using the WordPress users table.
When setting up bbPress I went through all the integration settings.
Now users can log in at either end no problem, it’s just that they are not logged in on the other end when visiting the forum/wordpress.
I then regenerated the keys using http://api.wordpress.org/secret-key/1.1/ and placed these in both config files with the required BB_ bit for the bbPress config.
I added the following to my bbPress config:
$bb->wp_siteurl = 'http://site.com/';
// that's your WordPress URL, not bbPress
$bb->wp_home = 'http://site.com/';
// almost always the same as siteurl unless you tinker
$bb->wp_table_prefix = 'wp_';
// should almost always be wp_ unless you tinkered
$bb->user_bbdb_name = 'xxxx';
// this is the MYSQL database name for *WordPress*
// you can copy it right out of WordPress !
$bb->user_bbdb_user = 'xxxx';
// this is the MYSQL user name for *WordPress*
// you can copy it right out of WordPress !
$bb->user_bbdb_password = 'xxxx';
// this is the MYSQL password for *WordPress*
// you can copy it right out of WordPress !
$bb->user_bbdb_host = 'localhost';
// 99.9% of the time it's going to be localhost, unless you are on DreamHost or some other weird ISP
$bb->custom_user_table = 'wp_users';
// 99.9% of the time it's going to be wp_users
$bb->custom_user_meta_table = 'wp_usermeta';
// 99.9% of the time it's going to be wp_usermeta
$bb->authcookie = 'auth code i set with wp plugin';
// in theory you should be able to leave this out
// but this is going to be copied from WordPress cookie
// this *must* match the WordPress setting
// do NOT use the 1234567 part, use your own cookiehash from WordPress - see the note at the very bottom
$bb->cookiedomain = '.site.com';
// note the leading DOT - this is important
// this *must* match the WordPress setting
$bb->cookiepath = '/';
// I *highly* recommend you set the cookie path to /
// this *must* match the WordPress setting
$bb->sitecookiepath = '/';
// I *highly* recommend you set the cookie path to /
// this *must* match the WordPress setting
$wp->cookiedomain = '.site.com';
define(COOKIE_DOMAIN,'.site.com');
// note the leading DOT - this is important
// we list both for WordPress legacy compatibility
$wp->cookiepath = '/';
$wp->sitecookiepath = '/';
define('COOKIEPATH', '/' );
define('SITECOOKIEPATH', '/');
// I *highly* recommend you set the cookie path to /Now when I log in at the bbPress side, a wordpress_logged_in_xxxxx cookie is created but then when I visit the wordpress end, I am not logged in.
When I do then log in on the WP end, it creates another wordpress_logged_in_xxxxx cookie, the cookie names are both the exact same but their values are different.
Anybody got any tips on how to fix this?