<?xml version="1.0" encoding="UTF-8"?><!-- 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 Support Forums Tag: accounts</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: accounts</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 02:29:10 +0000</pubDate>

<item>
<title>marp on "integration logout"</title>
<link>http://bbpress.org/forums/topic/integration-logout#post-16821</link>
<pubDate>Fri, 20 Jun 2008 05:04:58 +0000</pubDate>
<dc:creator>marp</dc:creator>
<guid isPermaLink="false">16821@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;My new install of both wordpress and bbpress seems to linked successfully, as when I login, i am automatically logged in on the other.&#60;/p&#62;
&#60;p&#62;However, logging out of one, does not log me out of the other.  &#60;/p&#62;
&#60;p&#62;Additionally, when this occurs, it is possible for me to log back in under a different account and find that each now as a different account logged in.&#60;/p&#62;
&#60;p&#62;bbpress 0.9.0.2&#60;br /&#62;
wordpress 2.5.1
&#60;/p&#62;</description>
</item>
<item>
<title>kehlers on "Access bbPress login info from existing site"</title>
<link>http://bbpress.org/forums/topic/access-bbpress-login-info-from-existing-site#post-8248</link>
<pubDate>Tue, 19 Jun 2007 18:23:09 +0000</pubDate>
<dc:creator>kehlers</dc:creator>
<guid isPermaLink="false">8248@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well, your guess was correct! Your tip got me to thinking about cookies - I'm a little rusty on my setcookie() syntax! Anyhow, I decided to install WordPress, even though I don't need it just now, because if I could get that to integrate across directories, then I could surely do what I'm hoping for with the gallery.php page. &#60;/p&#62;
&#60;p&#62;That helped me to understand the interactions of the cookies and directories and domains. All that to say, I was able to get it to work using the following in config.php:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$bb_cookiepath = &#38;quot;/&#38;quot;;
$bb_cookiedomain = &#38;quot;.mydomain.com&#38;quot; ;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I believe that if cookie domain is not specified, then it will default to be the root of the directory in which the script is running, i.e. mydomain.com/forums/, making it unavailable to any other directory, including parent directories. You probably already knew that, but just putting it out there in case someone else has the same issue. ;)
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Access bbPress login info from existing site"</title>
<link>http://bbpress.org/forums/topic/access-bbpress-login-info-from-existing-site#post-8238</link>
<pubDate>Tue, 19 Jun 2007 09:10:37 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8238@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;My guess was that the cookies were set for the forum but not for folders higher up, but if that didn't fix it I don't know if that's right.
&#60;/p&#62;</description>
</item>
<item>
<title>kehlers on "Access bbPress login info from existing site"</title>
<link>http://bbpress.org/forums/topic/access-bbpress-login-info-from-existing-site#post-8203</link>
<pubDate>Tue, 19 Jun 2007 00:51:52 +0000</pubDate>
<dc:creator>kehlers</dc:creator>
<guid isPermaLink="false">8203@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hm. I'm pretty sure I'm actually logged in. Let's say I'm at the gallery.php page, which is in the root of mydomain.com. I type in my valid login id and password. The next thing I see is the front page of my forum (http://mydomain.com/forums/index.php) , which reads &#34;Welcome, kehlers (View your profile)&#34; etc.  I can add, post, go to admin section, etc. When I view cookies, I have a &#60;code&#62;bb_user_(hash)&#60;/code&#62; and &#60;code&#62;bb_pass_(hash)&#60;/code&#62;, which seem to have appropriate values. All that to say, I think I'm logged in successfully. &#60;/p&#62;
&#60;p&#62;However, if I go back to gallery.php, I still see the login form, as though nothing has happened. I did try adding &#60;code&#62;$bb-&#38;gt;cookiepath = &#38;#39;/&#38;#39;;&#60;/code&#62; to my config.php, but it didn't seem to make a difference. Do I need to restart anything (browser? Apache?) once I've added that? I wouldn't think so, but thought it was worth asking. &#60;/p&#62;
&#60;p&#62;Thanks for your help on this!
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Access bbPress login info from existing site"</title>
<link>http://bbpress.org/forums/topic/access-bbpress-login-info-from-existing-site#post-8192</link>
<pubDate>Mon, 18 Jun 2007 21:43:44 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8192@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Are you sure you're actually logged in? I would argue that you're not logged in if it comes up with the login form.&#60;/p&#62;
&#60;p&#62;I think this sounds like a cookies issue. Can you add this to your config.php and see if it works?&#60;br /&#62;
&#60;code&#62;$bb-&#38;gt;cookiepath = &#38;#39;/&#38;#39;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;If not, check what the properties are for cookies set (just to make sure that's not the problem).
&#60;/p&#62;</description>
</item>
<item>
<title>kehlers on "Access bbPress login info from existing site"</title>
<link>http://bbpress.org/forums/topic/access-bbpress-login-info-from-existing-site#post-8189</link>
<pubDate>Mon, 18 Jun 2007 18:51:02 +0000</pubDate>
<dc:creator>kehlers</dc:creator>
<guid isPermaLink="false">8189@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I've tried to find the answer to this by reading the forums and my own experimentation, but I'm still having problems. Any information welcome. In summary, the only way I can seem to acess bbPress login info from other pages on my site is to put bbPress at the root of my site, i.e. on the same level as my other scripts.&#60;/p&#62;
&#60;p&#62;I have a PHP/MySQL installation and I would like to integrate bbPress with my own PHP applications. I don't want the user to have to have two login IDs/passwords - my issue is very similar to &#60;a href=&#34;http://bbpress.org/forums/topic/298&#34;&#62;User table abstracted in future versions?&#60;/a&#62;, only in reverse. That is, I want to use bbPress functions as the primary authentication/registration and have my apps acess the bbPress user info.&#60;/p&#62;
&#60;p&#62;EX:  I have a file called &#60;a href=&#34;http://mydomain.com/gallery.php,&#34; rel=&#34;nofollow&#34;&#62;http://mydomain.com/gallery.php,&#60;/a&#62; in which I have added the following code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;require(&#38;quot;bb-load.php&#38;quot;);
login_form();
bb_get_current_user_info(&#38;#39;id&#38;#39;);
if  (bb_current_user_can(&#38;#39;administrate&#38;#39;)) {
 //do some things admins can do
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;IF I put the bbPress install at the root of mydomain.com, this all works beautifully, but I want to put the bbPress install in &#60;a href=&#34;http://mydomain.com/forums/.&#34; rel=&#34;nofollow&#34;&#62;http://mydomain.com/forums/.&#60;/a&#62; If I do that, altering the code to point to &#34;forums/bb-load.php&#34;, I get the login form, but it doesn't work:  I can type userid and password, and click login, but no login occurs. Furthermore, the login form appears even if a valid user is currently logged in - it doesn't say &#34;Welcome, UserID&#34;.&#60;/p&#62;
&#60;p&#62;Do I need to do a plug-in? If so, what would it do, in general? Thanks in advance!
&#60;/p&#62;</description>
</item>
<item>
<title>john_roberts on "User table abstracted in future versions?"</title>
<link>http://bbpress.org/forums/topic/user-table-abstracted-in-future-versions#post-5649</link>
<pubDate>Tue, 20 Mar 2007 12:41:10 +0000</pubDate>
<dc:creator>john_roberts</dc:creator>
<guid isPermaLink="false">5649@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I never followed up, so I'll do so now. We ended up choosing Vanilla (http://www.getvanilla.com) for our forums at &#60;a href=&#34;http://forums.opendns.com/.&#34; rel=&#34;nofollow&#34;&#62;http://forums.opendns.com/.&#60;/a&#62; We continue to be thrilled with WordPress, but bbPress was too big an investment of time to integrate with our systems at the time we had to move.&#60;/p&#62;
&#60;p&#62;I'm sure if bbPress gets even 1/4 of the community attention that WP gets, it will be fantastic.
&#60;/p&#62;</description>
</item>
<item>
<title>h8dk97 on "User table abstracted in future versions?"</title>
<link>http://bbpress.org/forums/topic/user-table-abstracted-in-future-versions#post-5640</link>
<pubDate>Tue, 20 Mar 2007 02:23:05 +0000</pubDate>
<dc:creator>h8dk97</dc:creator>
<guid isPermaLink="false">5640@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;Is there any progress on bbpress integration? I would really like to use it with my current site. Also, my current site is using PostgreSQL for backend, would it make the integration more difficult?&#60;br /&#62;
Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>john_roberts on "User table abstracted in future versions?"</title>
<link>http://bbpress.org/forums/topic/user-table-abstracted-in-future-versions#post-1506</link>
<pubDate>Fri, 17 Nov 2006 17:38:46 +0000</pubDate>
<dc:creator>john_roberts</dc:creator>
<guid isPermaLink="false">1506@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Appreciate the reply. Discussing internally. More soon!
&#60;/p&#62;</description>
</item>
<item>
<title>mdawaffe on "User table abstracted in future versions?"</title>
<link>http://bbpress.org/forums/topic/user-table-abstracted-in-future-versions#post-1497</link>
<pubDate>Fri, 17 Nov 2006 06:45:41 +0000</pubDate>
<dc:creator>mdawaffe</dc:creator>
<guid isPermaLink="false">1497@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;User &#60;em&#62;authentication&#60;/em&#62; should be fully pluggable.  All authentication is done by functions in bb-includes/pluggable.php which can all be overridden by a plugin.&#60;/p&#62;
&#60;p&#62;The only thing you have to worry about is giving the $bb_current_user a few properties (such as ID) since bbPress looks at those directly in many places (it should be better abstracted).&#60;/p&#62;
&#60;p&#62;You'll definitely want to write some custom authentication functions that work of your current database.&#60;/p&#62;
&#60;p&#62;Grabbing user data from a custom database may a little more tricky as you imply since bbPress might not have all the hooks you'd need for convenient JOINs and things. (You might try and see how &#60;em&#62;little&#60;/em&#62; you really need to do.)&#60;/p&#62;
&#60;p&#62;At the moment, the best option (off the top of my head) is probably to write a custom database class (of which $bbdb is an instantiation), to modify bbPress' queries on the fly.  &#60;/p&#62;
&#60;p&#62;That is not ideal, I understand.&#60;/p&#62;
&#60;p&#62;We're certainly interested in making things easier.  I'd love to hear suggestions or ideas.  You should sign up on our development email list! &#60;a href=&#34;http://lists.bbpress.org/mailman/listinfo/bbdev&#34; rel=&#34;nofollow&#34;&#62;http://lists.bbpress.org/mailman/listinfo/bbdev&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>john_roberts on "User table abstracted in future versions?"</title>
<link>http://bbpress.org/forums/topic/user-table-abstracted-in-future-versions#post-1471</link>
<pubDate>Thu, 16 Nov 2006 01:17:50 +0000</pubDate>
<dc:creator>john_roberts</dc:creator>
<guid isPermaLink="false">1471@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;We're considering BBPress for user forums on our website. However, our website already has user registration (account system), and we will &#60;strong&#62;not&#60;/strong&#62; have a separate registration for our forums.&#60;/p&#62;
&#60;p&#62;Therefore, a key question is how easy it will be to integrate BBPress into an existing user registration/authentication system. A colleague looked through the BBPress code, and came up with mostly good news (see bottom).&#60;/p&#62;
&#60;p&#62;The bad news, though, made me come here to see what the plans are for abstracting the user registration system in future versions. I imagine that our situation is quite common: no one wants multiple registration schemes on a single site (it's bad enough how many we all have around the web!).&#60;/p&#62;
&#60;p&#62;Note: we've been very satisfied with WordPress on many fronts, although not for user contributions, so no WordPress integration questions at all. And, yes, we looked at &#60;a href=&#34;http://bbpress.org/documentation/integration-with-wordpress/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/documentation/integration-with-wordpress/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;BAD NEWS, SPECIFICS:&#60;br /&#62;
The SQL queries that interact with the users table are interspersed across a dozen files or so. While this makes integration slightly more difficult, the real issue is that future updates to bbpress might become difficult if not impossible to merge. Given how forum packages are magnets for security&#60;br /&#62;
vulnerabilities, this might become a critical issue.&#60;br /&#62;
---&#60;/p&#62;
&#60;p&#62;I don't want to argue about security vulnerabilities; that's not the issue. The point is: at what point will BBPress change how user information is distributed around the application and/or abstracted?&#60;/p&#62;
&#60;p&#62;I checked Trac to see if the Timeline or Roadmap had any hints, but didn't see anything.&#60;/p&#62;
&#60;p&#62;Is this situation seen as a problem? Anyone else sharing the pain? Any insight?&#60;/p&#62;
&#60;p&#62;GOOD NEWS, SPECIFICS: (accounts = our site registration system)&#60;br /&#62;
* The bbPress user table consists of 9 columns, 5 of which overlap with our generic user table, requiring only a 'glue' table to provide the extra columns&#60;br /&#62;
* There are no SQL JOIN's with the user table (that I could find), making integration easier.&#60;br /&#62;
* Integration with accounts is possible and would take only a few hours.&#60;br /&#62;
* Customizing the look and feel would be no more difficult than it was to customizing WordPress.&#60;br /&#62;
* Disabling registrations is easy to do, which would force users to register via accounts.&#60;/p&#62;
&#60;p&#62;John Roberts&#60;br /&#62;
OpenDNS
&#60;/p&#62;</description>
</item>

</channel>
</rss>
