Search Results for '\"wordpress\'
-
AuthorSearch Results
-
June 12, 2009 at 6:30 pm #74478
In reply to: Intergration problem, when upgrading wordpress 2.8
Vizworld
MemberOk.. I’m not 100% on this, but it seems the cookie hashing algorithm changed in WP2.8 .
In WP2.7, in wp-includes/pluggable.php (line 512)
if ( $expired < time() ) {
do_action('auth_cookie_expired', $cookie_elements);
return false;
}
$key = wp_hash($username . ‘|’ . $expiration, $scheme);
$hash = hash_hmac(‘md5’, $username . ‘|’ . $expiration, $key);
and in 2.8:
// Quick check to see if an honest cookie has expired
if ( $expired < time() ) {
do_action('auth_cookie_expired', $cookie_elements);
return false;
}
$user = get_userdatabylogin($username);
if ( ! $user ) {
do_action(‘auth_cookie_bad_username’, $cookie_elements);
return false;
}
$pass_frag = substr($user->user_pass, 8, 4);
$key = wp_hash($username . $pass_frag . ‘|’ . $expiration, $scheme);
$hash = hash_hmac(‘md5’, $username . ‘|’ . $expiration, $key);
So, in 2.8 the hash is salted with 4 character’s of the USer’s password. The “freshly_baked_cookies” plugin hasn’t been upgraded to match this change, so it always fails to match the hashed cookies.
Unfortunateyl,the
get_userdatabyloginfunction doesn’t seem to exist in bbpress…..June 12, 2009 at 5:33 pm #74477In reply to: Intergration problem, when upgrading wordpress 2.8
Vizworld
MemberI’m seeing something Similar on VizWorld.com. AFter upgrading WordPress to 2.8, I’m not unable to login to the Forums (www.vizworld.com/forum). I’m also using the “freshly baked cookies” 0.3.
Upgrading to BBPress .9.0.5 hasn’t helped…
June 12, 2009 at 5:31 pm #74476In reply to: Intergration problem, when upgrading wordpress 2.8
venividi
ParticipantNice job, Markus.
So …
Is there a solution?
June 12, 2009 at 5:15 pm #74475In reply to: Intergration problem, when upgrading wordpress 2.8
Anonymous User
InactiveWe have the same problem today with the FBC-Plugin.
I seems to be a “hot” topic – and that’s probably the reason why we search for the last 2 hours for a solution.
*selfironic*Here the cookie-names and paths – they are identical. So the error eventually is not in seeting the cookies, but in reading of the cookies. !?
After Login in WordPress
wordpress_logged_in_672b8ff18484c1d9d7de0f05d907543d – Path: /wp/
wordpress_logged_in_672b8ff18484c1d9d7de0f05d907543d – Path: /
wordpress_672b8ff18484c1d9d7de0f05d907543d – Path: /wp/wp-content/plugins
wordpress_672b8ff18484c1d9d7de0f05d907543d – Path: /wp/wp-admin
After Login in BBpress
wordpress_logged_in_672b8ff18484c1d9d7de0f05d907543d – Path: /wp/
wordpress_logged_in_672b8ff18484c1d9d7de0f05d907543d – Path: /
wordpress_672b8ff18484c1d9d7de0f05d907543d – Path: /
wordpress_672b8ff18484c1d9d7de0f05d907543d – Path: /wp-admin
wordpress_672b8ff18484c1d9d7de0f05d907543d – Path: /wp/wp-admin
wordpress_672b8ff18484c1d9d7de0f05d907543d – Path: /wp/wp-content/plugins
Path of Installation:
http://www.mysteria30000.de/wp -> WordPress
http://www.mysteria3000.de/forum –> bbPress
Greetings
Markus
June 12, 2009 at 5:13 pm #74474In reply to: Intergration problem, when upgrading wordpress 2.8
venividi
ParticipantMy bbpress .9.0.5 and wordpress 2.7.1 worked perfectly until upgrade of wordpress 2.8
1. upgrade of bbpress .9.0.5 – 1 hour after the posting. ( a week ago? )
2. upgrade of wordpress 2.8 – 2 hours ago.
3. the break of cookie – right after the upgrade of wordpress
June 12, 2009 at 4:57 pm #74473In reply to: Intergration problem, when upgrading wordpress 2.8
johnhiler
MemberWhen did the cookie integration break – when you upgraded bbPress to .9.0.5, or when you upgraded WordPress to 2.8?
Also – what was the last working set of versions that was fully integrated (bb 9.0.4 and wp 2.7?).
June 12, 2009 at 4:54 pm #74400In reply to: bbPress overwriting a DB value
Ashish Kumar (Ashfame)
ParticipantI have already integrated bbPress 0.9.0.5 with WordPress 2.7.1 by using the same instructions but not it seems that its not working. Why the hell bbPress is overwriting the value in the db? Should I file a bug?
June 12, 2009 at 4:43 pm #74472In reply to: Intergration problem, when upgrading wordpress 2.8
venividi
ParticipantThanks for the fast reply.
I’m using ck’s and johnmc’s ‘Freshly Baked Cookies for bbPress’.
June 12, 2009 at 4:36 pm #74471In reply to: Intergration problem, when upgrading wordpress 2.8
johnhiler
MemberbbPress v. 0.9.x doesn’t naturally integrate with WordPress 2.8. Are you using ck’s or superann’s cookie plugins to enable integration?
June 12, 2009 at 4:16 pm #14966Topic: Intergration problem, when upgrading wordpress 2.8
in forum Troubleshootingvenividi
ParticipantHaving upgraded wordpress to v.2.8, I found intergration problem.
Log in bbpress, automatic log out from wordpress,
log in wordpress, automatic log out from bbpress.
my bbpress v. 0.9.0.5
What’s the cause of such a problem.
I’ll be greatly appreciated if any one solve the problem.
Thanks.
June 12, 2009 at 4:08 pm #74225In reply to: Jumpstarting the bbPress Codex
omikami08
MemberIs there one that shows a list of compatible/working plugins for the different versions? WordPress has something like that:
https://codex.wordpress.org/Themes/Theme_Compatibility/2.7
https://codex.wordpress.org/Plugins/Plugin_Compatibility/2.7
I’m asking because if it’s not there it might be a good addition.
June 12, 2009 at 1:54 pm #14946Topic: Convert WP Super Cache plug-in for bbPress ?
in forum Installationfrooyo
MemberDoes anyone have links or documents on how I can convert WordPress’ Super Cache plugin for use with bbPress?
Or, has it already been done?
June 12, 2009 at 1:28 pm #74397In reply to: bbPress overwriting a DB value
Ipstenu (Mika Epstein)
ModeratorTo achieve integration between 0.9.05 & WordPress 2.7.1, I overwrite the bb_capabilities in wp_usermeta for my user by sql query as I don’t have phpmyadmin and I am using custom table prefixes.
I’m at a loss why you would have to do that anyway… I’ve never heard of anyone having to go in via SQL and making those changes except in the case of ‘reverse’ integration (where by you started with bbPress and are now adding on a WP site). In theory, if you’re starting with everything brand new, you just do WP first and then bb and it should work.
Looking at your doc, you also mention changing the
wp_prefix torocking_which is totally fine, but later on you have this:Add these two lines in bb-config.php
$bb->custom_user_table = 'wp_users';
$bb->custom_user_meta_table = 'wp_usermeta';Those too should be
rocking_usersandrocking_metadataJune 12, 2009 at 12:13 pm #74268mparker12345
MemberWhen I log in through my wordpress site, I can’t delete topics or posts. I also cannot access the bb-admin page, I just get redirected to the forum page of my site.
When I am logged out, and type in the url for the bb-admin page, and log in directly, I can access it. I can also delete posts and topics.
So logging in through the forum directly – everything is fine. But logging into the site and then navigating to the forum – I get these problems.
People won’t be able to access the forum unless they’re logged in on the finished site, so it is really important that logging in through the site and accessing the forum allows everything to work properly.
I have no idea what could be going on.
June 12, 2009 at 11:59 am #74267Ashish Kumar (Ashfame)
ParticipantAre you having the problem just when you login from bbPress? What is your problem exactly? Not being able to delete topics & posts when you login from bbPress? Can you do that when you login from WordPress?
June 12, 2009 at 11:42 am #74266mparker12345
Memberbbpress – “Version 1.0-rc-1”
Wordpress – just a link to upgrade to version 2.8, it was set up about 4 weeks ago, so I’m guessing 2.7?
June 12, 2009 at 2:20 am #64934In reply to: Make BBPress a Page in WordPress???
Joseph
Membermartenk, thanks so much. That plugin was what I was looking for. AMAZINGLY easy!
Here it is again for anyone that just wants to be able to create a page in the admin that links to the blog without editing the core files (which wouldn’t be fun to think about when you update).
June 12, 2009 at 2:03 am #64933In reply to: Make BBPress a Page in WordPress???
amistad
MemberHi, I would like to display forum on wordpress page, and i used a gerink post, but when i put that code:
$bb->WP_BB = true;
if (file_exists(‘../wp-blog-header.php’))
require_once(‘../wp-blog-header.php’);
else
if (file_exists(‘../../wp-blog-header.php’))
require_once(‘../../wp-blog-header.php’);
In to the top of my bb-config.php file, i just can not login in to the bbpress. I try to create new account, but effect is the same. When I click “Log in >>” , the site is only refresh, and I still can only log in.
I have wp 2.8 and bbpress 0.9.0.5.
June 12, 2009 at 12:47 am #64932In reply to: Make BBPress a Page in WordPress???
admesser
MemberI used the Pages Links To plugin and it works perfectly for my needs
I am going to give my forums a different feel from the website. Thanks!
June 11, 2009 at 8:33 pm #14958Topic: Nginx Rewrite Rules for Pretty Permalinks
in forum TroubleshootingAshish Kumar (Ashfame)
ParticipantOn Nginx, I am using this for WordPress
# WordPress pretty URLs: (as per dominiek.com)
if (-f $request_filename) {
break;
}
if (-d $request_filename) {
break;
}
rewrite ^(.+)$ /index.php?q=$1 last;
# Enable nice permalinks for WordPress: (as per Yawn.it)
error_page 404 = //index.php?q=$uri;and I want something similar for bbPress. Please share the solution!
June 11, 2009 at 6:57 pm #74348In reply to: Final release candidate 1.0-RC-2 is available.
Tynan Beatty
MemberSam, I’ve tried about 50 different changes and no matter what I do with the config files, the Integration plugin settings, or the bbPress WordPress Integration settings, nothing seems to change the fact that I cannot logout from WordPress if I have logged in from bbPress (that means I cannot logout period, I click logout there and can still go into either of the admins because the cookies are not removed). Everything else works fine. I could always redirect all my bbP login forms to wp-login.php I suppose, but it seems like that should be unnecessary. Could it be because my wordpress is in a subfolder of my site like /public_html/yawp/ ?
It seems when I login from bbP I get 2 wordpress_logged_in_* cookies, with identical values except that the ‘Path:’ of one is ‘/yawp/’ and the ‘Path:’ of the other is ‘/yawp’. When I login from WP I only get 1 wordpress_logged_in_* cookie, and it has a ‘Path:’ of ‘/yawp/’. I feel like this might be part of the problem.
I figured the integration speedup line
$bb->sitecookiepath = '/yawp';in bb-config.php might be to blame and added only that line, but changed it to$bb->sitecookiepath = '/yawp/';, cleared cache, deleted cookies, but still I get both logged_in cookies when logging in from bbP. That’s among trying a bunch of other different config changes to get that wp_login_* cookie unified.Since you said in the RC-1 thread that I should be able to have this work if I just play with the cookie paths, have you any suggestions?
June 11, 2009 at 1:03 pm #67815In reply to: Using bbpress forum content within a wordpress page
pbarry4
MemberThanks chrishajer, essentially I want to merge bbpress into my existing WP theme (same header & footer). Ideally the bbpress would be embedded into a wp page.
I’ve since found an article which achieves what I’m looking to do. http://www.adityanaik.com/integratepress-part-i/
I’ll also search this forum for updated threads on the topic.
Cheers.
June 11, 2009 at 12:51 pm #67814In reply to: Using bbpress forum content within a wordpress page
chrishajer
Participantpbarry4 – please post what you’re looking to do exactly. Since this post was made other posts have been made that explain how to do this as well.
June 11, 2009 at 12:45 pm #67813In reply to: Using bbpress forum content within a wordpress page
June 11, 2009 at 12:44 pm #68278In reply to: Forum could not be created!
chrishajer
ParticipantNo the prefixes should NOT be the same for integration. Use a different table prefix for bbPress tables, and when it comes to integration, the installer asks for your WordPress table prefix so it can use those tables for user data only.
Start a new topic for your new problem please.
-
AuthorSearch Results