Firefox PHP

Phorummail for Phorum 5

Posted by Brian Moon 
Re: Phorummail for Phorum 5
February 17, 2005 03:57PM
No, in the post you are refering too that a "phorum <-> maillist"-feature is "not yet done".

that means a INTERFACE between phorum and a maillist, not phorum being a maillist-server on its own (which can't be done at all).


Thomas Seifert
Re: Phorummail for Phorum 5
February 17, 2005 04:00PM
That makes more sense thanks.

http://www.krang.org
Re: Phorummail for Phorum 5
February 21, 2005 06:22PM
brianlmoon Wrote:
-------------------------------------------------------
> Ok, after a long wait it is ready. This add on
> only takes incoming emails and puts them in
> Phorum. To email posts out, you will need to use
> my version of the emailallposts module.
>

To get it to work I had to modify two things:

* add the mimedecode PEAR class in the (nonexistent) ./mail/ directory
* add include_once("./include/profile_functions.php"); to PhorumMail.php (along with the other includes)

Now it works reaosnably fine, thanks for releasing this module! (I'd be stuck with Phorum 3.x otherwise!)


Regards,

Luka
Re: Phorummail for Phorum 5
February 22, 2005 09:01AM
Oh, I guess Mail_Mime is not standard? All the servers I had access to have it on there so I assumed it was.

Why did you need profile_functions? I have this working here without it. Do you have some modules that may need it and did not include it themselves?

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Phorummail for Phorum 5
February 22, 2005 09:18AM
brianlmoon Wrote:
-------------------------------------------------------
> Oh, I guess Mail_Mime is not standard? All the
> servers I had access to have it on there so I
> assumed it was.

Maybe hosted servers have it standard, but I'm running my own setup. There is some more info to be found here: [www.theukwebdesigncompany.com]

> Why did you need profile_functions? I have this
> working here without it. Do you have some modules
> that may need it and did not include it
> themselves?

I got an error in the function: phorum_check_ban_lists()

This function is defined in profile_functions...

> Brian.
> Phorum Hacker
>

Regards,

Luka
Re: Phorummail for Phorum 5
February 22, 2005 09:37AM
> Maybe hosted servers have it standard, but I'm
> running my own setup. There is some more info to
> be found here:

You think I am on a $5/month account? Unless you said --without-pear on the configure or running old PHP version, it should be there. Either way, I have changed the install.txt to mention this.

> I got an error in the function:
> phorum_check_ban_lists()
>
> This function is defined in profile_functions...

Sorry, fixed. I had copied those lines from my test version but not copied the include before releasing.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Attachments:
open | download - phorummail.zip (3.4 KB)
Re: Phorummail for Phorum 5
February 22, 2005 10:46AM
brianlmoon Wrote:
-------------------------------------------------------
> > Maybe hosted servers have it standard, but
> I'm
> > running my own setup. There is some more info
> to
> > be found here:
>
> You think I am on a $5/month account? Unless you
> said --without-pear on the configure or running
> old PHP version, it should be there. Either way,
> I have changed the install.txt to mention this.

I'm not thinking that at all, but I'm running this setup on OS/2 and that has less pre-configured defaults, maybe. PEAR is excluded anyway.

> > I got an error in the function:
> > phorum_check_ban_lists()
> >
> > This function is defined in
> profile_functions...
>
> Sorry, fixed. I had copied those lines from my
> test version but not copied the include before
> releasing.

Okay. I almost got attachments working too - but I am storing them in the filesystem, rather than the database (too much DB growth for my taste)

What I'm trying to figure out is how to get the filedetails correct into the files table. For this, I would need to have the message ID, and I assume there is a function to retrieve it, but that fails so far.

Could you give me a hint?

BTW - I will be using Phorum to store years of mailinglist archives - which contain a lot of attached files - that's why I'm looking into this.

> Brian.
> Phorum Hacker

Thanks,

Luka
Re: Phorummail for Phorum 5
February 22, 2005 12:17PM
luka Wrote:

> What I'm trying to figure out is how to get the
> filedetails correct into the files table. For
> this, I would need to have the message ID, and I
> assume there is a function to retrieve it, but
> that fails so far.
>

Never mind, figured this out as well. Would you be interested in reviewing my hacked mod?

Regards,

Luka
Re: Phorummail for Phorum 5
February 22, 2005 03:26PM
Re: Phorummail for Phorum 5
February 23, 2005 05:20AM
brianlmoon Wrote:
-------------------------------------------------------
> Absolutley.
>
> Brian.
> Phorum Hacker
>

Please find it attached. I added some explanation in the original [install.txt]. It can handle multiple attachments and they can be stored either in the DB or the filesystem.

Enjoy,

Luka
Attachments:
open | download - phorummail.zip (6.3 KB)
Sorry, only registered users may post in this forum.

Click here to login