Search Results for '"wordpress'
-
AuthorSearch Results
-
March 10, 2008 at 1:47 am #63403
harryworld
MemberI am with you horrorshow.
I use WPMU a lot, but the support on plugins and documentation is far from enough. There seems no official support except the core of WPMU.
In the past few releases, donncha would merge the equivalent WPMU version after the single version was out for several days.
March 9, 2008 at 11:13 pm #63402horrorshow
Membersambauers,
Will there be a new release of WordPress MU as well?
I am not complaining, but I sometimes feel like WPMU is the ugly stepchild in that there is always extra hurdles to get things working with other software.
Don’t get me wrong, I love WPMU since it allows me to create a blog community and do some really cool things. keep up the good work!
March 9, 2008 at 1:48 pm #63401Sam Bauers
ParticipantIf you can wait a couple of days, WordPress/bbPress integration is a lot easier with a combination of WordPress version 2.5 and bbPress version 0.9
March 9, 2008 at 12:59 pm #63400harryworld
MemberBy the way, I didn’t install any plugin for integration on either side
March 9, 2008 at 12:57 pm #63399harryworld
Memberhorrorshow,
Thanks for the detailed instructions. After,
1. modifying the config.php as you stated above
2. modifying bb_cookie() by not sending the time to setcookie()
I am able to login and logout on either side, in any sequence.
One more thing that I have notified (even not serious, but worth mentioning), is that if
1. login on either side
2. logout on WPMU
3. visit bbPress, the first time will show up the user is still logged in
4. refresh the page, or visit any page, it shows the user NO LONGER logged in
I guess there may be some logic missing in bbPress for checking the existence of cookie and clear the session, on the first attempt.
March 9, 2008 at 12:27 pm #59103In reply to: WordPress/BBPress Single Sign On
harryworld
MemberSorry for misleading.
I mean I got a similar case as you do, thus case 2
and thanks for the link.
March 9, 2008 at 12:12 am #63479In reply to: Page titles not changing
chrishajer
ParticipantI know next to nothing about integration, but if you check the source for a forum page, you’ll see that all the header stuff is from WordPress not bbPress. I would guess it has something to do with the way the header is being included. Hopefully someone who knows how to do this will come along soon. But I think it’s safe to say the header is your WordPress header not your bbPress header.
March 8, 2008 at 7:21 pm #63477In reply to: Page titles not changing
chrishajer
ParticipantLooks like you’re using the WordPress header (blogheader) and WordPress would be looking for bloginfo(‘name’) and wp_title() where bbPress looks for bb_get_title() and uses whatever forum or topic you’re viewing. So, the bbPress data is not available to WordPress.
Just a guess. Not sure of the best way to fix it, but I would guess that’s what’s going on. The header is supplied by WordPress but the titles need to be supplied by bbPress functions.
March 8, 2008 at 7:26 am #63460In reply to: Integration = ? How to do it?
chrishajer
Participant1. Good. The easiest way is if the installations are like this:
http://chickspeak.com/ (which is actually WordPress)
http://chickspeak.com/bbpress/
(the bbPress installation is in a subfolder of your WordPress folder.)
2. Search this forum for integration or view topics tagged integration. Here’s a good one:
https://bbpress.org/forums/topic/seemless-wordpress-integration
3. Maybe bbSync https://bbpress.org/plugins/topic/bbsync/
March 8, 2008 at 6:13 am #2993Topic: Integration = ? How to do it?
in forum Installationironbound
Member1. I have a wordpress blog and a bbpress forum. Independent of eachother (different directories).
2. How do I integrate the two? By integrate I mean: Have bbpress be a page within the blog. (chickspeak.com style)
3. It would be cool to integrate the blog comments into forum posts too but lets just work and word this out one at a time.
Thank you in advance for clearing this up.
March 8, 2008 at 12:39 am #63409In reply to: WPMU Integrated Installation
Beau Lebens
ParticipantActually I’m not using any plugins for the integration process, as bbPress and MU seem to handle it reasonably well “out of the box”.
I’m running r1197 of WPMU and 0.8.3.1 of bbPress.
Here’s some of the things that are modified/running though:
config changes in bbPress:
$bb->wp_table_prefix = 'wp_';
$bb->wp_home = 'http://url.to.wordpress.install.com/';
$bb->wp_siteurl = 'http://url.to.wordpress.install.com/';
// Integrating with mu
$bb->cookiepath = '/';
$bb->cookiedomain = '.domainname.com'; // leading . allows subdomain sharing
$bb->usercookie = 'wordpressuser'; // WPMU doesn't hash cookies
$bb->passcookie = 'wordpresspass'; // WPMU doesn't hash cookies
// Load WordPress so we can use the same templates.
define('WP_BB', 'true');
require_once dirname(dirname(__FILE__)) . '/wp-blog-header.php';config changes for WPMU
// Adding custom settings to force cookies to be shared with/accessible to bbPress
define('USER_COOKIE', 'wordpressuser');
define('PASS_COOKIE', 'wordpresspass');
define('COOKIEPATH', $base);
define('SITECOOKIEPATH', '/');
define('COOKIE_DOMAIN', '.domainname.com'); // same as bbPressPlugins in bbPress
– A custom one I call “NoLogin” that just attempts to remove all reference that’s built into bbPress (and block actual attempts) at logging in via bbPress (rather than via MU)
– MD5 insecurity for bbPress by Sam Bauers
– A quick fix called “MainDomain” that redirects requests to a subdomain instance of the forums to the canonical version which is hosted from mybabyourbaby.com (rather than babyname.mybabyourbaby.com)
– A quick and dirty “FixKSES” which allows the left/center/justify/right paragraph buttons to work in TinyMCE, because I’m using that for post formatting.
– Display Names by Michael Adams et al to show the MU display_name, rather than the bbPress username
WPMU plugins/hacks
Because I load the WP engine in addition to the bbPress engine (not very performance-friendly, but makes life easier for sharing code etc), I have access to a lot of the functionality I rely on in the rest of the site – grabbing friendly usernames, user icons/avatars, links to profiles (which are handled completely outside bbPress and WP functionality), etc etc.
I use the TinyMCE editor bundled with WP in bbPress for posting, which is surprisingly easy to add – just load the JS file and add a class to the TEXTAREA. The only thing I haven’t fixed just yet on this is that if you edit an existing post with multiple paragraphs in it then TinyMCE seems to squash it all back down to one.
I also found that I had to add a quick function to stripslashes() onto the hooks “pre_post” and “pre_topic_title” to prevent annoying slashes appearing in them.
One last thing that I discovered was that because the WP engine is being loaded to display bbPress pages, but it doesn’t really “know about” those pages (they’re not internal WP pages), it technically triggers a 404, even though it displays just find. I explained this a bit here: https://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load including a way around it.
Templates
I’m actually using the same templates for bbPress as I am for MU. I accomplish this by symlinking those files directly from the place they normally live, into my-templates/mbob/header.php and footer.php, then make custom files for all the internal bits.
HTH someone
Beau
March 7, 2008 at 6:53 pm #59102In reply to: WordPress/BBPress Single Sign On
horrorshow
MemberFunny that my settings are screwy and there are better ways at accomplishing single sign on?
Or funny: “yes, this is the closest that I am able to get to single sign-on, and I get the same results”?
If it’s the first case, then please enlighten me.
If it’s the second case, then this link might help you.
https://bbpress.org/forums/topic/cookies-subtle-bug-single-sign-on-bbpress-and-wordpress
March 7, 2008 at 9:09 am #59101In reply to: WordPress/BBPress Single Sign On
harryworld
Memberhorrowshow,
I tried your settings, and it’s funny that if you login on either on side, you cannot log out on the other side.
If I login WPMU first, I can only logout through WPMU.
March 6, 2008 at 9:32 pm #63398horrorshow
Membernolageek,
In WPMU, did you put the bbpress-integration.php in the “mu-plugins” directory or the “plugins” directory?
I want only the site admin to be able to activate the “bbpress Integration” plugin, but it shows up for all users giving them an option to activate the plugin. That’s not good.
On the bbPress side, I found that the wordpress-integration is not necessary (I’ve asked about this, but no replies so far), and display name plugin requires some code changes to the BBPress code for it to work properly. It causes permission problems, and I had to dig around the forum where it shows you which code to change.. In retrospect, it probably wasn’t worth the trouble. (Gurus, please correct me if I am wrong, as I am new to BBpress)
If you want me to look for that thread again, let me know.
To get single sign-on working properly, you need to make code changes on the bbPress side to bb_cookie() and bb_logout() in pluggable.php along with the config changes I mentioned (which you’ve done already).
function bb_cookie( $name, $value, $expires = 0 ) {
if ( bb_get_option( 'cookiedomain' ) ){
setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ), bb_get_option( 'cookiedomain' ) );
}else{
setcookie( $name, $value, $expires, bb_get_option( 'cookiepath' ) );
}
}
function bb_login($login, $password) {
if ( $user = bb_check_login( $login, $password ) ) {
bb_cookie( bb_get_option( 'usercookie' ), $user->user_login );
bb_cookie( bb_get_option( 'passcookie' ), md5( $user->user_pass ) );
do_action('bb_user_login', (int) $user->ID );
}
return $user;
}I hope this helps, and please let me know how it works out.
March 6, 2008 at 6:53 pm #63397Nola1974
ParticipantI’m not able to get this working in WPMU/bbpress:
Using newest versions of both (fresh install 3 days ago)
Site: http://geekdc.com
bbpress: http://geekdc.com/forum
bbpress config.php :
$bb->wp_table_prefix = 'wp_'; // WordPress table prefix. Example: 'wp_';
$bb->wp_home = 'http://geekdc.com'; // WordPress - Options->General: Blog address (URL) // Example: 'http://example.com'
$bb->wp_siteurl = 'http://geekdc.com'; // WordPress - Options->General: WordPress address (URL) // Example: 'http://example.com'
//if ( isset( $bb->wp_table_prefix ) ){
$bb->usercookie = ‘wordpressuser’;
$bb->passcookie = ‘wordpresspass’;
$bb->cookiepath = '/';
$bb->cookiedomain = '.geekdc.com';
$bb->path='/forum/';
//}
/* Stop editing */Stock WPMU wp-config.php
Using the following plugins on WPMU:
bbpress-integration.php
https://downloads.wordpress.org/plugin/bbpress-integration.0.74.zip
Using the following plugins on bbpress:
wordpress-integration
https://bbpress.org/plugins/topic/wordpress-integration/
display name
https://bbpress.org/plugins/topic/display-name/
Is there anything else I need to do?
When I first log in to WPMU I get the following cookies:
geekdc.com wordpress_test_cookie (content:’ WP+Cookie+check’)
geekdc.com wordpressuser (content username)
geekdc.com wordpresspass (content: hash)
I go to the forum, and I’m not logged in.
I log into bbpress and I get two more cookies, exactly the same execept for the expiration dates. The WPMU expires at the end of session. The wordpress expires in one week. I do not get another wordpress_test_cookie.
March 6, 2008 at 1:35 pm #63422Craig
MemberThanks!
March 6, 2008 at 8:49 am #63292In reply to: Next/Prev page link to view older topics
howtogeek
MemberThat latest discussions plugin is for wordpress… I’ve been talking about the latest discussions view in bbpress that is part of the My Views plugin.
March 6, 2008 at 7:18 am #63291In reply to: Next/Prev page link to view older topics
itissue
MemberThanks. Would you need to have WordPress in order to use the Latest Discussions plugin? You have WordPress and bbPress integrated together, and the plugin’s page said that the plugin will generates Latest Discussion list from your bbpress forum into your WordPress. I’m not using WordPress on my forum.
March 6, 2008 at 3:50 am #63418howtogeek
MemberFor my site, I’m using the bbpress login as the site-wide login… so when I put a login link on the wordpress side of the site the user would be redirected to the forum every time after login… kinda annoying.
With this new knowledge I should be able to fix it so they are redirected back, even to a non-bbpress page.
March 5, 2008 at 5:43 pm #63421chrishajer
ParticipantHow about bbSync?
https://bbpress.org/forums/topic/bbsync?replies=214#post-7922
March 5, 2008 at 4:54 pm #2979Topic: WordPress “News” Intergrated w/ bbPress “News” Forum…
in forum TroubleshootingCraig
MemberHello,
I’m currently in developement of a gaming website over at http://www.hooligans-gaming.net
I’ll be using WordPress along with bbPress to bring out the site to it’s full beauty as soon as time grants it.
I wanted to know if there is a plugin out there or a way I can make it so when I post a news post on the front page that it will also post in a forum I will have created called “News & Updates” to serve as an archive of sorts.
The forum would be locked except for those posts.
Any ideas?
March 5, 2008 at 7:50 am #63408In reply to: WPMU Integrated Installation
horrorshow
MemberHi beaulebens,
I like your site!
Which version of wpmu and bbpress are you running? Which plugins are you using for the integration. (I had to modify some cookie setting code in bbpress to get the single signon working properly: https://bbpress.org/forums/topic/cookies-subtle-bug-single-sign-on-bbpress-and-wordpress)
BBsync doesn’t work with WPMU, btw.
What other things have you customized? Thanks for sharing!
March 5, 2008 at 5:42 am #2977Topic: WordPress Integration (0.7)
in forum Troubleshootinghorrorshow
MemberI am a bit confused about the wordpress and bbpress integration plugins.
Is WordPress Integration(0.7) plugin necessary? it was last updated a year ago, and I now have single signon between the two apps without the WordPress Integration plugin. Does it do something else that I am not aware of?
thanks
March 5, 2008 at 4:00 am #63396horrorshow
MemberI fixed the problem by making changes to the bb_cookie() and bb_logout() since wpmu and bbpress set cookies differently: (the expire times are different). If anyone wants to me to post the code, please let me know.
Also, I added the “cookiedomain” to the config.php
Here’s the full list relevant to the integration.
$bb->wp_table_prefix = 'wp_';
$bb->wp_home = 'http://achillesblog.com';
$bb->wp_siteurl = 'http://achillesblog.com';
$bb->usercookie = 'wordpressuser';
$bb->passcookie = 'wordpresspass';
$bb->cookiepath = '/';
$bb->cookiedomain = '.achillesblog.com';
$bb->path='/forum/';March 4, 2008 at 8:52 pm #63395_ck_
ParticipantBy the way, since the registration and login/out process in wordpress is a bit more advanced than bbPress, many people just change all the bbpress links for such actions to use the WordPress links. WordPress can even redirect back to the point of logout/login.
-
AuthorSearch Results