<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Change standard login and logout links</title>
        <description> Hi everybody,

we are integrating this great forum into our community. We already wrote a plugin to bridge our user profiles with phorum.

Currently we are trying to change the standard links e.g. for login.php
The reason is that we want to use our own login page.

I see two solutions to do this by a hack:
1. Change PHORUM_LOGIN_URL in /include/phorum_get_url.php
2. Redirect every call of /login.php to our own login page

With the two above mentioned solutions we cannot be sure that after an upgrade of the phorum this changes won&amp;#039;t be overwritten.  So we would like to solve this issue writing a module.

Our Problem:
We cannot find a hook in the documentation that might fit our needs. We would need a hook that is triggered after the phorum loads its constants and before the login link is shown.

Which hook could you suggest? Any other idea that is upgrade-resistant?

Thank you very much!

Botas</description>
        <link>https://www.phorum.org/support/read.php?28,142376,142376#msg-142376</link>
        <lastBuildDate>Thu, 15 Oct 2026 05:53:39 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?28,142376,142392#msg-142392</guid>
            <title>Re: Change standard login and logout links</title>
            <link>https://www.phorum.org/support/read.php?28,142376,142392#msg-142392</link>
            <description><![CDATA[ Hi David,<br />
<br />
yes this is also a good idea. Thank you.<br />
<br />
Finally I found a solution to solve this issue writing a module that redirects to my pages. I used the &quot;page_&lt;phorum page&gt;&quot; hook to get it working.<br />
<br />
So I used hooks:<br />
1. page_login (called for login.php to mange login and logout and lost pass)<br />
2. page_register (called for register.php)<br />
<br />
CU<br />
Botas]]></description>
            <dc:creator>botas</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Fri, 18 Dec 2009 13:13:53 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?28,142376,142391#msg-142391</guid>
            <title>Re: Change standard login and logout links</title>
            <link>https://www.phorum.org/support/read.php?28,142376,142391#msg-142391</link>
            <description><![CDATA[ Or you could just hard code the link in header.tpl (you should have created a customised version of the templates so they won&#039;t get overwritten in an upgrade).]]></description>
            <dc:creator>DavidVB</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Fri, 18 Dec 2009 12:56:08 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?28,142376,142376#msg-142376</guid>
            <title>Change standard login and logout links</title>
            <link>https://www.phorum.org/support/read.php?28,142376,142376#msg-142376</link>
            <description><![CDATA[ Hi everybody,<br />
<br />
we are integrating this great forum into our community. We already wrote a plugin to bridge our user profiles with phorum.<br />
<br />
Currently we are trying to change the standard links e.g. for login.php<br />
The reason is that we want to use our own login page.<br />
<br />
I see two solutions to do this by a hack:<br />
1. Change PHORUM_LOGIN_URL in /include/phorum_get_url.php<br />
2. Redirect every call of /login.php to our own login page<br />
<br />
With the two above mentioned solutions we cannot be sure that after an upgrade of the phorum this changes won&#039;t be overwritten.  So we would like to solve this issue writing a module.<br />
<br />
Our Problem:<br />
We cannot find a hook in the documentation that might fit our needs. We would need a hook that is triggered after the phorum loads its constants and before the login link is shown.<br />
<br />
Which hook could you suggest? Any other idea that is upgrade-resistant?<br />
<br />
Thank you very much!<br />
<br />
Botas]]></description>
            <dc:creator>botas</dc:creator>
            <category>Phorum Integration</category>
            <pubDate>Thu, 17 Dec 2009 15:48:04 -0600</pubDate>
        </item>
    </channel>
</rss>
