<?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 Topic: Registering with another users email ???</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Registering with another users email ???</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 14:55:58 +0000</pubDate>

<item>
<title>Anonymous on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17370</link>
<pubDate>Thu, 17 Jul 2008 00:47:55 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17370@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;yeah sorry ck basically i meant that STOPPING people from having more than one account with the same email address can be a way of addressing the issue of  &#34;Multiple Accounts&#34;.&#60;/p&#62;
&#60;p&#62;because if the user really wanted to make another account he/she would have to go through the annoying/lengthly process of creating another gmail/hotmail account. But the current  issue is that it only takes literally 5 seconds to create another account becuase the new account details will be sent to the same email address over and over again.&#60;/p&#62;
&#60;p&#62;anyway, i never thought of the redirecting I guess im just losing alot of sleep, yeahs nice idea. .htaccess
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17367</link>
<pubDate>Wed, 16 Jul 2008 23:35:50 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17367@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;nv1962, it would be a good plugin to learn/practice from. Roughly 3-5 lines total. Essentially you'd add an action to bb_send_headers and just like my plugin above, if the bb_get_location==&#34;register-page&#34; you echo the redirect header for the wordpress page (and then do a die() so no other code can execute until it redirects).
&#60;/p&#62;</description>
</item>
<item>
<title>nv1962 on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17365</link>
<pubDate>Wed, 16 Jul 2008 23:27:41 +0000</pubDate>
<dc:creator>nv1962</dc:creator>
<guid isPermaLink="false">17365@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The sole (arguably flimsy) reason I cleaned-out the register.php file is pure paranoia: to avoid directly injected calls that somehow (mysteriously) don't get caught by Apache (htaccess).&#60;/p&#62;
&#60;p&#62;Let's say I'm not too confident in my mad php skillz to write such a plugin... I'll try it with a redirect instead.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17364</link>
<pubDate>Wed, 16 Jul 2008 23:22:47 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17364@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Well login integration is not as important as the register part. As far as your instructions, I wouldn't recommend deleting the contents of a core file but the redirect part is okay.&#60;/p&#62;
&#60;p&#62;It occurs to me, it's actually possible to redirect the register page in bbpress to the wordpress side via plugin with no edits required anywhere.&#60;/p&#62;
&#60;p&#62;Remember that bbPress registration process should catch up to the WordPress side eventually. In fact I like it's layout better but WordPress's is more mature code-wise.
&#60;/p&#62;</description>
</item>
<item>
<title>nv1962 on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17363</link>
<pubDate>Wed, 16 Jul 2008 23:17:53 +0000</pubDate>
<dc:creator>nv1962</dc:creator>
<guid isPermaLink="false">17363@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry for the tangent _ck_ but... you really recommend redirecting all &#60;em&#62;logins&#60;/em&#62; to WP, too? As in, &#60;a href=&#34;http://bbpress.org/forums/topic/simple-integration-tip-for-new-registration&#34;&#62;this silly thing&#60;/a&#62; I just posted about &#34;unifying&#34; registration on the WP side?
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17362</link>
<pubDate>Wed, 16 Jul 2008 23:07:56 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17362@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yes, this is why I always recommend to people when integrating with WordPress that they redirect all login and registration links to the wordpress side. It's had years of development in that area.&#60;/p&#62;
&#60;p&#62;In any case, here is a simple plugin to prevent duplicate email addresses. Unfortunately bbPress has no way to place custom error messages on the page without template hacking but this should do:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
/*
Plugin Name: no duplicate email addresses
Author: _ck_
*/ 

if ($_POST &#38;#38;&#38;#38; bb_get_location()==&#38;quot;register-page&#38;quot;) {add_filter(&#38;#39;bb_verify_email&#38;#39;,&#38;#39;no_duplicate_email&#38;#39;);}

function no_duplicate_email($email) {
if ($email) {global $bbdb; if (!$bbdb-&#38;gt;get_row($bbdb-&#38;gt;prepare(&#38;quot;SELECT * FROM $bbdb-&#38;gt;users WHERE user_email = %s&#38;quot;, $email))) {return $email;}
else {add_action(&#38;#39;bb_foot&#38;#39;,&#38;#39;no_duplicate_email_alert&#38;#39;); return false;}}
}
function no_duplicate_email_alert() {echo &#38;quot;&#38;lt;scr&#38;quot;.&#38;quot;ipt&#38;gt;alert(&#38;#39;&#38;quot;.__(&#38;quot;email address already registered&#38;quot;).&#38;quot;&#38;#39;);&#38;lt;/script&#38;gt;&#38;quot;;}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;(bbPress 0.9 or higher required)
&#60;/p&#62;</description>
</item>
<item>
<title>nv1962 on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17361</link>
<pubDate>Wed, 16 Jul 2008 23:00:46 +0000</pubDate>
<dc:creator>nv1962</dc:creator>
<guid isPermaLink="false">17361@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Impersonation might be a cause for concern. Plus, there's ye olde sockpuppet issue, which some forums expressly forbid.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17357</link>
<pubDate>Wed, 16 Jul 2008 22:31:17 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">17357@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Why is it a problem to use someone else's email address?  The password email would go to that email address, correct?  So how would the person using someone else's email address benefit from that?
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17354</link>
<pubDate>Wed, 16 Jul 2008 22:17:33 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17354@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;that means people can keep sign-up new accounts to give them selfs Karma points....&#60;/p&#62;
&#60;p&#62;i dont mean to sound like a prick __ck__ but can you whip up some sort of plugin for this problem or some instructions. becuase i wouldnt know where to start let alone code somthing like that.&#60;/p&#62;
&#60;p&#62;EDIT: Wordpress has it goin ok, I get the message:-&#60;/p&#62;
&#60;p&#62;&#60;code&#62;ERROR: This email is already registered, please choose another one.&#60;/code&#62; &#60;/p&#62;
&#60;p&#62;when registering an already existing email.
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17353</link>
<pubDate>Wed, 16 Jul 2008 21:29:10 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">17353@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Whoa I never realized that.&#60;br /&#62;
I wonder if it's also that way on the WordPress side.&#60;/p&#62;
&#60;p&#62;Well it shouldn't be too hard to whip up some code for that.
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Registering with another users email ???"</title>
<link>http://bbpress.org/forums/topic/registering-with-another-users-email#post-17351</link>
<pubDate>Wed, 16 Jul 2008 21:11:45 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">17351@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I just realised that two users can have the same email address, is it possible to give an error message if a user tries to register with an existing email.&#60;/p&#62;
&#60;p&#62;I cant find a plugin for it.&#60;/p&#62;
&#60;p&#62;any help appreciated please.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
