<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Phorum Support Forums - Phorum Development</title>
        <description>Discussion of Phorum development. No support requests please.</description>
        <link>https://www.phorum.org/phorum5/list.php?14</link>
        <lastBuildDate>Thu, 21 May 2026 09:42:31 -0400</lastBuildDate>
        <generator>Phorum 5.2.22</generator>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162601,162601#msg-162601</guid>
            <title>Fixes for PHP 7/8 (23 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162601,162601#msg-162601</link>
            <description><![CDATA[ If someone is interested in the work of Phorum with PHP 7/8 you can try the version with my fixes which you can download at [<a href="https://github.com/s2k0z/phorum-core/archive/refs/heads/php78-compat.zip" target="_blank"  rel="nofollow">github.com</a>]]]></description>
            <dc:creator>Sergei K</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Wed, 17 May 2023 02:29:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162348,162348#msg-162348</guid>
            <title>Contact Owners (4 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162348,162348#msg-162348</link>
            <description><![CDATA[ Hello!<br />
<br />
Does anyone know how I can get in touch with the owners of this project? I am a PHP developer and business owner, and I am looking to make an offer to take over the Phorum project, and give it the love and attention it deserves!<br />
<br />
If anyone can PM me some contact info, that would be wonderful. Thank you!]]></description>
            <dc:creator>ZME_243</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Fri, 29 May 2020 17:15:37 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162317,162317#msg-162317</guid>
            <title>format_functions module only active on initial post (no replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162317,162317#msg-162317</link>
            <description><![CDATA[ I altered the format_functions.php file a little to replace some words used in my forum to links to my website. To do this I added this code to the format_functions.php file:<br />
<br />
        // Work on the message body ========================<br />
<br />
        if (isset($message[&quot;body&quot;]))<br />
        {<br />
            $body = $message[&quot;body&quot;];<br />
<br />
            // Convert legacy &lt;&gt; urls into bare urls.<br />
            $body = preg_replace(&quot;/&lt;((http|https|ftp):\/\/[a-z0-9;\/\?:@=\&amp;\$\-_\.\+!*&#039;\(\),~%]+?)&gt;/i&quot;, &quot;$1&quot;, $body);<br />
<br />
            // Escape special HTML characters.<br />
            $escaped_body = htmlspecialchars($body, ENT_COMPAT, $PHORUM[&quot;DATA&quot;][&quot;HCHARSET&quot;]);<br />
<br />
		$pattern=array();<br />
		$replacement=array();<br />
<br />
                $pattern[0]=&quot;<span style="color:#FF0000">my search word</span>&quot;; $replacement[0]=&quot;<span style="color:#FF0000">link to a page on my site</span>&quot;;<br />
                $pattern[1]=&quot;<span style="color:#FF0000">my other search word</span>&quot;; $replacement[1]=&quot;<span style="color:#FF0000">link to an other page on my site</span>&quot;;<br />
               etc.<br />
<br />
                $replaced_body = str_replace($pattern, $replacement, $escaped_body);<br />
<br />
            if($replacecount == 0){<br />
		<br />
                if($replaced_body != $escaped_body){<br />
                    $escaped_body = $replaced_body;<br />
                    $replacecount++;<br />
                }<br />
<br />
etc....<br />
<br />
Now this works fine for the initial posts, but it does not work on the replies. How can i do the same to the replies?<br />
<br />
BR, Emphyrio61]]></description>
            <dc:creator>emphyrio61</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Tue, 14 May 2019 09:15:56 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162298,162298#msg-162298</guid>
            <title>Contact Form Validation (no replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162298,162298#msg-162298</link>
            <description><![CDATA[ Hello, I&#039;m very new to this. I was able to but a smtp contact form together and it&#039;s working but the only issue I have and can&#039;t figure out is the validation. I would love to have all for fields mandatory and also no resubmission when refresh.<br />
<br />
Attached are all my files. Every help is very appreciated. Thanks Martin]]></description>
            <dc:creator>fotodude76</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Fri, 01 Mar 2019 10:27:37 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162175,162175#msg-162175</guid>
            <title>some modifications for lan network version ...this is how I made them (5 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162175,162175#msg-162175</link>
            <description><![CDATA[ Good day and happy new year.<br />
<br />
I am abubasil (man 49yrs ) from Iraq.<br />
I would like to thank you for this awesome phorum.<br />
I would like to share with you these ideas about how to deploy phorum to be used in lan network for better results.<br />
<br />
1- date format . because the date in utf8 languages does not show properly.<br />
inside the include/foramt_functions.php file change the date function to be like this<br />
<br />
function phorum_date( $picture, $ts )<br />
{<br />
	//use your timezone<br />
date_default_timezone_set(&quot;Asia/Baghdad&quot;);<br />
	$thedate = strftime(  $ts );<br />
	return gmdate(&#039;Y-m-d&#039;,$thedate );<br />
<br />
}<br />
<br />
this will display this format  2019-1-1 of today.<br />
<br />
2- inside posting.php file i add<br />
&lt;script src=&quot;[<a href="http://js.nicedit.com/nicEdit-latest.js&quot" target="_blank"  rel="nofollow">js.nicedit.com</a>]; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />
&lt;script type=&quot;text/javascript&quot;&gt;bkLib.onDomLoaded(nicEditors.allTextAreas);&lt;/script&gt;<br />
<br />
this will include the <a href="http://nicedit.com/demos.php" target="_blank"  rel="nofollow">nicedit</a>.js wyswyg rich text editor.<br />
<br />
The posting.php file will htmlspecialchars the message.<br />
so I went to the format_functions.php file again <br />
and renamed the phorum_format_messages function into phorum_format_messages_old<br />
and make a new one with the original name phorum_format_messages<br />
and this will be like this<br />
<br />
function phorum_format_messages ($data, $author_specs = NULL) 	{ return $data;}<br />
<br />
this will allow formatting the post properly<br />
<br />
now what if someone wants to upload -insert an image via that editor?<br />
I have a modified version of nicedit with a php file that receives the images uploaded by users and save them into upload directory at the root path. but I could not upload them here for I am not allow to upload php or js files.<br />
<br />
That&#039;s all the talk.<br />
<br />
What I need is to increase the files size for users to upload big files (my php.in file set to 528mb)<br />
the print view too does have much unnecessary details that should not show in a printable version of the pages.<br />
<br />
Thank you.]]></description>
            <dc:creator>abubasil</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Thu, 03 Jan 2019 22:41:24 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162110,162110#msg-162110</guid>
            <title>Black/Dark Gray (1 reply)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162110,162110#msg-162110</link>
            <description><![CDATA[ Is there any Black/Dark Gray Theme out there for Phorum5?]]></description>
            <dc:creator>vincitydaimo</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Thu, 25 Oct 2018 10:53:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162101,162101#msg-162101</guid>
            <title>Phorum working with php7 (2 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162101,162101#msg-162101</link>
            <description><![CDATA[ Hi,<br />
My host is moving to php 7, will phorum 5.2.18 still work?]]></description>
            <dc:creator>pat</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Thu, 25 Oct 2018 10:57:23 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,162010,162025#msg-162025</guid>
            <title>Re: permissions needed (-1 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,162010,162025#msg-162025</link>
            <description><![CDATA[ having the same doubt though... I am unable to read the template form a particular user level. Are there any conditions?]]></description>
            <dc:creator>Finnich Vessal</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Wed, 31 Dec 1969 19:00:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,161978,161978#msg-161978</guid>
            <title>private message API (1 reply)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,161978,161978#msg-161978</link>
            <description><![CDATA[ Hi there, <br />
I was hoping the API would provide me with a function that is like something like phorum_user_new_private_message_total() or something but I realize, there is nothing there about private message. <br />
<br />
Without going into the database directly is it possible, through an API somewhere that I may have missed, to access or manipulate private messages. <br />
<br />
Thanks.]]></description>
            <dc:creator>carllwyman</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Thu, 24 May 2018 08:24:19 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,161763,161763#msg-161763</guid>
            <title>Phorum fork? (3 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,161763,161763#msg-161763</link>
            <description><![CDATA[ I was just wounding if I can do a fork of the 5.1.25 version? I saw in the license that I would have to get a written permission from you guys for me to to this.]]></description>
            <dc:creator>Etrix</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Fri, 29 Sep 2017 13:55:00 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,161759,161759#msg-161759</guid>
            <title>Authorisation : can I log in via URL ? (1 reply)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,161759,161759#msg-161759</link>
            <description><![CDATA[ We are Implementing phorum for a client. <br />
<br />
The client has an existing .net website, with its own authentication system. They are looking at implementing forum software in addition to this site.<br />
<br />
The password for users on this website is hashed and salted.<br />
<br />
The client wants one password for all systems - the .net website being the master, with all other systems authenticating against it.<br />
<br />
Is such an integration possible? E.g. would we be able to create a user on phorum if a user registers on the .net website?<br />
Is it possible to create a URL which we can send to the user, which will allow him to be logged in , without actually entering his username/password?]]></description>
            <dc:creator>jxharding</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Tue, 19 Sep 2017 22:18:24 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,161723,161723#msg-161723</guid>
            <title>Email extraction from websites (1 reply)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,161723,161723#msg-161723</link>
            <description><![CDATA[ Good morning.<br />
<br />
Is it possible to extract all of the emails from a list of links in an excel file column? Once extracted, put them in the cell next to the link.<br />
<br />
Thank you]]></description>
            <dc:creator>stefanoste78</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Mon, 14 Aug 2017 18:49:14 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,161707,161707#msg-161707</guid>
            <title>Introductions (1 reply)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,161707,161707#msg-161707</link>
            <description><![CDATA[ Hi everyone<br />
<br />
so i posted something earlier about a game i play, i was wondering where the topic has moved?<br />
anyways, i have some questions<br />
<br />
1. i need to change the name of the page index.php to forum.php can i do this without any code changes<br />
2. i have an accounts system with multiple profiles per account (5 max), can you please point me to a suitable mod?, topics need to persist after a profile is deleted<br />
<br />
my code is open source, you may contribute to it if you wish<br />
<br />
-Regards]]></description>
            <dc:creator>tenerefis</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Fri, 11 Aug 2017 22:42:50 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,160773,160773#msg-160773</guid>
            <title>urgent responds pls (no replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,160773,160773#msg-160773</link>
            <description><![CDATA[ please i need to know how to make my phorum work with other plugins or work close to wordpress feature or better still look like this phorum with his top menus and main menus.]]></description>
            <dc:creator>@9japromotions</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Thu, 18 Aug 2016 18:58:42 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,158425,158425#msg-158425</guid>
            <title>Hi there, i am going to use phorum software  for my upcoming forum but, i have some question if anyone can help i will be very thankful to him. (4 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,158425,158425#msg-158425</link>
            <description><![CDATA[ Hi there,<br />
i am going to  use this forum software   for my upcoming forum but, i have some question if anyone can help, i will be very thankful to him.<br />
1)I want to  Make user register and login only through twitter And only those users can post on the forum which are register through twitter.<br />
2) if someone posts on the forum  that should  be automatically posted on the twitter page  of that person and if some one reply to that post on the forum  that  should also be  added to the twitter page of that person. <br />
.Thread-starter can write a link like &quot;google.com&quot; and then the webpage screen frame of &quot;google.com&quot; will appear inside the thread.]]></description>
            <dc:creator>walterfenley</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Tue, 21 Jun 2016 04:32:53 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,158405,158405#msg-158405</guid>
            <title>User login issue (no replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,158405,158405#msg-158405</link>
            <description><![CDATA[ Hi, <br />
<br />
I&#039;m creating pages and allowed registered user to do more things. I found if they are not logged in, and I will redirect them to the phorum page. If I set the redir params, they also can be send back to where they were. which was great!<br />
<br />
but, there always is a better way. I want to use JavaScript to check there login status first, if not logged in, just popup a box (i&#039;m using fancybox), user just simply input their user name and password without leaving this current page. However, I don&#039;t know where is the right place to set the cookie. I tried to set the cookie at the parent page, no luck. I set the cookie at the ajax server page. no luck. <br />
<br />
Please advise!<br />
<br />
Thanks!]]></description>
            <dc:creator>anarki</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Mon, 30 May 2016 06:45:34 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,155745,155745#msg-155745</guid>
            <title>Crowdfunding for Phorum - Wordpress-PlugIn (7 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,155745,155745#msg-155745</link>
            <description><![CDATA[ Dear Phorum community!<br />
<br />
Lets continue with Phorum! It’s a wonderful light software and I will absolutely not switch to phpbb or something other complicated.<br />
<br />
However, we should point out what resources are needed and how we get them. One way could be crowdfunding. I know this from other OpenSource projects and I know it can be successful. <br />
<br />
So lets start now: <br />
<br />
Step 1: What items have to be developed? <br />
Step 2: What are the priorities of the items?<br />
Step 3: How many does the first 5 items cost?<br />
<br />
When we put this in a list and we start the crowdfunding. <br />
<br />
What do you think?<br />
<br />
Best regards,<br />
Wolfgang]]></description>
            <dc:creator>networkinghomer</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Tue, 29 Jan 2019 14:37:49 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,155691,155691#msg-155691</guid>
            <title>Improving md5 password storage security (17 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,155691,155691#msg-155691</link>
            <description><![CDATA[ Just doing a general security audit of my phorum installations and noticed this.  If I&#039;ve got this wrong, please let me know.<br />
<br />
With the general availability of md5 rainbow tables, if anyone hacked my phorum database and got the users table, it would be very easy to crack any passwords up to 9 chars in length because the passwords aren&#039;t salted.<br />
<br />
Free rainbow tables.... [<a href="http://project-rainbowcrack.com/table.htm" target="_blank"  rel="nofollow">project-rainbowcrack.com</a>]<br />
<br />
The problem described.... [<a href="https://crackstation.net/hashing-security.htm" target="_blank"  rel="nofollow">crackstation.net</a>]<br />
<br />
In the interesting of protecting my users and my own liability, I would like to change Phorum&#039;s password hashing algo to use the following salted hashes:<br />
<br />
Salted Password Hashing - Doing it Right: [<a href="https://crackstation.net/hashing-security.htm" target="_blank"  rel="nofollow">crackstation.net</a>]<br />
<br />
In order to implement this change, it looks like I would have to:<br />
<br />
1. Increase the length of the password and password_temp columns in the users table<br />
<br />
2. Change all password hashing calls in include/api/user.php<br />
- phorum_api_user_save() doesn&#039;t have any hook to override the default md5() hashing<br />
- could use user_authenticate hook to check login<br />
- md5 for session vars is ok<br />
<br />
<s>3. Change all password hashing calls in login.php and register.php</s> <br />
- looks like these don&#039;t need to be changed, md5 for registration verify is ok<br />
<br />
Any other places I should look?<br />
<br />
Is password_temp used for anything other than registration email verification?   I only see it being set to substr(md5(microtime()), 0, 8) so there&#039;s no danger of the unsalted password hash going over unecrypted SMTP.  If so, I&#039;m not going to bother salting it.<br />
<br />
Thanks,<br />
Skye]]></description>
            <dc:creator>Skye N.</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Fri, 24 Mar 2017 08:23:57 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,155667,155667#msg-155667</guid>
            <title>Best way to search thread metadata? (6 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,155667,155667#msg-155667</link>
            <description><![CDATA[ Hello, I&#039;m writing a tagging module to allow users to tag threads with a simple array of strings.  I&#039;m using v5.2<br />
<br />
The way I&#039;ve done this in other modules is to store the array in the first post&#039;s metadata (parent_id = 0).  Easy enough.<br />
<br />
But, the challenge here is how to filter the thread list by those meta tags.  I think I have two options:<br />
<br />
1. Add tag support to search.php<br />
2. Filter the topc list via list.php<br />
<br />
Option #1 - Adding a new parameter to the search is easy enough, and there is already a hook &quot;search_action&quot; that allows a module to bypass the built-in phorum_db_search().  However, that would require writing a new phorum_db_search() as the existing DB layer functions don&#039;t have hooks.  I don&#039;t need to combine tag search with the other search params, so that makes it fairly easy.  However, I would have to somehow parse/search the &quot;meta&quot; column within the search SQL itself - very hacky/fragile<br />
<br />
Option #2 - Modify the thread list to filter by tag(s).  Looking at list.php, there doesn&#039;t seem to be a standard hook to bypass the built-in phorum_db_get_thread_list() - but it would be easy enough to add a new phorum_hook call.   But, then I&#039;m in the same position of writing a new phorum_db_get_thread_list() to SQL search the serialized meta data just like before.<br />
<br />
Any tips or tricks or hints or thoughts on this?  Do any other modules implement SQL meta data search that I can look at?<br />
<br />
Thanks,<br />
Skye]]></description>
            <dc:creator>Skye N.</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Sat, 16 Oct 2021 17:45:38 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,155662,155662#msg-155662</guid>
            <title>Improving Phorum performance (6 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,155662,155662#msg-155662</link>
            <description><![CDATA[ Hello,<br />
<br />
I am currently in the process of improving my website performance.<br />
And although Phorum is great, and I use it since several years, there may be some things to do to improve its performance.<br />
<br />
First some background:<br />
Users of my web site were complaining about slow pages, so I decided to take action. My PHP code was a bit old, my CSS and JS files management not really up-to-date. During the past years I have been working on adding new features to my web site, not improving and tuning the current code.<br />
So I submitted my web site to online performance analyzers, here are some example with a phorum.org URL (http://www.phorum.org/phorum5/read.php?61,155655):<br />
[<a href="http://gtmetrix.com/reports/www.phorum.org/VuVV7SMk" target="_blank"  rel="nofollow">gtmetrix.com</a>]<br />
[<a href="http://www.webpagetest.org/result/150217_YM_FYT/" target="_blank"  rel="nofollow">www.webpagetest.org</a>]<br />
[<a href="https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.phorum.org%2Fphorum5%2Fread.php%3F61%2C155655&amp;tab=desktop" target="_blank"  rel="nofollow">developers.google.com</a>]<br />
(if the direct link does not display the result, you can submit it yourself).<br />
<br />
Conclusion:<br />
There are many things one can do, such as:<br />
  * reducing image sizes: some GIF or PNG files could be reduced<br />
  * minifying CSS<br />
  * minifying JS<br />
  * moving JS at the bottom of the page to have a faster display of the page<br />
  * combine images using CSS sprite<br />
  * specify image dimensions<br />
  * etc.<br />
<br />
There are a lot of small things we could do to improve it, and I can code some of them.<br />
How do I proceed? Where can I get the latest dev branch? Or do I submit patches on the latest stable code? And where: here or by email?<br />
<br />
Thanks :)]]></description>
            <dc:creator>cactux</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Fri, 27 Feb 2015 14:27:29 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,155532,155532#msg-155532</guid>
            <title>Attached Or USE template in the admin files. (3 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,155532,155532#msg-155532</link>
            <description><![CDATA[ Hey! currently there is no language file to the admin panel.<br />
How can i modify myself and and it?<br />
<br />
I tried this:<br />
<br />
<pre class="php bbcode_geshi"><div class="head">Language: PHP</div>in the language <a href="http://www.php.net/file"><span class="kw3">file</span></a><span class="sy0">...</span>
<span class="sy0">...</span>	
<span class="st0">&quot;phorumAdminTitle&quot;</span>                <span class="sy0">=&gt;</span>      <span class="st0">&quot;התחברות לפאנל ניהול&quot;</span><span class="sy0">,</span>
       <span class="sy0">...</span></pre>
in the header.php i change from &quot;Admin Panel&quot; to:<br />
<pre class="html4strict bbcode_geshi"><div class="head">Language: HTML</div>.....<span class="sc2">&lt;<a href="http://december.com/html/4/element/td.html"><span class="kw2">td</span></a> <span class="kw3">class</span><span class="sy0">=</span><span class="st0">&quot;statusbar_edge&quot;</span>&gt;</span>[b]{MESSAGE-&gt;phorumAdminTitle}[/b]<span class="sc2">&lt;<a href="http://december.com/html/4/element/small.html"><span class="kw2">small</span></a>&gt;&lt;<a href="http://december.com/html/4/element/br.html"><span class="kw2">br</span></a> <span class="sy0">/</span>&gt;</span> ....</pre>
But not working. anyway around it?]]></description>
            <dc:creator>Benny</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Thu, 20 Nov 2014 09:59:56 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,155519,155519#msg-155519</guid>
            <title>In which PHP Framework Phorum used? Laravel ? (3 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,155519,155519#msg-155519</link>
            <description><![CDATA[ I was wondering in which framework the developer here use to build phorum.]]></description>
            <dc:creator>Benny</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Sun, 16 Nov 2014 03:22:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,154961,154961#msg-154961</guid>
            <title>Possible spoofing of $redir url with subdomain/domain (no replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,154961,154961#msg-154961</link>
            <description><![CDATA[ github.com/Phorum/Core/blob/master/login.php [<a href="https://github.com/Phorum/Core/blob/master/login.php" target="_blank"  rel="nofollow">github.com</a>]<br />
<br />
<pre class="php bbcode_geshi"><div class="head">Language: PHP</div><span class="re0">$redir_ok</span> <span class="sy0">=</span> <span class="kw4">FALSE</span><span class="sy0">;</span>
                <span class="re0">$check_urls</span> <span class="sy0">=</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
                <span class="kw1">if</span> <span class="br0">&#40;</span><span class="sy0">!</span><a href="http://www.php.net/empty"><span class="kw3">empty</span></a><span class="br0">&#40;</span><span class="re0">$PHORUM</span><span class="br0">&#91;</span><span class="st_h">';login_redir_urls'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
                    <span class="re0">$check_urls</span> <span class="sy0">=</span> <a href="http://www.php.net/explode"><span class="kw3">explode</span></a><span class="br0">&#40;</span><span class="st_h">';,'</span><span class="sy0">;,</span> <span class="re0">$PHORUM</span><span class="br0">&#91;</span><span class="st_h">';login_redir_urls'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="br0">&#41;</span><span class="sy0">;</span>
                <span class="br0">&#125;</span>
                <span class="re0">$check_urls</span><span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="st_h">';http://localhost'</span><span class="sy0">;;</span>
                <span class="re0">$check_urls</span><span class="br0">&#91;</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="re0">$PHORUM</span><span class="br0">&#91;</span><span class="st_h">';http_path'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="sy0">;</span>
&nbsp;
                <span class="kw1">foreach</span> <span class="br0">&#40;</span><span class="re0">$check_urls</span> <span class="kw1">as</span> <span class="re0">$check_url</span><span class="br0">&#41;</span>
                <span class="br0">&#123;</span>
                     <span class="co1">// The redir-url has to start with one of these URLs.</span>
                     <span class="kw1">if</span> <span class="br0">&#40;</span><a href="http://www.php.net/stripos"><span class="kw3">stripos</span></a><span class="br0">&#40;</span><span class="re0">$redir</span><span class="sy0">,</span> <span class="re0">$check_url</span><span class="br0">&#41;</span> <span class="sy0">===</span> <span class="nu0">0</span><span class="br0">&#41;</span> <span class="br0">&#123;</span>
                            <span class="re0">$redir_ok</span> <span class="sy0">=</span> <span class="kw4">TRUE</span><span class="sy0">;</span>
                            <span class="kw1">break</span><span class="sy0">;</span>
                     <span class="br0">&#125;</span>
                <span class="br0">&#125;</span></pre>
<br />
<br />
 Correct me if I&#039;m wrong but a cleverly crafted url, any url with localhost* will return true.<br />
IE: [<a href="http://localhost.phishingsite.com" target="_blank"  rel="nofollow">localhost.phishingsite.com</a>], [<a href="http://localhostxffsgaggesgssdsjadsajdasd.com" target="_blank"  rel="nofollow">localhostxffsgaggesgssdsjadsajdasd.com</a>]<br />
This would appear to be an easy way for phishers to bypass the protection written.<br />
Might be possible with the site url as well if the redirect url had multple subdomains.  target.com.phishingsite.com<br />
This should probably be marked for revision if it&#039;s current code.]]></description>
            <dc:creator>Emerica</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Tue, 04 Mar 2014 19:22:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,154456,154456#msg-154456</guid>
            <title>Git(Hub) and Stuff (3 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,154456,154456#msg-154456</link>
            <description><![CDATA[ Hola everyone. First things first, Phorum is looking promising for my needs...doesn&#039;t have the sheer size of others like phpBB/myBB, which is important for me when developing a highly customized forum since hacking the core is always tedious and potentially troublesome.<br />
<br />
Alas, I don&#039;t see much activity on GitHub...a few stars and forks, a pull request, and about 100 issues filed. Do you guys do your development stuff on a private repository/server? Are pull requests reviewed at all, or is this software still actively maintained?<br />
<br />
Just trying to gauge where you guys are at and what the best way to contribute core code is before I fork and hack away :)]]></description>
            <dc:creator>mjdugan14</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Wed, 16 Oct 2013 03:41:31 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,154324,154324#msg-154324</guid>
            <title>Two Column Design (2 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,154324,154324#msg-154324</link>
            <description><![CDATA[ Hello I need a little bit help with my new Layout. <br />
Here my structure.<br />
<br />
Header 100%<br />
Div Wrapper<br />
    Div Left  70%<br />
    Div Right 30%<br />
/Div Wrapper<br />
Div Footer 100%<br />
<br />
<br />
<br />
I want to add a second column div container. The output from statistic or online user modules should be run into the footer div (full width). But there is only a hook before footer, the output places between div left und div right.]]></description>
            <dc:creator>bandlow</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Wed, 25 Sep 2013 06:21:23 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,154280,154282#msg-154282</guid>
            <title>Re: What about Zend Opcode Cache? (-1 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,154280,154282#msg-154282</link>
            <description><![CDATA[ Well, its an opcode cache, its used by php automatically. There is no support we have to build into phorum for it. <br />
It doesn&#039;t do data cache as apc does which is what the caching layer in phorum is for.]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Wed, 31 Dec 1969 19:00:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,154266,154271#msg-154271</guid>
            <title>Re: MOAR DEVS!? (-1 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,154266,154271#msg-154271</link>
            <description><![CDATA[ Sure, any help would be highly appreciated.<br />
<br />
We posted some ideas about the future architecture in [<a href="http://www.phorum.org/phorum5/list.php?70" target="_blank" >www.phorum.org</a>] but I guess you are talking more about features ;-).<br />
<br />
The general idea is to keep the Phorum Core as fast and versatile as possible - not putting everything in core just for the sake of it - otherwise nothing is forbidden ;).]]></description>
            <dc:creator>Thomas Seifert</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Wed, 31 Dec 1969 19:00:00 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,153686,153686#msg-153686</guid>
            <title>Integrated user creation (no replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,153686,153686#msg-153686</link>
            <description><![CDATA[ I have been developing a system where the visitor is required to log on to use the functionality.<br />
In this system I am using the email address as the user name.<br />
I wanted to add a forum and while creating a user for my system it would make sense to create a user in phorum using the same credentials.<br />
After help from Maurice who pointed me in the direction of a post by KWood I achieved this.<br />
Now because I wanted to do this creation silently and come back to my own code I made a few tweaks.<br />
Here they are if anyone can make use of them.<br />
In my signup routine I have the following code<br />
<pre class="php bbcode_geshi"><div class="head">Language: PHP</div>    <span class="kw1">if</span> <span class="br0">&#40;</span> <span class="br0">&#40;</span><span class="re0">$userid</span> <span class="sy0">=</span> <span class="re0">$user</span><span class="sy0">-&gt;</span><span class="me1">get_user_id</span><span class="br0">&#40;</span> <span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st_h">';email1'</span><span class="sy0">;</span><span class="br0">&#93;</span> <span class="br0">&#41;</span><span class="br0">&#41;</span> <span class="sy0">==</span> USER_ERROR_USERNOTEXIST <span class="br0">&#41;</span>
    <span class="br0">&#123;</span> <span class="re0">$sysparms</span> <span class="sy0">=</span> <span class="kw2">new</span> run_class<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_FIRST_NAME<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st_h">';fname'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_LAST_NAME<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st_h">';lname'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_USERNAME<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st_h">';email1'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_PASSWORD<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st_h">';pw1'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_AUTHORITY<span class="br0">&#93;</span> <span class="sy0">=</span> USER_NOT_PAID<span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_DB_PREFIX<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="br0">&#40;</span><span class="re0">$sysparms</span><span class="sy0">-&gt;</span><span class="me1">increment_user_prefix</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="sy0">.</span> <span class="st_h">';_'</span><span class="sy0">;</span><span class="br0">&#41;</span><span class="sy0">;</span>
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_LANGUAGE<span class="br0">&#93;</span> <span class="sy0">=</span> <span class="re0">$_POST</span><span class="br0">&#91;</span><span class="st_h">';language'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_LAST_RUNNO<span class="br0">&#93;</span> <span class="sy0">=</span> USER_DEFAULT_RUN_NUMBER<span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_LOGON_STATUS<span class="br0">&#93;</span> <span class="sy0">=</span> USER_LOGGED_OFF<span class="sy0">;</span>
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_CREATE_DATE<span class="br0">&#93;</span> <span class="sy0">=</span> <a href="http://www.php.net/strftime"><span class="kw3">strftime</span></a><span class="br0">&#40;</span> <span class="st0">&quot;%Y-%m-<span class="es6">%d</span>&quot;</span><span class="sy0">,</span> <a href="http://www.php.net/mktime"><span class="kw3">mktime</span></a><span class="br0">&#40;</span> <span class="nu0">0</span><span class="sy0">,</span> <span class="nu0">0</span><span class="sy0">,</span> <span class="nu0">0</span><span class="sy0">,</span> <a href="http://www.php.net/date"><span class="kw3">date</span></a><span class="br0">&#40;</span> <span class="st0">&quot;m&quot;</span> <span class="br0">&#41;</span><span class="sy0">,</span> <a href="http://www.php.net/date"><span class="kw3">date</span></a><span class="br0">&#40;</span> <span class="st0">&quot;d&quot;</span> <span class="br0">&#41;</span><span class="sy0">,</span> <a href="http://www.php.net/date"><span class="kw3">date</span></a><span class="br0">&#40;</span> <span class="st0">&quot;Y&quot;</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span><span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_RENEWAL_DATE<span class="br0">&#93;</span> <span class="sy0">=</span> <a href="http://www.php.net/strftime"><span class="kw3">strftime</span></a><span class="br0">&#40;</span> <span class="st0">&quot;%Y-%m-<span class="es6">%d</span>&quot;</span><span class="sy0">,</span> <a href="http://www.php.net/mktime"><span class="kw3">mktime</span></a><span class="br0">&#40;</span> <span class="nu0">0</span><span class="sy0">,</span> <span class="nu0">0</span><span class="sy0">,</span> <span class="nu0">0</span><span class="sy0">,</span> <span class="br0">&#40;</span><a href="http://www.php.net/date"><span class="kw3">date</span></a><span class="br0">&#40;</span> <span class="st0">&quot;m&quot;</span> <span class="br0">&#41;</span><span class="sy0">+</span><span class="re0">$licence_period</span><span class="br0">&#41;</span><span class="sy0">,</span> <a href="http://www.php.net/date"><span class="kw3">date</span></a><span class="br0">&#40;</span> <span class="st0">&quot;d&quot;</span> <span class="br0">&#41;</span><span class="sy0">,</span> <a href="http://www.php.net/date"><span class="kw3">date</span></a><span class="br0">&#40;</span> <span class="st0">&quot;Y&quot;</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span><span class="sy0">;</span>  
      <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_LAST_LOGON<span class="br0">&#93;</span> <span class="sy0">=</span> <a href="http://www.php.net/strftime"><span class="kw3">strftime</span></a><span class="br0">&#40;</span> <span class="st0">&quot;%Y-%m-<span class="es6">%d</span> %H:%M:%S&quot;</span><span class="sy0">,</span> <a href="http://www.php.net/mktime"><span class="kw3">mktime</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#41;</span><span class="sy0">;</span>  
      <span class="re0">$new_user_id</span> <span class="sy0">=</span> <span class="re0">$user</span><span class="sy0">-&gt;</span><span class="me1">create_new_user</span><span class="br0">&#40;</span> <span class="re0">$user_details</span> <span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
      <a href="http://www.php.net/mkdir"><span class="kw3">mkdir</span></a><span class="br0">&#40;</span> <span class="st0">&quot;userfiles/&quot;</span> <span class="sy0">.</span> <span class="re0">$user</span><span class="sy0">-&gt;</span><span class="me1">get_user_db_prefix</span><span class="br0">&#40;</span> <span class="re0">$new_user_id</span> <span class="br0">&#41;</span><span class="sy0">,</span> <span class="nu8">0755</span> <span class="br0">&#41;</span><span class="sy0">;</span></pre>
<br />
Now I know what language the user is working on at this stage so I might as well pass this across to phorum so I can put language support in the forum so after my code I placed the following<br />
<br />
<pre class="php bbcode_geshi"><div class="head">Language: PHP</div>      <span class="kw1">foreach</span><span class="br0">&#40;</span> <span class="re0">$language_code</span> <span class="kw1">as</span> <span class="re0">$key</span> <span class="sy0">=&gt;</span> <span class="re0">$value</span> <span class="br0">&#41;</span>
      <span class="br0">&#123;</span> <span class="kw1">if</span> <span class="br0">&#40;</span> <span class="re0">$key</span> <span class="sy0">==</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_LANGUAGE<span class="br0">&#93;</span> <span class="br0">&#41;</span>
        <span class="br0">&#123;</span> <span class="re0">$phorum_language_file</span> <span class="sy0">=</span> <span class="re0">$value</span><span class="sy0">;</span>
          <span class="kw1">break</span><span class="sy0">;</span> 
        <span class="br0">&#125;</span>
      <span class="br0">&#125;</span>
&nbsp;
      <span class="re0">$raw_query</span> <span class="sy0">=</span> <a href="http://www.php.net/sprintf"><span class="kw3">sprintf</span></a><span class="br0">&#40;</span> <span class="st0">&quot;<span class="es6">%d</span>][<span class="es6">%s</span>][<span class="es6">%s</span> <span class="es6">%s</span>][<span class="es6">%s</span>][<span class="es6">%s</span>][<span class="es6">%s</span>][<span class="es6">%d</span>&quot;</span><span class="sy0">,</span> <span class="re0">$new_user_id</span><span class="sy0">,</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_USERNAME<span class="br0">&#93;</span><span class="sy0">,</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_FIRST_NAME<span class="br0">&#93;</span><span class="sy0">,</span>
        <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_LAST_NAME<span class="br0">&#93;</span><span class="sy0">,</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_PASSWORD<span class="br0">&#93;</span><span class="sy0">,</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>USER_USERNAME<span class="br0">&#93;</span><span class="sy0">,</span> <span class="re0">$phorum_language_file</span><span class="sy0">,</span> <span class="re0">$licence_period</span> <span class="br0">&#41;</span><span class="sy0">;</span>
      <span class="re0">$encoded_query</span> <span class="sy0">=</span> <a href="http://www.php.net/base64_encode"><span class="kw3">base64_encode</span></a><span class="br0">&#40;</span><a href="http://www.php.net/base64_encode"><span class="kw3">base64_encode</span></a><span class="br0">&#40;</span><span class="re0">$raw_query</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span>
      <a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span> <span class="st0">&quot;Location: phorum/cuser.php?idh=&quot;</span> <span class="sy0">.</span> <span class="re0">$encoded_query</span> <span class="br0">&#41;</span><span class="sy0">;</span></pre>
<br />
That gets me onto the page I have created to create the user.  Note I am passing user credentials across to this routine in an encoded query string.<br />
Once in this routine I check and decode and explode the query string.  I now pick up the exploded values and feed them into the api call.<br />
<br />
 <pre class="php bbcode_geshi"><div class="head">Language: PHP</div>  <span class="kw1">if</span> <span class="br0">&#40;</span> <span class="sy0">!</span><a href="http://www.php.net/isset"><span class="kw3">isset</span></a><span class="br0">&#40;</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st_h">';idh'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="br0">&#41;</span> <span class="sy0">||</span> <a href="http://www.php.net/empty"><span class="kw3">empty</span></a><span class="br0">&#40;</span><span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st_h">';idh'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="br0">&#41;</span> <span class="br0">&#41;</span>
  <span class="br0">&#123;</span> <a href="http://www.php.net/exit"><span class="kw3">exit</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span> 
  <span class="br0">&#125;</span>
&nbsp;
  <span class="re0">$idh</span> <span class="sy0">=</span> <span class="re0">$_REQUEST</span><span class="br0">&#91;</span><span class="st_h">';idh'</span><span class="sy0">;</span><span class="br0">&#93;</span><span class="sy0">;</span>
  <span class="re0">$raw_details</span> <span class="sy0">=</span> <a href="http://www.php.net/base64_decode"><span class="kw3">base64_decode</span></a><span class="br0">&#40;</span> <a href="http://www.php.net/base64_decode"><span class="kw3">base64_decode</span></a><span class="br0">&#40;</span> <span class="re0">$idh</span> <span class="br0">&#41;</span> <span class="br0">&#41;</span><span class="sy0">;</span>
  <span class="re0">$user_details</span> <span class="sy0">=</span> <a href="http://www.php.net/explode"><span class="kw3">explode</span></a><span class="br0">&#40;</span> <span class="st0">&quot;][&quot;</span><span class="sy0">,</span> <span class="re0">$raw_details</span> <span class="br0">&#41;</span><span class="sy0">;</span> 
&nbsp;
  <a href="http://www.php.net/define"><span class="kw3">define</span></a><span class="br0">&#40;</span> <span class="st_h">';phorum_page'</span><span class="sy0">;,</span> <span class="st_h">';create_user'</span><span class="sy0">;</span> <span class="br0">&#41;</span><span class="sy0">;</span>
  <span class="kw2">global</span> <span class="re0">$PHORUM</span><span class="sy0">;</span>
  <span class="kw1">include_once</span><span class="br0">&#40;</span> <span class="st_h">';common.php'</span><span class="sy0">;</span> <span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
  <span class="re0">$current_working_directory</span> <span class="sy0">=</span> <a href="http://www.php.net/getcwd"><span class="kw3">getcwd</span></a><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
  <a href="http://www.php.net/chdir"><span class="kw3">chdir</span></a><span class="br0">&#40;</span> <span class="st0">&quot;../phorum&quot;</span> <span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
  phorum_api_user_save<span class="br0">&#40;</span> <a href="http://www.php.net/array"><span class="kw3">array</span></a><span class="br0">&#40;</span>
    <span class="st0">&quot;user_id&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_USER_ID<span class="br0">&#93;</span><span class="sy0">,</span> <span class="co1">// or the user id from your main user database</span>
    <span class="st0">&quot;username&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_USER_NAME<span class="br0">&#93;</span><span class="sy0">,</span>
    <span class="st0">&quot;real_name&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_REAL_NAME<span class="br0">&#93;</span><span class="sy0">,</span>
    <span class="st0">&quot;display_name&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_REAL_NAME<span class="br0">&#93;</span><span class="sy0">,</span>
    <span class="st0">&quot;password&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_PASSWORD<span class="br0">&#93;</span><span class="sy0">,</span>
    <span class="st0">&quot;password_temp&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_PASSWORD<span class="br0">&#93;</span><span class="sy0">,</span>
    <span class="st0">&quot;active&quot;</span> <span class="sy0">=&gt;</span> PHORUM_USER_ACTIVE<span class="sy0">,</span>
    <span class="st0">&quot;admin&quot;</span> <span class="sy0">=&gt;</span> <span class="kw4">FALSE</span><span class="sy0">,</span>
    <span class="st0">&quot;hide_email&quot;</span><span class="sy0">=&gt;</span> <span class="kw4">FALSE</span><span class="sy0">,</span>
    <span class="st0">&quot;email&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_EMAIL<span class="br0">&#93;</span><span class="sy0">,</span>
    <span class="st0">&quot;user_language&quot;</span> <span class="sy0">=&gt;</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_LANGUAGE<span class="br0">&#93;</span>
  <span class="br0">&#41;</span> <span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
  <a href="http://www.php.net/chdir"><span class="kw3">chdir</span></a><span class="br0">&#40;</span> <span class="re0">$current_working_directory</span> <span class="br0">&#41;</span><span class="sy0">;</span>
  <a href="http://www.php.net/header"><span class="kw3">header</span></a><span class="br0">&#40;</span> <span class="st0">&quot;Location: /signup.php?ur=&quot;</span> <span class="sy0">.</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PHORUM_USER_ID<span class="br0">&#93;</span> <span class="sy0">.</span> <span class="st0">&quot;&amp;lp=&quot;</span> <span class="sy0">.</span> <span class="re0">$user_details</span><span class="br0">&#91;</span>PASSTHRU_LICENCE_PERIOD<span class="br0">&#93;</span> <span class="br0">&#41;</span><span class="sy0">;</span></pre>
<br />
When I wrapped up the query string I included the user id from my own code to use as the phorum user ID - just seemed to make sense.<br />
I also included in the string some data I need when I get control back in my own code.  This is passed back in the return header relocation as PASSTHRU_LICENCE_PERIOD.  On the return journey there is nothing sensitive in the so I did not encode it.<br />
<br />
If anyone finds this code snippet useful then I am glad to have helped.<br />
<br />
Many thanks to the guys at Phorum for making this such an easy transition.]]></description>
            <dc:creator>shillier</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Thu, 06 Jun 2013 19:55:04 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,153670,153670#msg-153670</guid>
            <title>Published my forum - thanks to Phorum! (no replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,153670,153670#msg-153670</link>
            <description><![CDATA[ Hey guys, thank you so much Phorum for developing such an amazing free forum software. Thanks to you guys, I was finally able to launch my forum. It&#039;s been out for a few days so far, and already people are signing up. What do you guys think? Is it good for a first-timer? :)<br />
<br />
[<a href="http://omegle-community.comze.com/" target="_blank"  rel="nofollow">omegle-community.comze.com</a>]]]></description>
            <dc:creator>zacnicol</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Sat, 01 Jun 2013 18:37:45 -0400</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/phorum5/read.php?14,153656,153656#msg-153656</guid>
            <title>Phorum Development? (7 replies)</title>
            <link>https://www.phorum.org/phorum5/read.php?14,153656,153656#msg-153656</link>
            <description><![CDATA[ It seems that Phorum is being kept alive but does not get developed any further. Could anybody of the current development team provide a realistic outlook? Thank you!]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>Phorum Development</category>
            <pubDate>Wed, 24 Sep 2014 18:22:25 -0400</pubDate>
        </item>
    </channel>
</rss>
