<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Showcase: Forum: WordPress Integration - Recent Posts</title>
<link>http://bbshowcase.org/forums/</link>
<description>bbPress Showcase: Forum: WordPress Integration - Recent Posts</description>
<language>en</language>
<pubDate>Fri, 05 Dec 2008 09:42:19 +0000</pubDate>

<item>
<title>_ck_ on "Cookies integration with my app"</title>
<link>http://bbshowcase.org/forums/topic/cookies-integration-with-my-app#post-813</link>
<pubDate>Sat, 22 Nov 2008 13:31:13 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">813@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Don't use curl unless it's not on the same server. That's a ton of overhead.&#60;/p&#62;
&#60;p&#62;You should do what I showed above, including bb-load in your external script, which will authenticate the user and set the cookies.
&#60;/p&#62;</description>
</item>
<item>
<title>insightdesigns on "Cookies integration with my app"</title>
<link>http://bbshowcase.org/forums/topic/cookies-integration-with-my-app#post-812</link>
<pubDate>Fri, 21 Nov 2008 19:12:01 +0000</pubDate>
<dc:creator>insightdesigns</dc:creator>
<guid isPermaLink="false">812@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;I'm trying to do the same thing, but I'm using CURL to simulate a POST operation to bb-login.php, capturing the header and setting the cookie manually using the values returned in the &#34;Set-Cookie&#34; portion of the header.  The script is in the same directory of the same domain, but I'm still not logged in after running the script and attempting to access bbPress.  Shouldn't this work - or am I missing something else?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Cookies integration with my app"</title>
<link>http://bbshowcase.org/forums/topic/cookies-integration-with-my-app#post-748</link>
<pubDate>Wed, 15 Oct 2008 07:11:14 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">748@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;You can't externally create the cookie, bbPress or WordPress has to create it because of the secret keys. There is also one in the database table you don't typically have access to.&#60;/p&#62;
&#60;p&#62;What you can do however is simple load the bbpress core into your app to create the cookie, you don't even need to keep loading it, only the first time you see the visitor without the cookie.&#60;/p&#62;
&#60;p&#62;Simply do this to load the bbPress code into your other php app:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;require(&#38;#39;/path-to-bbpress/bb-load.php&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>tikitakfire on "Cookies integration with my app"</title>
<link>http://bbshowcase.org/forums/topic/cookies-integration-with-my-app#post-745</link>
<pubDate>Wed, 15 Oct 2008 05:40:20 +0000</pubDate>
<dc:creator>tikitakfire</dc:creator>
<guid isPermaLink="false">745@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;well ... Now I know how to form the cookie but, when I make it, in WP and BBpress I'm not identified and can't login in bbpress.&#60;/p&#62;
&#60;p&#62;This is my directory structure:&#60;br /&#62;
&#60;code&#62;my-app/&#60;br /&#62;
      + bbpress/&#60;br /&#62;
      + wordpress/&#60;br /&#62;
      &#124;-my.php&#60;br /&#62;
      &#124;-app.php&#60;br /&#62;
      &#124;-files.php&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;My WordPress cookie integration speedup in bb-config.php&#60;br /&#62;
&#60;code&#62;$bb-&#38;gt;wp_siteurl = 'http://localhost/jb/v2.0.1/blog';&#60;br /&#62;
$bb-&#38;gt;wp_home = 'http://localhost/jb/v2.0.1/blog';&#60;br /&#62;
$bb-&#38;gt;cookiedomain = '';&#60;br /&#62;
$bb-&#38;gt;cookiepath = '/jb/v2.0.1';&#60;br /&#62;
$bb-&#38;gt;authcookie = 'wordpress_0c075535129bcbe9d6bcd335b9244e75';&#60;br /&#62;
$bb-&#38;gt;secure_auth_cookie = 'wordpress_sec_0c075535129bcbe9d6bcd335b9244e75';&#60;br /&#62;
$bb-&#38;gt;logged_in_cookie = 'wordpress_logged_in_0c075535129bcbe9d6bcd335b9244e75';&#60;br /&#62;
$bb-&#38;gt;admin_cookie_path = '/jb/v2.0.1/foro/bb-admin';&#60;br /&#62;
$bb-&#38;gt;core_plugins_cookie_path = '/jb/v2.0.1/foro/bb-plugins';&#60;br /&#62;
$bb-&#38;gt;user_plugins_cookie_path = '/jb/v2.0.1/foro/my-plugins';&#60;br /&#62;
$bb-&#38;gt;sitecookiepath = '/jb/v2.0.1/blog';&#60;br /&#62;
$bb-&#38;gt;wp_admin_cookie_path = '/jb/v2.0.1/blog/wp-admin';&#60;br /&#62;
$bb-&#38;gt;wp_plugins_cookie_path = '/jb/v2.0.1/blog/wp-content/plugins';&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and the coockie:&#60;br /&#62;
&#60;code&#62;$expiration = time() + 172800;&#60;br /&#62;
$expire = 0;&#60;br /&#62;
$cookie = generate_auth_cookie($expiration);&#60;br /&#62;
$domain = (empty($bb-&#38;gt;cookiedomain)) ? $bb-&#38;gt;cookiedomain : $bb-&#38;gt;cookiedomain . '; HttpOnly';&#60;br /&#62;
setcookie($bb-&#38;gt;logged_in_cookie, $cookie, $expire, $bb-&#38;gt;cookiepath, $bb-&#38;gt;cookiedomain, $secure);&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Cookies integration with my app"</title>
<link>http://bbshowcase.org/forums/topic/cookies-integration-with-my-app#post-744</link>
<pubDate>Wed, 15 Oct 2008 03:18:55 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">744@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Oh you are trying to decode the cookie?&#60;/p&#62;
&#60;p&#62;You can find the cookie functions in pluggable.php
&#60;/p&#62;</description>
</item>
<item>
<title>tikitakfire on "Cookies integration with my app"</title>
<link>http://bbshowcase.org/forums/topic/cookies-integration-with-my-app#post-743</link>
<pubDate>Wed, 15 Oct 2008 03:00:23 +0000</pubDate>
<dc:creator>tikitakfire</dc:creator>
<guid isPermaLink="false">743@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Hi everybody!&#60;/p&#62;
&#60;p&#62;I'm trying to integrate the WP and BBpress login with my application but I can so... can give me a hint to make cookie for my app, WP and BBpress?&#60;/p&#62;
&#60;p&#62;I see that after login get this:&#60;br /&#62;
&#60;code&#62;Array (&#60;br /&#62;
    [wordpress_logged_in_0c075535129bcbe9d6bcd335b9244e75] =&#38;gt; admin&#124;1224226518&#124;9f96fe2267ca2fdc80d5193cb624ee3c&#60;br /&#62;
)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;but, what are the data 0c075535129bcbe9d6bcd335b9244e75, 1224226518 and 9f96fe2267ca2fdc80d5193cb624ee3c
&#60;/p&#62;</description>
</item>
<item>
<title>feliao on "Better bbPress + WordPress integration"</title>
<link>http://bbshowcase.org/forums/topic/better-bbpress-wordpress-integration-the-missing-faq/page/2#post-618</link>
<pubDate>Fri, 22 Aug 2008 01:08:56 +0000</pubDate>
<dc:creator>feliao</dc:creator>
<guid isPermaLink="false">618@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;Nice Website.
&#60;/p&#62;</description>
</item>
<item>
<title>gracie20 on "Better bbPress + WordPress integration"</title>
<link>http://bbshowcase.org/forums/topic/better-bbpress-wordpress-integration-the-missing-faq/page/2#post-615</link>
<pubDate>Wed, 20 Aug 2008 04:59:11 +0000</pubDate>
<dc:creator>gracie20</dc:creator>
<guid isPermaLink="false">615@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;I don't have anyidea about bbPress. Can anyone tell me the features of bbPress.&#60;/p&#62;
&#60;p&#62;Gracie Sh
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Better bbPress + WordPress integration"</title>
<link>http://bbshowcase.org/forums/topic/better-bbpress-wordpress-integration-the-missing-faq/page/2#post-601</link>
<pubDate>Mon, 11 Aug 2008 11:28:49 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">601@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;The alpha just came out, literally this past weekend.&#60;br /&#62;
But it gets better everyday and they seem to be actively working on it this month.&#60;/p&#62;
&#60;p&#62;If you know how to use SVN and can install it, that's the best way to keep up with changes/fixes since you can just sync to the trunk daily or weekly.
&#60;/p&#62;</description>
</item>
<item>
<title>Commerce on "Better bbPress + WordPress integration"</title>
<link>http://bbshowcase.org/forums/topic/better-bbpress-wordpress-integration-the-missing-faq/page/2#post-600</link>
<pubDate>Mon, 11 Aug 2008 11:25:46 +0000</pubDate>
<dc:creator>Commerce</dc:creator>
<guid isPermaLink="false">600@http://bbshowcase.org/forums/</guid>
<description>&#60;p&#62;_ck_&#60;/p&#62;
&#60;p&#62;I really appreciate the quick response.  I'm still very new to bbPress, so going alpha is not going to be an immediate issue as far as use of plugins goes.  Any sense of how quickly a more stable version might come?&#60;/p&#62;
&#60;p&#62;-Commerce
&#60;/p&#62;</description>
</item>

</channel>
</rss>
