Search Results for 'bbpress'
-
AuthorSearch Results
-
June 15, 2009 at 6:21 pm #73591
In reply to: bbPress Integration plugin for WPMU
John James Jacoby
KeymasterITguy… How comfortable are you with phpMyAdmin? The NEXT thing to try, will be to look in your wp_usermeta table, and see if there are any “bb_” entries in there. Could be some corrupt capabilities in there that are causing headaches?
I’ll be around for a few more hours so if you’ve got time to go back and forth I’ll keep checking back periodically.
June 15, 2009 at 6:16 pm #73590In reply to: bbPress Integration plugin for WPMU
ITguy
Member@johnjamesjacoby, I have the same setup and problem as hempsworth. I have repeated the install process now 10 times, same error. I deleted the forum folder (bbpress) deleted the database tables and deleted the cookies. I even tried a different user name instead of ‘admin’, same error. And just for fun I also used a different browser, same error
June 15, 2009 at 6:02 pm #74570In reply to: Integrating WPMU trunk and bbPress RC2
John James Jacoby
KeymasterHere is what worked for me, on my WPMU sub-domain setup. (Sam, when you go through this, I understand that bbPress stores the salts in the DB and that they aren’t needed here, but for some reason I just feel better inside knowing I put them there the same as they are in wp-config.php
)
2:05pm eastern time – UPDATE: I have confirmed these settings work on both WPMU subdomain and subdirectory installs. All logins/logouts, cookie clears, posting, and admin panel access works 100%.
WordPress MU is installed on the domain root, bbPress is installed in a SUB-DIRECTORY called “support”
Terms
SUB-DIRECTORY = Name of directory that bbPress is installed in
HASH-FROM-FIREFOX = Cookie hash taken from pre-integrated login cookie
GENERATED = String generated by WordPress key/salt generatorbb-config.php
// DEEP INTEGRATION AT THE VERY TOP
// (Sam, I can see you shaking your head right now)
if ( !defined('ABSPATH') & !defined('XMLRPC_REQUEST') & !defined('BB_IS_ADMIN')) {
define('WP_USE_THEMES', false);
include_once( '/absolute/path/to/domain.com/wp-blog-header.php' );
//unset($wp_object_cache);
header("HTTP/1.1 200 OK");
header("Status: 200 All rosy") ;
}
// Typical database stuff - blah blah blah
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '/');
define('COOKIEHASH', 'HASH-FROM-FIREFOX' );
define('BB_AUTH_KEY', 'GENERATED');
define('BB_SECURE_AUTH_KEY', 'GENERATED');
define('BB_LOGGED_IN_KEY', 'GENERATED');
define('BB_NONCE_KEY', 'GENERATED');
define('BB_AUTH_SALT', 'GENERATED');
define('BB_LOGGED_IN_SALT', 'GENERATED');
define('BB_SECURE_AUTH_SALT', 'GENERATED');
$bb->bb_xmlrpc_allow_user_switching = true;
// WordPress database integration speedup
$bb->wp_table_prefix = 'wp_';
$bb->wordpress_mu_primary_blog_id = 1;
$bb->user_bbdb_name = '';
$bb->user_bbdb_user = '';
$bb->user_bbdb_password = '';
$bb->user_bbdb_host = '';
$bb->user_bbdb_charset = '';
$bb->user_bbdb_collate = '';
$bb->custom_user_table = '';
$bb->custom_user_meta_table = '';
// WordPress cookie integration speedup
$bb->wp_siteurl = 'http://domain.com'; // no trailing slash
$bb->wp_home = 'http://domain.com'; // no trailing slash
$bb->cookiedomain = '';
$bb->cookiepath = '/';
$bb->authcookie = 'wordpress_HASH-FROM-FIREFOX';
$bb->secure_auth_cookie = 'wordpress_sec_HASH-FROM-FIREFOX';
$bb->logged_in_cookie = 'wordpress_logged_in_HASH-FROM-FIREFOX';
$bb->admin_cookie_path = '/SUB-DIRECTORY/bb-admin';
$bb->core_plugins_cookie_path = '/SUB-DIRECTORY/bb-plugins';
$bb->user_plugins_cookie_path = '/SUB-DIRECTORY/my-plugins';
$bb->sitecookiepath = '';
$bb->wp_admin_cookie_path = '/wp-admin';
$bb->wp_plugins_cookie_path = '/wp-content/plugins';
define('WP_AUTH_COOKIE_VERSION', 1);wp-config.php
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '/');
define('COOKIEHASH', 'HASH-FROM-FIREFOX');
define('AUTH_KEY', 'GENERATED');
define('SECURE_AUTH_KEY', 'GENERATED');
define('LOGGED_IN_KEY', 'GENERATED');
define('NONCE_KEY', 'GENERATED');
define('AUTH_SALT', 'GENERATED');
define('LOGGED_IN_SALT', 'GENERATED');
define('SECURE_AUTH_SALT', 'GENERATED');June 15, 2009 at 5:37 pm #73589In reply to: bbPress Integration plugin for WPMU
John James Jacoby
Keymaster@hempsworth, I ran into this error myself, but eventually, it seemed to go away after uninstalling bbPress (delete files AND database tables starting with bb_), deleting cookies, and starting over.
See my post in the other WPMU integration topic and see if any of those settings help you?
June 15, 2009 at 5:35 pm #74500In reply to: after delete post not delete yet
johnhiler
MemberThere’s no way to do this for now, other than deleting directly from the db using phpMyAdmin.
There was a script posted here, but it appears to be only for v 1.0+, and it doesn’t look like it’s wrapped up in a plugin:
https://bbpress.org/forums/topic/permanently-deleting-topocs-and-posts
June 15, 2009 at 4:01 pm #74601In reply to: New Post Notification
johnhiler
MemberTry this plugin?
https://bbpress.org/plugins/topic/moderator-new-post-notification/
There are some tweaks to the code mentioned in the comments of that link… definitely check those out if you hit any issues.
June 15, 2009 at 3:36 pm #74293In reply to: Convert WP Super Cache plug-in for bbPress ?
Ipstenu (Mika Epstein)
ModeratorSam’s first point, about logged in users … With wp-super-cache, if you’re logged in, you don’t get cached pages. So on a forum, most folk are logged in, thus defeating the purpose.
Single topics pages can be cached untill a new response comes in.
That would be new and different, and IIRC not a part of bog-standard WP-Super-Cache, so that’s a pretty hefty write.
June 15, 2009 at 3:28 pm #54991In reply to: Translate into Simple Chinese.
_ck_
ParticipantChinese:
https://bbpress.org/forums/topic/localization-traditional-chinese-language-file
http://lonelyer.googlepages.com/bbpress_trandational_chinese_languag.zip
http://dupola.googlecode.com/files/bbPress_0.9.0.2_zh_CN.zip
Chinese (CN)
http://bbshowcase.org/forums/bb-includes/languages/zh_CN.mo
Chinese (HK)
June 15, 2009 at 2:31 pm #54990In reply to: Translate into Simple Chinese.
Sam Bauers
ParticipantPerhaps talk to the WordPress Chinese translation group… http://www.wpcng.com/
Raw POT files for each version are here… http://svn.automattic.com/bbpress-i18n/pot/tags/
June 15, 2009 at 2:30 pm #74369In reply to: Final release candidate 1.0-RC-2 is available.
the_Wish
MemberAssuming that this is the latest trunk at
http://svn.automattic.com/bbpress/trunk/
I actually tried both approaches (only changed that one file, not the entire installation though).
June 15, 2009 at 2:19 pm #14993Topic: New Post Notification
in forum Troubleshootingkbscoatings
ParticipantWe have a small support forum. I love bbpress.
What I need is a plugin that would notify me (via email) every time we receive a new post. We do not get that many new posts, so this would be ideal for us.
Does anyone have any ideas for me?
Thanks.
June 15, 2009 at 1:39 pm #74367In reply to: Final release candidate 1.0-RC-2 is available.
the_Wish
MemberThe “fix” won’t fix any text which is already malformed. Once you edit the text to repair it shouldn’t happen again.
Sorry to say but even new syntax with attributes like this
<a href="http://bbpress.org">This is a link</a>
is still converted to
<a href="//bbpress.org"">This is a link</a>
Same goes for Singlequotes.
June 15, 2009 at 1:37 pm #74431In reply to: Nginx Rewrite Rules for Pretty Permalinks
Sam Bauers
ParticipantThis will probably work:
rewrite ^/page/([0-9]+)/?$ /index.php?page=$1 last;
rewrite ^/forum/([^/]+)/page/([0-9]+)/?$ /forum.php?id=$1&page=$2 last;
rewrite ^/forum/([^/]+)/?$ /forum.php?id=$1 last;
rewrite ^/forum/?$ / permanent;
rewrite ^/topic/([^/]+)/page/([0-9]+)/?$ /topic.php?id=$1&page=$2 last;
rewrite ^/topic/([^/]+)/?$ /bbpress/topic.php?id=$1 last;
rewrite ^/topic/?$ / permanent;
rewrite ^/tags/([^/]+)/page/([0-9]+)/?$ /tags.php?tag=$1&page=$2 last;
rewrite ^/tags/([^/]+)/?$ /tags.php?tag=$1 last;
rewrite ^/tags/?$ /tags.php last;
rewrite ^/profile/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&page=$2 last;
rewrite ^/profile/([^/]+)/([^/]+)/?$ /profile.php?id=$1&tab=$2 last;
rewrite ^/profile/([^/]+)/([^/]+)/page/([0-9]+)/?$ /profile.php?id=$1&tab=$2&page=$3 last;
rewrite ^/profile/([^/]+)/?$ /profile.php?id=$1 last;
rewrite ^/profile/?$ /profile.php last;
rewrite ^/view/([^/]+)/page/([0-9]+)/?$ /view.php?view=$1&page=$2 last;
rewrite ^/view/([^/]+)/?$ /view.php?view=$1 last;
rewrite ^/rss/?$ /rss.php last;
rewrite ^/rss/topics/?$ /rss.php?topics=1 last;
rewrite ^/rss/forum/([^/]+)/?$ /rss.php?forum=$1 last;
rewrite ^/rss/forum/([^/]+)/topics/?$ /rss.php?forum=$1&topics=1 last;
rewrite ^/rss/topic/([^/]+)/?$ /rss.php?topic=$1 last;
rewrite ^/rss/tags/([^/]+)/?$ /rss.php?tag=$1 last;
rewrite ^/rss/tags/([^/]+)/topics/?$ /rss.php?tag=$1&topics=1 last;
rewrite ^/rss/profile/([^/]+)/?$ /rss.php?profile=$1 last;
rewrite ^/rss/view/([^/]+)/?$ /rss.php?view=$1 last;
if ( !-e $request_filename ) {
rewrite ^ /index.php last;
}June 15, 2009 at 1:21 pm #74366In reply to: Final release candidate 1.0-RC-2 is available.
Sam Bauers
ParticipantThe version is in a meta tag in the header as well as stated in the footer of the admin area.
bbPress doesn’t have granular per-forum permissions out-of-the-box. There are plugins that cover that though.
You might need to use the smtp mailer plugin to get emails working. Using that you can send email via an SMTP server instead of the default method which tries to send through PHP’s mail() function.
The “fix” won’t fix any text which is already malformed. Once you edit the text to repair it shouldn’t happen again.
0.9 Templates should still work with 1.0 – you will want to examine some of the new template functions that are in the default theme though.
June 15, 2009 at 10:25 am #74363In reply to: Final release candidate 1.0-RC-2 is available.
dthom
MemberI have a number of issues and questions. I’m new to bbpress and also trying to do an integration with 2.8, so I’m not sure what is a bug or what just may not work at all. I did the integration with WP and it allows me into the pages to post and into the admin. However it won’t let me post or change anything. No matter what I do, I get a box with a message “Your attempt to do this has failed”. Its not very useful it telling me why. It happily sends me back to the admin area, so it doesn’t seem to be the login. Is there some variable to debug permissions, as that seems to be a continuing issue with integration.
One question I have is how do I determine what version I have? I don’t see a version file.
I also don’t see a way of setting permissions for users or forums
Also, email isn’t working for registration. We run Postfix, could there be a problem? Is there a setting?
June 15, 2009 at 8:57 am #74292In reply to: Convert WP Super Cache plug-in for bbPress ?
Ashish Kumar (Ashfame)
ParticipantI didn’t get it. I actually understand that caching for a forum script is not a good idea but I didn’t get anything from your 1st point. Single topics pages can be cached untill a new response comes in. What say? As per me, that will actually help even having some overhead as there is a great difference between the topics answers and views.
June 15, 2009 at 8:55 am #74430In reply to: Nginx Rewrite Rules for Pretty Permalinks
Ashish Kumar (Ashfame)
ParticipantThere must be someone who is using bbPress on Nginx or maybe Sam can share!
June 15, 2009 at 8:29 am #74569In reply to: Integrating WPMU trunk and bbPress RC2
John James Jacoby
KeymasterThe first time through, the speedup didn’t give me $bb->cookiedomain, but after adding it manually I can get them to sync up so the domains are the same, but something is still off. I’m heading to bed now but will be back in a few hours to keep at it. Sam I’ll try your suggestion also.
June 15, 2009 at 8:08 am #74291In reply to: Convert WP Super Cache plug-in for bbPress ?
Sam Bauers
ParticipantOutput caching is probably totally unnecessary for 99.9% of bbPress installs.
There are a few reasons but primarily:
1. Most of the users on your site are probably logged in, and that means they can’t get cached versions.
2. bbPress is pretty light on MySQL queries.
At Automattic we have never had any need to run any caching besides MySQL query cache, and sometimes we don’t even use that. Although our hardware might be better than most, we also have more traffic than most too.
June 15, 2009 at 7:52 am #74593In reply to: HOW do i write a plugin
Sam Bauers
ParticipantGo into the bbPress directory in a terminal (Mac/Linux/Unix)
All filters:
grep -r -n apply_filterss*( . | grep -v .svn/ | grep -v @uses
All actions:
grep -r -n do_actions*( . | grep -v .svn/ | grep -v @uses && grep -r -n do_action_ref_arrays*( . | grep -v .svn/ | grep -v @uses
June 15, 2009 at 7:38 am #74290In reply to: Convert WP Super Cache plug-in for bbPress ?
johnhiler
MemberSuper Cache would help for slow-updating forums… but if you get a lot of traffic, I don’t think it’d really end up caching very much? Blogs don’t get nearly as many updates, so I could see it being a lot more helpful there…
Anyway to answer your question, I haven’t seen a guide on converting WordPress plugins to bbPress ones… that would be really useful!
June 15, 2009 at 7:35 am #74568In reply to: Integrating WPMU trunk and bbPress RC2
Sam Bauers
ParticipantTry fudging it by adding a subdomain to the WordPress URLs in the WordPress Integration section.
I’m going to look at WPMU integration now to see what else might be up there.
June 15, 2009 at 7:29 am #74097In reply to: PWRSHOT.com – Canon Powershot Users Community Forum
aberrantphoto
MemberHey,
I’m actually quite a few plugins. Simple Google Adsense, Members Online, User Photo for bbPress, Forum is category, bbPress Polls, BBVideo, and bbSocialize to name a few.
June 15, 2009 at 7:28 am #74289In reply to: Convert WP Super Cache plug-in for bbPress ?
Ramoonus
Memberhave you asked the maker of the plugin?
June 15, 2009 at 5:59 am #74592In reply to: HOW do i write a plugin
johnhiler
MemberYou can do a grep to get a list of hooks/actions:
https://bbpress.org/forums/topic/list-of-hooksactions#post-22602
We’re going to be documenting all of this more on the upcoming wiki soon… for now, grep is the only way to get this info that I know of.
-
AuthorSearch Results