<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Module: External Authentication</title>
        <description>This module allows authentication to Phorum from external applications.  It uses a chosen external application as the authentication master.  That external application controls registration and login and passes that information on to Phorum.  Only the applications listed below are supported at this time.  If yours is not listed, please request it.

[b]Supported Applications:[/b]

Apache/LDAP - [b]by Elliot Kendall[/b]
Drupal 6.x - www.drupal.org
Elgg 1.1 - www.elgg.org
GroupOffice - www.group-office.com - [b]by hansvd[/b]

[b]Installation and Usage:[/b]
Depending on the plugin used, this module may only deal with authenticating to Phorum from an external application.  Creating an integrated theme, linking to Phorum, and other customizations may be beyond the scope of any particular plugin.

Two downloads are available.  The core download contains the module itself without any of the plugins necessary for the external applications supported.  The full download contains the module and all available plugins.

[b]This module may have different settings based on the external application you are using.  Below is a basic setup example, but please follow your chosen plugin&#039;s setup guide if available.[/b]

You must first install your external application and Phorum.  Next, if you only downloaded the core version of this module, you must download and install the plugin for your external application.  The complete plugin folder must be placed in the phorum_root/mods/external_authentication/plugins_bin folder, just as you placed the external_authentication folder in the phorum_root/mods folder 
to install this module  

Next, you can enable this module and set it to use your external app as the authentication master.  You should also input the path to your application.  Please note that this is the server path used by PHP to move between Phorum and your application.

While the settings do exist for allowing registration, login, and logout in your Phorum install, it is highly recommended that you disable these.  The 
registration will not create a user in your external application.  Allowing Phorum login would allow users to login to the Phorum even if they have been deleted or banned from your external application.

[b][color=#FF0000]Please note: It is important that you use, or at least create, a user in your external application with the same username as your Phorum admin.[/color][/b]  Because the external application is the authentication master, the external user will overwrite the Phorum user&#039;s password and assume that user&#039;s rights.  Thus, if you do not create an external user with the same username as your Phorum admin, another visitor could register with that username and assume the admin role in Phorum.

[b]Developers:[/b]

If you would like to develop a plugin to allow authentication from your external application of choice, please refer to the [url=http://www.phorum.org/phorum5/read.php?62,134494,134538#msg-134538]Plugin Development Guide[/url].

[b]Todo:[/b]

- Add support for more applications

- Add further features as requested or as they pop into my head</description>
        <link>https://www.phorum.org/support/read.php?62,134494,134494#msg-134494</link>
        <lastBuildDate>Sat, 11 Jul 2026 19:00:49 -0500</lastBuildDate>
        <generator>Phorum 6.0.0</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,155996#msg-155996</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,155996#msg-155996</link>
            <description><![CDATA[ While playing with the logging event module,my list was full of a php warning about undefined index:<br />
line 274 : utilize_synchronization_table<br />
<br />
added isset and the warning is gone: <br />
<br />
[code=&quot;php&quot;]<br />
 // load the synchronization table code if necessary<br />
// added isset to prevent php warning<br />
        if (isset($PHORUM[&quot;phorum_mod_external_authentication&quot;][&quot;utilize_synchronization_table&quot;])) {<br />
            include_once &quot;./mods/external_authentication/db_bin/db_functions.php&quot;;<br />
        }<br />
[/code]<br />
<br />
using version: v5.2.1.04]]></description>
            <dc:creator>Terradon</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 17 Aug 2015 08:19:19 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,154643#msg-154643</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,154643#msg-154643</link>
            <description><![CDATA[ I would like to use this module to connect with my cubecart 5 database. Is there any chance of that?<br />
TIA<br />
Alice.]]></description>
            <dc:creator>embroideryallsorts</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 29 Nov 2013 00:22:39 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,153657#msg-153657</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,153657#msg-153657</link>
            <description><![CDATA[ This works for Phorum 5.2.18 and moodle 2.3.6<br />
<br />
You have to install both on the same server and adjust the path to the moodle files. Explanation is in the file.<br />
Under the Settings you have to write the root-path of your moodle]]></description>
            <dc:creator>shogathu</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 29 May 2013 08:43:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,149317#msg-149317</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,149317#msg-149317</link>
            <description><![CDATA[ Initial relase of drupal 7 plugin, tested on drupal 7.4 and phorum 5.3 dev<br />
Comments welcome.]]></description>
            <dc:creator>Mathew W.(rasta)</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 31 Jul 2011 06:03:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,148603#msg-148603</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,148603#msg-148603</link>
            <description><![CDATA[ did phorum ever get working with drupal 7?]]></description>
            <dc:creator>rheo</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 20 Apr 2011 00:23:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,147178#msg-147178</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,147178#msg-147178</link>
            <description><![CDATA[ Joe,<br />
<br />
I have a working version of Drupal RC2 and Phorum. Want to use it for testing?]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 19 Dec 2010 17:05:22 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,146578#msg-146578</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,146578#msg-146578</link>
            <description><![CDATA[ I hear ya, just finished grad school so my life is coming back again.<br />
Drupal 7 is 5 tickets away from RC, if you want me to test let me know. I&#039;d be glad to.]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 29 Oct 2010 15:01:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,146539#msg-146539</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,146539#msg-146539</link>
            <description><![CDATA[ The short answer is yes, the long answer is when church, children, and work allow me some free time to code :)  The second beta for Drupal 7 was released last weekend.  I will definitely take a look at the changes needed when their first release candidate is available, possibly before that.  One thing I have been experimenting with in one of my own installations is incorporating the Phorum Control Center into Drupal&#039;s &quot;My Account&quot; page.]]></description>
            <dc:creator>Joe Curia</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 27 Oct 2010 07:45:02 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,146536#msg-146536</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,146536#msg-146536</link>
            <description><![CDATA[ Joe,<br />
<br />
Do you have any plans to update the mod for Drupal 7?]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 27 Oct 2010 07:13:34 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144536#msg-144536</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144536#msg-144536</link>
            <description><![CDATA[ Using the portable phorum.php has worked extremely well and appears to have solved all the problems. Thanks for the heads up.<br />
<br />
Paul.]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 18 May 2010 13:34:17 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144535#msg-144535</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144535#msg-144535</link>
            <description><![CDATA[ Thanks Thomas - I wasn&#039;t aware of that functionality.<br />
<br />
Would I be looking to replace the content of the standard index.php with a variation of the example phorum.php in order to avoid the conflict? The documentation seems to suggest it&#039;s usage is geared more towards embedding phorum? My phorum install is just linked to Drupal - it&#039;s not running using the embedded options available in the external authentication module.<br />
<br />
Thanks,<br />
Paul]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 18 May 2010 11:48:33 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144502#msg-144502</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144502#msg-144502</link>
            <description><![CDATA[ thats what the &quot;portable&quot; code is for, it actually wraps phorum into a function. you can find it in the directory with that very name.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 15 May 2010 06:21:14 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144454#msg-144454</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144454#msg-144454</link>
            <description><![CDATA[ Hi Joe,<br />
<br />
I wasn&#039;t having a dig at you (or anyone else for that matter). I appreciate all the work you&#039;ve put in on this. Compared to any other forum I&#039;ve looked at getting the integration to work has been very straightforward. Congrats on your daughter - I&#039;m surprised you even have the energy to check for new posts!<br />
<br />
To let me move forward with the conflicting $user variable I&#039;ve unfortunately had to change control.php and pm.php for now (basically wrapping the whole file contents in a function call to force local scope on the variables). I&#039;ll be back on to it early next week to try and get a proper solution.<br />
<br />
If there&#039;s anything I can do to help please let me know. For a starter would it help to send you my latest code base so you can see what I&#039;ve changed?<br />
<br />
Paul.]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 13 May 2010 14:06:57 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144449#msg-144449</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144449#msg-144449</link>
            <description><![CDATA[ Sorry if this seems like a one-sided conversation or that I am not promptly attacking your bug.  My new daughter has taken over most of my free time for the last month and I am just now getting caught up with my work and personal life.  I will soon be moving on to my hobby life, aka Phorum coding, and will be looking into this bug hopefully before or over this weekend.  Thank you for bringing it, and some other issues, to my attention though, your bug hunting is much appreciated.]]></description>
            <dc:creator>Joe Curia</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 13 May 2010 07:15:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144448#msg-144448</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144448#msg-144448</link>
            <description><![CDATA[ Yes, that&#039;s correct - once the phorum code has run the global $user variable that Drupal relies on has been overwritten with the phorum user.<br />
<br />
Thanks for the suggestion - I&#039;ve tried it but it doesn&#039;t seem to have worked. I also implemented hook_end_output as that seemed to be the very last thing being called - that didn&#039;t work either unfortunately.<br />
<br />
I&#039;m not too familiar with the workings of phorum (getting there!) - would you expect the footer and/or hook_end_output to be the very last things called by phorum prior to sessions being saved etc?<br />
<br />
Thanks,<br />
Paul]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 13 May 2010 06:49:18 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144446#msg-144446</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144446#msg-144446</link>
            <description><![CDATA[ I take it that the problem comes in after all the phorum code has run.<br />
<br />
In the mod, I would save the uncorrupted user date to a variable in the global $PHORUM array (be sure you generate a unique name for this)<br />
At the end of footer.tpl add some php code to restore the user variables.]]></description>
            <dc:creator>DavidVB</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 13 May 2010 04:26:42 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144442#msg-144442</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144442#msg-144442</link>
            <description><![CDATA[ I seem to be having a slightly one sided conversation here!<br />
<br />
Hopefully someone can help with this. I&#039;ve found an issue which causes the user session to be terminated when they try to send a private message or access the control center. The issue is caused by a conflict in how Drupal uses global $user and line 115 in control.php:<br />
<br />
[code=&quot;php&quot;]<br />
$user = $PHORUM[&#039;user&#039;];<br />
[/code]<br />
<br />
Prior to this code being executed hook_user_session_restore.php has been invoked when has done a full Drupal bootstrap. This sets up the global $user. Line 115 in control.php then overwrites global $user with the phorum user.<br />
<br />
Finally sess_write (found in session.inc in Drupal) is called as the session ends, this accesses the now corrupted global $user variable and tries to update the users session - but unfortunately causes the session to expire. In turn this logs the user out of phorum because next time hook_user_session_restore.php is called it can&#039;t marry up the forum and Drupal sessions.<br />
<br />
I reverted the changes I suggested in the previous post to see if that made any difference - it didn&#039;t.<br />
<br />
Does anyone have any idea what I can do about this because I&#039;m totally stumped?<br />
<br />
Thanks,<br />
Paul]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 12 May 2010 12:39:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144413#msg-144413</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144413#msg-144413</link>
            <description><![CDATA[ Hi Damian,<br />
<br />
I was just about to post a fix for this. As you&#039;ve found the module assumes Drupal uses the session DB table.<br />
<br />
I&#039;m not sure why the session table is explicitly used - because a full drupal bootstrap has been performed the global $user is available.<br />
<br />
All I&#039;ll I&#039;ve done is edit hook_user_session_restore.php and replace this code:<br />
<br />
[code=&quot;php&quot;]<br />
foreach($_COOKIE as $session_id) {<br />
        $user = db_fetch_object(db_query(&quot;SELECT u.*, s.* FROM {users} u INNER JOIN {sessions} s ON u.uid = s.uid WHERE s.sid = &#039;%s&#039;&quot;, $session_id));<br />
        <br />
        // We found the client&#039;s session record and they are an authenticated user<br />
        if ($user &amp;&amp; $user-&gt;uid &gt; 0) {<br />
            // This is done to unserialize the data member of $user<br />
            $user_data = drupal_unpack($user);<br />
            <br />
            break;<br />
        }<br />
    }<br />
[/code]<br />
<br />
With this code:<br />
[code=&quot;php&quot;]<br />
global $user;<br />
$user_data = $user;<br />
[/code]<br />
<br />
I haven&#039;t tested thoroughly yet but it seems to work fine. Does anyone know _why_ it wasn&#039;t done this way to start with? Does it cause issues I&#039;ve yet to discover?<br />
<br />
I&#039;ve also found that if you set $base_url in Drupals settings php the forum won&#039;t correctly load for anonymous users. My fix was simply to unset the variable (we didn&#039;t need it) and this corrected the problem.<br />
<br />
Hope this helps,<br />
Paul]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 11 May 2010 10:01:23 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,144358#msg-144358</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,144358#msg-144358</link>
            <description><![CDATA[ The module does not work well when the Drupal memcache module is enabled, exactly memcache-session.inc. User logs in correctly in Drupal, but the forum is not logged. How do I fix this?]]></description>
            <dc:creator>damian81pl</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 07 May 2010 13:56:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,143867#msg-143867</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,143867#msg-143867</link>
            <description><![CDATA[ Hi,<br />
<br />
Thanks for clarifying David.<br />
<br />
I&#039;ve found a couple more little quirks/bugs in the drupal module, hope this helps:<br />
<ul><li> There&#039;s a typo in phorum_module_external_authentication.module on line 233. Instead of $GLOBALS it says &quot;$GLABALS&quot;. This looks like it would impact the language used on the forum if it was anything other than English. </li><li> In the &quot;Phorum server path&quot; admin settings within Drupal the path contains &quot;common.php&quot; by default. So it looks something like &quot;c:\www\forum\common.php&quot; it should just be &quot;c:\www\forum&quot;. It took me a while of debugging to realise this. The value of this setting is used to set the current working directory. The call to chdir($PHORUM_DIR) fails due to the presence of common.php. </li></ul>
<br />
A quick question: I&#039;ve now embedded the forum within the drupal site and it seems to be working fine. I haven&#039;t switched the template yet to &quot;Generic Integration&quot; as described in the documentation - can anyone tell me what the difference is between the &quot;Generic Integration&quot; and the default phorum template? Since it seems to be working ok on the default template what would switching to &quot;Generic Integration&quot; do?<br />
<br />
Thanks,<br />
Paul.]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Mon, 29 Mar 2010 05:19:35 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,143821#msg-143821</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,143821#msg-143821</link>
            <description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />but when I navigate to the forum there is no logout link. Should I expect to see one? Equally what would be the correct approach for showing a register/login link at the top of the forum for anonymous users looking at the forum? </div></blockquote>
<br />
No, you won&#039;t expect to see a login/register or logout links (the embedding template assumes that the main page you are embedding phorum in will take care of that). They could be added in the header.tpl file in the template directory you use. You could look at the header.tpl file in the emerald template to see for the code that will generate the links (around lines 113-137 - user-info div). You would need to change the link addresses to point to the site&#039;s registration, login and logout pages in your revised header.tpl file.]]></description>
            <dc:creator>DavidVB</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 26 Mar 2010 10:56:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,143807#msg-143807</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,143807#msg-143807</link>
            <description><![CDATA[ Hi,<br />
<br />
Firstly just to say thanks for this mod and the Drupal plugin. It looks like an excellent solution and I&#039;ve pretty much got it all working.<br />
<br />
One slight problem I&#039;ve had is the call to phorum_mod_external_authentication_db_get_user in hook_user_session_restore.php. I was getting an undefined function call error. Adding <br />
<br />
[code=&quot;php&quot;]<br />
include_once(&quot;./mods/external_authentication/db_bin/db_functions.php&quot;);<br />
[/code]<br />
<br />
to the top of hook_user_session_restore.php fixed the issue but I think I&#039;m probably missing something since no one else has reported this problem.<br />
<br />
I&#039;ve deployed phorm into the root of my Drupal site. The folder structure from there is:<br />
<br />
<pre class="bbcode">
www
  phorum
    mods
      external_authentication
        db_bin (location of phorum_mod_external_authentication_db_get_user)
        js_bin
        lang
        plugins_bin (location of hook_user_session_restore.php that causes the error)
        settings_bin</pre>
<br />
Any advise would be really appreciated on this.<br />
<br />
Finally I&#039;m not currently embedding the forum in the site. Login to Drupal is correctly creating the session in phorm (which is great!) but when I navigate to the forum there is no logout link. Should I expect to see one? Equally what would be the correct approach for showing a register/login link at the top of the forum for anonymous users looking at the forum?<br />
<br />
Thanks in advance for any help,<br />
Paul.]]></description>
            <dc:creator>pauld</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 26 Mar 2010 07:17:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,142117#msg-142117</guid>
            <title>.</title>
            <link>https://www.phorum.org/support/read.php?62,134494,142117#msg-142117</link>
            <description><![CDATA[ .]]></description>
            <dc:creator>jorgealexander</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 27 Nov 2009 10:43:58 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,141745#msg-141745</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,141745#msg-141745</link>
            <description><![CDATA[ Thnx! Uploading new version as we speak.]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 03 Nov 2009 23:58:55 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,141669#msg-141669</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,141669#msg-141669</link>
            <description><![CDATA[ Sergej,<br />
<br />
Thanks for pointing out that bug, I&#039;m not sure why I never saw it.  I have fixed it in R4 of the Drupal plugin (you really only need to install the hook_user_save.php file).]]></description>
            <dc:creator>Joe Curia</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 01 Nov 2009 12:08:30 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,141667#msg-141667</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,141667#msg-141667</link>
            <description><![CDATA[ Joe,<br />
<br />
Encountered this error in the admin, after a refresh its gone though:<br />
<br />
Fatal error: Call to undefined function user_load() in /phorum5/mods/external_authentication/plugins_bin/drupal_6_x/hook_user_save.php on line 34]]></description>
            <dc:creator>Sergej</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sun, 01 Nov 2009 01:29:16 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,141644#msg-141644</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,141644#msg-141644</link>
            <description><![CDATA[ <b>Thanks Joe for the quick fix.</b> <br />
<br />
I have tested R3 in my development box and it works fine.<br />
<br />
I was in darkness for the last 1 month due to this bug. But since I didn&#039;t have any prior development experience in Phorum and Drupal I couldn&#039;t clearly find a solution. I&#039;m happy that I was able to provide the correct test case.<br />
<br />
thanks once again.<br />
Sasikala]]></description>
            <dc:creator>gnuwings</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 29 Oct 2009 13:03:26 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,141639#msg-141639</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,141639#msg-141639</link>
            <description><![CDATA[ Sasikala, sorry I missed your earlier post.  Thank you for reporting this bug.  I was able to track down and resolve the issue, aided in large part by the thorough debugging in your second post.<br />
<br />
Please download R3 of the Drupal plugin and install it (the only file that really needs to be uploaded is the &quot;/drupal_6_x/hook_user_session_restore.php&quot; file).  This should resolve your issue.  Thanks again for you work on this.]]></description>
            <dc:creator>Joe Curia</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Thu, 29 Oct 2009 11:09:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,141622#msg-141622</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,141622#msg-141622</link>
            <description><![CDATA[ I have posted a query about the logout issue of Phorum-Drupal  module in this thread. But unfortunately I didn&#039;t got any response regarding the issue. So I tried to investigate the root cause of the issue. It seems the issue is with the sessions table in drupal. Before doing the test case below, I have emptied  drupal&#039;s session table:<br />
<br />
<pre class="bbcode">
mysql&gt; select * from sessions;
Empty set (0.00 sec)</pre>
<br />
Now I visit the phorum link(http://localhost/projects/qcsc/phorum/) and the sessions table got populated:<br />
<pre class="bbcode">
mysql&gt; select * from sessions;
+-----+----------------------------+-----------+------------+-------+---------+
| uid   | sid                                     | hostname | timestamp | cache | session |
+-----+----------------------------+-----------+------------+-------+---------+
|   0   | rt1rkmvq7o44634l3dgfiqs7k0 | 127.0.0.1 | 1256757244 |     0 |         | 
+-----+----------------------------+-----------+------------+-------+---------+
1 row in set (0.00 sec)</pre>
<br />
After logging to drupal(http://localhost/projects/qcsc/drupal) in the same browser:<br />
<br />
<pre class="bbcode">
|   0 | rt1rkmvq7o44634l3dgfiqs7k0 | 127.0.0.1 | 1256757244 |     0 |                         | 
|   5 | o743phib0rtufnej7m3655e6b4 | 127.0.0.1 | 1256757390 |     0 | support_client|s:1:&quot;1&quot;;</pre>
<br />
<br />
Now when I visited the phorum URL it got automatically logged in as drupal user:<br />
<pre class="bbcode">
|   5 | rt1rkmvq7o44634l3dgfiqs7k0 | 127.0.0.1 | 1256757467 |     0 |                         | 
|   5 | o743phib0rtufnej7m3655e6b4 | 127.0.0.1 | 1256757390 |     0 | support_client|s:1:&quot;1&quot;;</pre>
 <br />
<br />
After signing off from drupal:<br />
<pre class="bbcode">
|   5 | rt1rkmvq7o44634l3dgfiqs7k0 | 127.0.0.1 | 1256757467 |     0 |         | 
|   0 | o743phib0rtufnej7m3655e6b4 | 127.0.0.1 | 1256757511 |     0 |         |</pre>
<br />
<br />
Only the entry corresponding to the drupal session is reset. The entry which was created when I visited phorum is still in drupal&#039;s table. <br />
<br />
I think the sign out issue I explained above is due to this entry. Is this a bug? or am I doing something wrong?<br />
<br />
Please help<br />
Sasikala]]></description>
            <dc:creator>gnuwings</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 28 Oct 2009 14:21:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,134494,140774#msg-140774</guid>
            <title>Re: Module: External Authentication</title>
            <link>https://www.phorum.org/support/read.php?62,134494,140774#msg-140774</link>
            <description><![CDATA[ did you read at all what this thread is about?<br />
the integration code is in the first post or better its available for this module.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 23 Sep 2009 04:52:56 -0500</pubDate>
        </item>
    </channel>
</rss>
