<?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/">
<channel>
<title>rsslounge support forum - User from a external database</title>
<link>http://rsslounge.aditu.de/forum/</link>
<description>support forum</description>
<language>en</language>
<item>
<title>User from a external database (reply)</title>
<content:encoded><![CDATA[<blockquote><p>I have install RSS Lounge as a part of a website. So all my users are manage in a different database. So I don't give access to the login function of RSS Lounge because it's not a good way to ask to my members that they meust create another account...</p>
<p>Is it possible to &quot;connect&quot; RSS lounge, not with the original &quot;users&quot; table of RSS lounge, but with the &quot;myscript_users table&quot; of my own script ?</p>
<p>I don't find in the source code where the script connect the database to check the login / password...</p>
<p>Thanks if you have any idea !</p>
</blockquote><p>Hi Nicolas,</p>
<p>the authentication will be done in the /application/models/users.php (function authenticate, <a href="http://code.google.com/p/rsslounge/source/browse/trunk/application/models/users.php).">http://code.google.com/p/rsslounge/source/browse/trunk/application/models/users.php).</a></p>
<p>There you can change the code for checking the user data. For connecting with another database, you have to start a new database connection. You can easily access the database configuration from the config.ini by using the Zend_Registry:<br />
Zend_Registry::get('config')-&gt;resources-&gt;db-&gt;prefix</p>
<p>Regards<br />
 Tobi</p>
]]></content:encoded>
<link>http://rsslounge.aditu.de/forum/index.php?id=137</link>
<guid>http://rsslounge.aditu.de/forum/index.php?id=137</guid>
<pubDate>Thu, 09 Jun 2011 07:50:49 +0000</pubDate>
<dc:creator>Tobi</dc:creator>
</item>
<item>
<title>User from a external database</title>
<content:encoded><![CDATA[<p>I have install RSS Lounge as a part of a website. So all my users are manage in a different database. So I don't give access to the login function of RSS Lounge because it's not a good way to ask to my members that they meust create another account...</p>
<p>Is it possible to &quot;connect&quot; RSS lounge, not with the original &quot;users&quot; table of RSS lounge, but with the &quot;myscript_users table&quot; of my own script ?</p>
<p>I don't find in the source code where the script connect the database to check the login / password...</p>
<p>Thanks if you have any idea !</p>
]]></content:encoded>
<link>http://rsslounge.aditu.de/forum/index.php?id=136</link>
<guid>http://rsslounge.aditu.de/forum/index.php?id=136</guid>
<pubDate>Wed, 08 Jun 2011 17:13:48 +0000</pubDate>
<dc:creator>Nicolas</dc:creator>
</item>
</channel>
</rss>