Phorummail for Phorum 5
Posted by Brian Moon
Re: Phorummail for Phorum 5 February 17, 2005 03:57PM |
Admin Registered: 22 years ago Posts: 9,240 |
Re: Phorummail for Phorum 5 February 17, 2005 04:00PM |
Registered: 19 years ago Posts: 264 |
Re: Phorummail for Phorum 5 February 21, 2005 06:22PM |
Registered: 19 years ago Posts: 14 |
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
-------------------------------------------------------
> 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 |
Admin Registered: 23 years ago Posts: 4,495 |
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?
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 |
Registered: 19 years ago Posts: 14 |
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
-------------------------------------------------------
> 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 |
Admin Registered: 23 years ago Posts: 4,495 |
> 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.
> 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
Re: Phorummail for Phorum 5 February 22, 2005 10:46AM |
Registered: 19 years ago Posts: 14 |
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
-------------------------------------------------------
> > 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 |
Registered: 19 years ago Posts: 14 |
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
> 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 |
Admin Registered: 23 years ago Posts: 4,495 |
Re: Phorummail for Phorum 5 February 23, 2005 05:20AM |
Registered: 19 years ago Posts: 14 |
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
-------------------------------------------------------
> 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
Sorry, only registered users may post in this forum.