<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    
    <channel>
    
    <title>Feature requests</title>
    <link>http://www.magentocommerce.com/boards/</link>
    <description>Magento Forums</description>
    <dc:language>en</dc:language>
    <dc:rights>Copyright 2011</dc:rights>
    <dc:date>2011-01-18T20:57:28-08:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>Log In Only : for specific users</title>
      <link>http://www.magentocommerce.com/boards/viewthread/45894/</link>
      <guid>http://www.magentocommerce.com/boards/viewthread/45894/#When:07:35:43Z</guid>
      <description><![CDATA[<p>Hello, 
</p>
<p>
first of all congrats for the nice &#8216;Log in Only&#8217; software. I was just wondering
<br />
how about only allowing specific users or user groups, depending on their
<br />
login ? 
</p>
<p>
Thank You, 
</p>
<p>
Dirk Dinnewet
</p>]]></description>
      <dc:date>2009-06-17T07:35:43-08:00</dc:date>
    </item>

    <item>
      <title>Potential Change</title>
      <link>http://www.magentocommerce.com/boards/viewthread/16743/</link>
      <guid>http://www.magentocommerce.com/boards/viewthread/16743/#When:20:02:53Z</guid>
      <description><![CDATA[<p>First of all, thank you very much for providing this excellent extension.&nbsp; I have found it to be very elegant and helpful for a site I&#8217;m working on.
</p>
<p>
To show my thanks, I thought I might offer up a slight modification that will redirect to the desired location after the user logs in.&nbsp; For example, if the user clicks on one of the product categories, your extension will first bring up the login prompt.&nbsp; After the user logs in, they will be forwarded to that product category instead of the customer&#8217;s account dashboard.&nbsp; 
</p>
<p>
The modification I&#8217;m recommending is the <b>setBeforeAuthUrl</b> call before the redirect in the code sample below.
</p>
<p>
<div class="codeblock"><code>
<span style="color: #007700">protected&nbsp;function&nbsp;</span><span style="color: #0000BB">_redirectToLoginPage</span><span style="color: #007700">()<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mage</span><span style="color: #007700">::</span><span style="color: #0000BB">getSingleton</span><span style="color: #007700">(</span><span style="color: #DD0000">'customer/session'</span><span style="color: #007700">)-&gt;</span><span style="color: #0000BB">setBeforeAuthUrl</span><span style="color: #007700">(</span><span style="color: #0000BB">Mage</span><span style="color: #007700">::</span><span style="color: #0000BB">app</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">getRequest</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">getRequestUri</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Mage</span><span style="color: #007700">::</span><span style="color: #0000BB">app</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">getResponse</span><span style="color: #007700">()-&gt;</span><span style="color: #0000BB">setRedirect</span><span style="color: #007700">(</span><span style="color: #0000BB">Mage</span><span style="color: #007700">::</span><span style="color: #0000BB">helper</span><span style="color: #007700">(</span><span style="color: #DD0000">'adminhtml'</span><span style="color: #007700">)-&gt;</span><span style="color: #0000BB">getUrl</span><span style="color: #007700">(</span><span style="color: #DD0000">"customer/account/login"</span><span style="color: #007700">));&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;</span>
</code></div>
</p>
<p>
If you find this addition helpful for others, please feel free to include it in your extension.&nbsp; Once again, thank you for your contributions to all magento users out there.
</p>
<p>
Best Regards,
</p>
<p>
Kevin
</p>]]></description>
      <dc:date>2008-09-03T20:02:53-08:00</dc:date>
    </item>

    
    </channel>
</rss>
