<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress Plugin: User Switching</title>
	<atom:link href="http://lud.icro.us/wordpress-plugin-user-switching/feed/" rel="self" type="application/rss+xml" />
	<link>http://lud.icro.us/wordpress-plugin-user-switching/</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jan 2012 06:12:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: John Blackbourn</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6315</link>
		<dc:creator>John Blackbourn</dc:creator>
		<pubDate>Fri, 13 Jan 2012 07:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6315</guid>
		<description>&lt;em&gt;Judd:&lt;/em&gt; The switch back link is shown on every screen in the admin area, and in the user profile menu in the admin toolbar. The switch back link only appears in the footer when you use the Switch Off function.</description>
		<content:encoded><![CDATA[<p><em>Judd:</em> The switch back link is shown on every screen in the admin area, and in the user profile menu in the admin toolbar. The switch back link only appears in the footer when you use the Switch Off function.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Judd</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6314</link>
		<dc:creator>Judd</dc:creator>
		<pubDate>Fri, 13 Jan 2012 02:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6314</guid>
		<description>I am not able to switch back.  I can not find the switch back button.  It is not in my footer.</description>
		<content:encoded><![CDATA[<p>I am not able to switch back.  I can not find the switch back button.  It is not in my footer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Blackbourn</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6301</link>
		<dc:creator>John Blackbourn</dc:creator>
		<pubDate>Tue, 25 Oct 2011 17:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6301</guid>
		<description>No problem Knut, glad you got it sorted.</description>
		<content:encoded><![CDATA[<p>No problem Knut, glad you got it sorted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knut Sparhell</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6300</link>
		<dc:creator>Knut Sparhell</dc:creator>
		<pubDate>Tue, 25 Oct 2011 17:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6300</guid>
		<description>The thing is sorted out, and fixed. No problem at all with this excellent plugin. Tank you for your patience, and very useful plugin.</description>
		<content:encoded><![CDATA[<p>The thing is sorted out, and fixed. No problem at all with this excellent plugin. Tank you for your patience, and very useful plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knut Sparhell</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6299</link>
		<dc:creator>Knut Sparhell</dc:creator>
		<pubDate>Tue, 25 Oct 2011 12:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6299</guid>
		<description>Thank you for the reply and testing.

What I meant, was that I use it with WordPess 3.2.1. Sorry for the typo.

I have now found that the problem is incompatibility with another plugin, the only one I did not deacktivate while testing.

I will now dig in deeper, and find out which of the two plugins really doing something wrong, before requesting it fixed.

Again, sorry.</description>
		<content:encoded><![CDATA[<p>Thank you for the reply and testing.</p>
<p>What I meant, was that I use it with WordPess 3.2.1. Sorry for the typo.</p>
<p>I have now found that the problem is incompatibility with another plugin, the only one I did not deacktivate while testing.</p>
<p>I will now dig in deeper, and find out which of the two plugins really doing something wrong, before requesting it fixed.</p>
<p>Again, sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Blackbourn</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6298</link>
		<dc:creator>John Blackbourn</dc:creator>
		<pubDate>Tue, 25 Oct 2011 10:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6298</guid>
		<description>Hi Knut, I&#039;ve just tested the plugin in WordPress 3.1 and all works as expected, including the admin bar link. Remember that if you switch to another user they may not have the admin bar active (you can see their setting from the Profile screen). Remember too that the &#039;My name&#039; link at the top right of the screen isn&#039;t a dropdown menu in 3.1, this was only added in 3.2.

You should really update to the latest version of WordPress (3.2, and 3.3 is right around the corner) as the plugin won&#039;t be actively supporting older versions.</description>
		<content:encoded><![CDATA[<p>Hi Knut, I&#8217;ve just tested the plugin in WordPress 3.1 and all works as expected, including the admin bar link. Remember that if you switch to another user they may not have the admin bar active (you can see their setting from the Profile screen). Remember too that the &#8216;My name&#8217; link at the top right of the screen isn&#8217;t a dropdown menu in 3.1, this was only added in 3.2.</p>
<p>You should really update to the latest version of WordPress (3.2, and 3.3 is right around the corner) as the plugin won&#8217;t be actively supporting older versions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Knut Sparhell</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6297</link>
		<dc:creator>Knut Sparhell</dc:creator>
		<pubDate>Mon, 24 Oct 2011 16:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6297</guid>
		<description>After the last update (version 0.4.1) it seems to be problems with WP 3.1.2, after switching to another user. The admin bar will not show, and link &quot;Your name&quot; does not open the submenu, to reveal &quot;Your profile&quot;. 

No problems until I switch user.</description>
		<content:encoded><![CDATA[<p>After the last update (version 0.4.1) it seems to be problems with WP 3.1.2, after switching to another user. The admin bar will not show, and link &#8220;Your name&#8221; does not open the submenu, to reveal &#8220;Your profile&#8221;. </p>
<p>No problems until I switch user.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6288</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Fri, 12 Aug 2011 12:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6288</guid>
		<description>Thanks a ton for this plugin, one of my clients needed this exact feature, works great!

After hearing Ozh mention the coding was clean, I read the whole script, very clean and hardly any wasted code.  The only thing I wasn&#039;t too keen on was the use of the softer &#039;and&#039; instead of &#039;&amp;&amp;&#039;.. but that&#039;s just me.

The only feature I would like to have would be the ability to switch back to the original account that has the correct caps and user_level faster.  That is a real tricky proposition security-wise, but I had a few ideas that may or may not help you if you decide to try for it. 

Looking at the way the cookies are created, using the username, substr of hashed pass, and time..


Backup the target accounts password, then replace with your password.  That way you can generate the correct authorization cookies for any user because you know their username and password.  So the only thing that changes when all users have the same password hash, is the username.  Thats where if you just replaced the target users password with yours, you would always be able to gen the right hash.

Along those lines, you could create copies of the entire users and usermeta tables, and then replace all of the users password hashes to a known value.  Then you could have wordpress use those temporarily by defining this:

&lt;code&gt;
/** CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE are used to designated that the user and usermeta tables normally utilized by WordPress are not used, instead these values/tables are used to store your user information. */
define(&#039;CUSTOM_USER_TABLE&#039;, $table_prefix . &#039;my_users&#039;);
define(&#039;CUSTOM_USER_META_TABLE&#039;, $table_prefix . &#039;my_usermeta&#039;);
&lt;/code&gt;

At the least, you could create the cookies for each user that way, and all you need is a way to quickly switch the cookies you use.  And, you are still the only one who knows your admins real credentials (as long as you don&#039;t still send the admin cookies while logged in as another user, which they might be able to see through logs or xss), so it should prevent a backhack.

It&#039;s an interesting excercise to think about, but oh ya I&#039;m on the clock!</description>
		<content:encoded><![CDATA[<p>Thanks a ton for this plugin, one of my clients needed this exact feature, works great!</p>
<p>After hearing Ozh mention the coding was clean, I read the whole script, very clean and hardly any wasted code.  The only thing I wasn&#8217;t too keen on was the use of the softer &#8216;and&#8217; instead of &#8216;&amp;&amp;&#8217;.. but that&#8217;s just me.</p>
<p>The only feature I would like to have would be the ability to switch back to the original account that has the correct caps and user_level faster.  That is a real tricky proposition security-wise, but I had a few ideas that may or may not help you if you decide to try for it. </p>
<p>Looking at the way the cookies are created, using the username, substr of hashed pass, and time..</p>
<p>Backup the target accounts password, then replace with your password.  That way you can generate the correct authorization cookies for any user because you know their username and password.  So the only thing that changes when all users have the same password hash, is the username.  Thats where if you just replaced the target users password with yours, you would always be able to gen the right hash.</p>
<p>Along those lines, you could create copies of the entire users and usermeta tables, and then replace all of the users password hashes to a known value.  Then you could have wordpress use those temporarily by defining this:</p>
<p><code><br />
/** CUSTOM_USER_TABLE and CUSTOM_USER_META_TABLE are used to designated that the user and usermeta tables normally utilized by WordPress are not used, instead these values/tables are used to store your user information. */<br />
define('CUSTOM_USER_TABLE', $table_prefix . 'my_users');<br />
define('CUSTOM_USER_META_TABLE', $table_prefix . 'my_usermeta');<br />
</code></p>
<p>At the least, you could create the cookies for each user that way, and all you need is a way to quickly switch the cookies you use.  And, you are still the only one who knows your admins real credentials (as long as you don&#8217;t still send the admin cookies while logged in as another user, which they might be able to see through logs or xss), so it should prevent a backhack.</p>
<p>It&#8217;s an interesting excercise to think about, but oh ya I&#8217;m on the clock!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Blackbourn</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6273</link>
		<dc:creator>John Blackbourn</dc:creator>
		<pubDate>Fri, 15 Apr 2011 04:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6273</guid>
		<description>Version 0.3.2 released.

* Fix the &#039;Switch back to&#039; menu item in the WordPress admin bar (WordPress 3.1+).
* Fix a formatting issue on the user profile page.</description>
		<content:encoded><![CDATA[<p>Version 0.3.2 released.</p>
<p>* Fix the &#8216;Switch back to&#8217; menu item in the WordPress admin bar (WordPress 3.1+).<br />
* Fix a formatting issue on the user profile page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Blackbourn</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6265</link>
		<dc:creator>John Blackbourn</dc:creator>
		<pubDate>Wed, 09 Mar 2011 02:02:18 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6265</guid>
		<description>Thanks for the suggestions belg4mit. I had already implemented #1 while WordPress 3.1 was in beta, but it stopped working at some point before 3.1 was finally released. I&#039;ll look into it and update the plugin.

John</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestions belg4mit. I had already implemented #1 while WordPress 3.1 was in beta, but it stopped working at some point before 3.1 was finally released. I&#8217;ll look into it and update the plugin.</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: belg4mit</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6264</link>
		<dc:creator>belg4mit</dc:creator>
		<pubDate>Tue, 08 Mar 2011 18:28:57 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6264</guid>
		<description>Two ideas for WP3.1+ features:

1) Add a &quot;switch back&quot; link to the admin bar
2) Have an optional setting to configure a &quot;Become user&quot; link in the admin bar for the site admin. That was the admin can easily switch back and forth between their administrative persona and normal user profile.</description>
		<content:encoded><![CDATA[<p>Two ideas for WP3.1+ features:</p>
<p>1) Add a &#8220;switch back&#8221; link to the admin bar<br />
2) Have an optional setting to configure a &#8220;Become user&#8221; link in the admin bar for the site admin. That was the admin can easily switch back and forth between their administrative persona and normal user profile.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Li-An</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6258</link>
		<dc:creator>Li-An</dc:creator>
		<pubDate>Mon, 14 Feb 2011 17:53:47 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6258</guid>
		<description>Well, when you switch to a new profile, you got the admin page with a link saying &quot;go back to previous profile&quot; (or something like that). I use S2member plugin that redirect the members so I could not see the link.</description>
		<content:encoded><![CDATA[<p>Well, when you switch to a new profile, you got the admin page with a link saying &#8220;go back to previous profile&#8221; (or something like that). I use S2member plugin that redirect the members so I could not see the link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6257</link>
		<dc:creator>john</dc:creator>
		<pubDate>Mon, 14 Feb 2011 17:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6257</guid>
		<description>And what is that option (I have the same problem) ???</description>
		<content:encoded><![CDATA[<p>And what is that option (I have the same problem) ???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Li-An</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6255</link>
		<dc:creator>Li-An</dc:creator>
		<pubDate>Mon, 14 Feb 2011 13:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6255</guid>
		<description>OK ! Found where the option was. Sorry for the comments, you can delete them. And thanks for the plugin.</description>
		<content:encoded><![CDATA[<p>OK ! Found where the option was. Sorry for the comments, you can delete them. And thanks for the plugin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Li-An</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-6254</link>
		<dc:creator>Li-An</dc:creator>
		<pubDate>Mon, 14 Feb 2011 13:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-6254</guid>
		<description>Same problem: no way to switch back and no options &quot;remember me&quot; ??</description>
		<content:encoded><![CDATA[<p>Same problem: no way to switch back and no options &#8220;remember me&#8221; ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-5951</link>
		<dc:creator>john</dc:creator>
		<pubDate>Wed, 04 Aug 2010 10:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-5951</guid>
		<description>Hi,
I&#039;m having problems with you plugins. I used it in the past and it worked quite well. But these days, I am mananging a rather big site with WP 3.0, and a lot of plugins. I can switch to another user but I CANNOT SWITCH BACK to my admin status. Doesn&#039;t work. I have to log out and relog as admin.

Any idea ?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m having problems with you plugins. I used it in the past and it worked quite well. But these days, I am mananging a rather big site with WP 3.0, and a lot of plugins. I can switch to another user but I CANNOT SWITCH BACK to my admin status. Doesn&#8217;t work. I have to log out and relog as admin.</p>
<p>Any idea ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-5936</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Sun, 11 Jul 2010 12:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-5936</guid>
		<description>Thanks.  Really like the work you&#039;re doing.</description>
		<content:encoded><![CDATA[<p>Thanks.  Really like the work you&#8217;re doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Blackbourn</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-5935</link>
		<dc:creator>John Blackbourn</dc:creator>
		<pubDate>Fri, 09 Jul 2010 23:20:19 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-5935</guid>
		<description>&lt;em&gt;Phil:&lt;/em&gt; I used the Audit Trail plugin once ages ago, but not recently. It&#039;s probably easy enough to add an audit trail item that logs when a user switches users (I&#039;ll have a look at it at some point), but from then on any action will always be recorded as the user that has been switched to.</description>
		<content:encoded><![CDATA[<p><em>Phil:</em> I used the Audit Trail plugin once ages ago, but not recently. It&#8217;s probably easy enough to add an audit trail item that logs when a user switches users (I&#8217;ll have a look at it at some point), but from then on any action will always be recorded as the user that has been switched to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phil</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-5934</link>
		<dc:creator>phil</dc:creator>
		<pubDate>Fri, 09 Jul 2010 22:44:31 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-5934</guid>
		<description>Any plans of incorporating an audit trail?  If using the audit trail plugin, what user&#039;s info will be trapped making the change, the admin or the user&#039;s?</description>
		<content:encoded><![CDATA[<p>Any plans of incorporating an audit trail?  If using the audit trail plugin, what user&#8217;s info will be trapped making the change, the admin or the user&#8217;s?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://lud.icro.us/wordpress-plugin-user-switching/#comment-5890</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 03 Jun 2010 23:20:26 +0000</pubDate>
		<guid isPermaLink="false">http://lud.icro.us/?p=96#comment-5890</guid>
		<description>very good for buddy press sites!</description>
		<content:encoded><![CDATA[<p>very good for buddy press sites!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

