Page 1 of 20

[DEV] CM2F -> CM4F Community Messaging Forum

Posted: Tue Aug 26, 2003 1:42 pm
by danyblue
CM4F, Community Messaging 4 Forum

CM2F is an addon to phpBB based forums that allows to receive to integrate phpBB forums and any mailbased communication workflow:
- Mailinglists,
- YahooGroups
- Other Forums,
- and Newsletters.

The system is fully escalable and able to take very high loads without impacting the overall forum performance as all the physical check or email delivery are being made in the background.

The system supports an unlimited of entry channels that are processed into 2 steps:
- InputStreams which actually fetchs the messages from the source applying some basic check and filtering that allows the system to perform easy integration.
- MailStreams, which are the second level of filtering (optional) and that allows the system to implement more advanced routing and filtering processes into CM2F, allowing the system to perform better and accuratly route messages into the forum, even in the case where there is no information about the messages.

The integration of messages into the forum can be made in several predefined modes that are intented to make the life of the administrator easier:
- AUTOMATIC, all the messages are automatically routed accordingly on the rules define in InputStreams and MailStreams
- INTERACTIVE, the system will save the messages in CM2F and then give the hability to the administrator or moderators to actually route interactively the messages into the Forum.
- REPLYMATIC, a mixed of the two previous modes, the first message being manually routed, all following messages belonging to the same thread being routed with the rule applied to first message.
- BAYESIAN, the system using Bayes rules is taugh on how to route some messages, once teached, it will automtically learn to route all other messages.

Once the messages in the forum, CM2F implements very advanced features to get the messages sent out of the forum. The system supports unlimited of F2MStreams, or configurations on how to sent the messages. The result can be fully configurable at all level, from the language, format, From Emails, To, usage of BCC or other field, Destination, etc...

The system can make the forum to act as a mailinglist, without the need o f any external mailinglist software, allowing subscribes, unsubscribes, digests, etc...
Or to be integrated with external mailinglists, groups that allows the admin to better suit the system to its needs.

CM2F architecture make the systems higly configurable, flexible and portable, being the system easily ported to almost any flavor of the phpBB software:
Forum (phpnuke)
phpBB for Mambo
MDForum for MDPro
MOSphpBB for MosPLus(Mambo variant)
xphpbb and xphpbbi for Xoops
phpBB for geeklog
etc ...

A part from this, the system is now being betatested for the SMF Forum and will very soon being available for :
MyBBoard Forum
NewBB for Xoops
XarBB for Xaraya( Without administration integration at this phase)

Being the only time consumming activity the port of the administration interface used by CM2F that cannot be made platform indenpendent.

CM2F Groups is now at 1.0 Preview Version.

It can be downloaded from

It can be tested in the supported environments with following configurations

just to remember that CM2F for phpBB can be tested at

---------------------------------------------------Original Message in Thread--------------------------------------------

after a couple of months away of any development, i am finally getting back to track.
I am the original author of the m2f code that has been released in and that has been continued by another development group (

During my absence i have had time to think about the development roadmap that i wanted to the project, and so i have decided that to change its name to CM2F Comunity Manager (Community Manager to Forum). With this naming convention change, no confusion will be made with the other development group that is doing a good job.

This was it is describing better the future development path of the module, it will always consist in 2 versions, one standalone and one integrated with the PostNuke and PNPhpBB2. This will allow the integration of 3 worlds that can greatly improve community management.

I will be having a demo working for debugging at the following site
http:// by tomorrow. and i hope to release my version by mid september.

The functionalites are basically the following ones:
- Mailing list integration in phpbb2
- Interactively (meaning that for each thread you decide the destination forum.
- Automatically, by default a mailing list is defined to be integrated in a forum.
- phpbb2 to mailing list integration
- this means that the threads posted into a forum can be sent to the mailing list, or to the people which as subscribed to the particular forum.
- Mail colllection through Sendmail, Mbox, Pop,IMAP, Mailing list Archives files
- Meaning that you will be able configure the system to receive
instantly the mailing lists or it is possible to get the messages, or to import all the messages archived.

- Language options and translation

- Control panel menu to configure all the options and to control the functionalities of the site.

-In the version integrated with postnuke, i am currently working on a new news system that will have the articles as the first message in the a phpbb thread.

I will be posting some screenshots during the next days since all the interfaces are ready (although would need some improvements).

The demo site will be in Spanish but if some one have some mailing lists content in other languages that could be used as demonstration i would be very glad to integrate their archives and mailing lists in my system.



As promised the screenshots

Posted: Wed Aug 27, 2003 11:56 am
by danyblue
as promised, here are some screen shots

The admin menu from which all the options of the mode are configured

The mailinglist and forum2mail management screen. ... manage.jpg

[edit=netclectic]big images removed and replaced with just the urls

Images Problems

Posted: Thu Aug 28, 2003 10:49 am
by danyblue

there was a problem with the path to the images that i have sold, but now i am seeing that there is a formating problem that i will solve also during today.


Interactive mode changes

Posted: Fri Aug 29, 2003 10:03 am
by danyblue
I have made some new changes to the interactive manager. Now it is possible to select or unselect all the messages, and it is possible to move or delete a group of messages.
This makes easy the task in the interactive mode to move the threads to the phpbb database.
I am now importing the mailinglists archive of a spanish mailing list which should be ready by today.




Posted: Sat Aug 30, 2003 7:08 am
by danyblue

in order to separate debugging and functiionality, i have setup a new site that is being used to integrate the mailing lists of a spanish mailinglist dedicated to wireless topics. - Will be used as the testing recipient - will be used as deveolpment home site - will be used as source repository



Reply problem solved.

Posted: Sun Aug 31, 2003 8:26 pm
by danyblue

in the last status, i was having some problems with code that was performing the reply detections in order to reconstruct threads. It was occuring only in some special cases, but netherless it was a problem that needed to be solved.
The status update can be found in the dev site



New status

Posted: Wed Sep 03, 2003 10:11 am
by danyblue
during the last days when performing the tests, i have detected some problems with the integration into CM2F of messages that were previously moved to phpbbb database.
The problem is now solved.

I have also implemented in the processing mail functions a filter that avoids messages with messages id already registered to be processed agagin. I have a doubt regarding the filter, since it has been implemented with a sql select, which in large databases could have performance impact.

More detail can be found at
and the testing result at



Posted: Wed Sep 03, 2003 8:05 pm
by PhilippT
nice, did i read right ?

This mod is not for phpbb2 ??? (mean the normal phpbb2)

Mod Usage

Posted: Wed Sep 03, 2003 9:58 pm
by danyblue
Hi Philippe,
i have developped the mode as to be as independent as possible of the version of phpbb where it runs.
I have used phpbb functions as a library so while the functions are the same CM2F should be running perfectly on top of phpbb.
I have started to develop it while in version 2.0 and it is still running with the last version. When i have started the integration with the PNphpbb, it didn't gave any problems.
The only thing that needs to be changed is in the template, to include a subscribe function (since CM2F allows the user to subscribe to a forum just like it would do to a mailinglist) and in the posting function to call the F2M sync function (since CM2F allows mails posted in a forum that are associated to a mailing list to send it directly to the mailing list).
I am sure that eventually in the future the functions that i am using will change or phpbb database will change, and that some rewrite will have to be done, but for now it is working.



Website error

Posted: Wed Sep 03, 2003 10:02 pm
by danyblue
as some of you will have already seen, the website that i have setup for the development is not allowing to see the details about the stories posted on it. I have this solved tomorrow, since i will have reinstalled the website.



Come back

Posted: Sat Sep 06, 2003 4:34 pm
by danyblue

I have recovered the website, and i have finished to test the integration engine and the interactive mode.
I am going now to test the automatic mode, setting up a mailbox that can be used by anyone to send messages that will then be integrated in phpbb.
I have also finish to import a mailinglist archive that had 3 years of messages. It can be seen in, and selecting the forum under "assemblea general" (It is in spanish because it was the mailinglist available.



Problem with Sendmail

Posted: Wed Sep 10, 2003 10:53 am
by danyblue
i am having problems with my sendmail configuration to run the shell that is suppose to perform the integration of the messages into the forum. Does anyone have experience and could tell me what i am doing wrong?



IMAP/POP and MBOX phase

Posted: Fri Sep 12, 2003 8:38 pm
by danyblue
i have updated the status of CM2F on my website.
Due to the complexity of setting up the sendmail .forward mechanism, i have decided to move directly to the IMAP and MBOX modes.
In the meanwhile i will keep on trying to activate the sendmail mode.



Posted: Sun Sep 21, 2003 10:55 pm
by danyblue
I am still having difficulties with the sendmail configuration. At this momento i am not able of running CM2F scripts when emails are coming in.

So i will directly setup for now the crontab and mbox version in order to be able to debug as much as possible.

I am aslo workin in the articles engine of postnuke , wich will allow me to have stories and threads interrelated, this is, one article in Postnuke, will became the first message of the thread, comments to the article will constitute the thread in phpbb. By the same mechanisms, if configured, the first message of a thread can become an article, and the followings, the comments to the article.
It is more or less developped at 50% having delays due to the presentation that i want to give to this module.


Posted: Sun Sep 21, 2003 11:11 pm
by Haywood Jahelpme
thanks for the updates and hard work danyblue. Am very interested in this project.... Wish I could help you out tho... :(