Updated Joomla/Mailman bridge

The goal of this component was to first get the logged in user’s email address, then get a list of public mailman mailing lists that they could subscribe to.  It lists all publicly available lists, with a preselected button based on whether or not they’re already subscribed to that given list.  It allows them to subscribe via regular or digest mode.

They select what list(s) they want, and what mode they want, and click “Subscribe,” and magic happens.  They get subscribed, the web page tells them what happened, and they get an email telling them what happened.

Download the Joomla 1.5 version here. (It is not a native 1.5 component.  It requires Legacy Mode to be enabled to work.)

If you want to see how it works, you’re welcome to sign up to my site, http://www.backupcentral.com/, and log in.  You’ll then see a menu item called “Mailing Lists.”  Click that and you’ll see how it works.  Feel free to subscribe to and post to the mailing list called Testy.

Thank you very much to Stefan Haller who took my raw component and created an admin interface to it.

Install instructions:

1. Install the component via standard install procedures.
2. Point your admin browser to Components -> Mailman2 -> Config, and change the five or six config variables.

3. Make a menu item under your user menu
a. It should be of “Link URL” type
b. It should point to /index.php?option=com_mailman2
c. It should only be available to registered, logged in users
4. That’s it!

FAQs:

Does this require command line access to the Mailman commands?

No.

The component is installed and I configured it in the admin screen, but when I run it, I see “Warning: Invalid argument supplied for foreach() in /home/accname/public_html/components/com_mailman2/mailman2.php on line 203”  What’s up with that?

So far everyone who has had this error has not put the right values in the configuration screen.  The most common misconfiguration mistake is to leave the http:// in the domain name you’re using to admin Mailman.  If your domain admin interface is http://mydomain.com, you should enter just domain.com as the value for the admin domain.

What about the 1.0 version.  Where did it go?

You can download the Joomla 1.0 version of the component here .  (This version is no longer maintained or supported.  You should seriously think about updating Joomla!)

Good luck.  I’d love to see how well you get on with it.

We’re still open to suggestions and welcome anyone who would like to contribute to the work.


102 thoughts on “Updated Joomla/Mailman bridge

  1. zev says:

    Hi. Great idea, but it’s not working right on my site. Even though I have three mailing lists running, none of them show up in the component.
    Maybe there is a setting in Mailman that I need to change to make them appear?
    Thanks.
    Zev
    http://www.janglo.net

  2. ceverett says:

    The reason being that I only want site authors, editors and publishers to log in, so as to reduce administrative hassles. Otherwise, we’d have hundreds of users and that chances of giveing someone the wrong access skyrockets.

  3. mattsoutatown says:

    I’m getting 3 main errors:

    Notice: Constant _MM_TITLE already defined in httpdocs/administrator/components/com_mailman2/language/english.php on line 4

    Notice: Undefined variable: email_message in httpdocs/components/com_mailman2/mailman2.php on line 86
    Your mailing list configuration

    Notice: Undefined variable: table in httpdocs/components/com_mailman2/mailman2.php on line 182

    Any help would be appreciated

    Other than that, everything’s working just fine :confused:

  4. cpreston says:

    Absolutely. It’s just a text file. (./administrator/components/com_mailman2/languages/english.php for english)

    You can even make a new one for another language if you want.

  5. arjaan says:

    There is an “error” in the language files which prevents the user to edit his userdetails when joomla is not installed in the root of the webserver.

    in the string _MM_HOSTED_INTRO3 there is a trailing slash before index.php. Remove this and it works if you have joomla installed in a subdir.

  6. cpreston says:

    That change looks fine. I wonder if this is a version issue. I know that MailMan can do different things with different versions.

    I’ve added it to the main source code. I left the old line commented out in case anyone has any issues with other Mailman versions.

  7. cpreston says:

    Looks like you (or somebody) went and turned on notices in your php.ini. Most people have them turned off. 😉 These really aren’t errors. They’re just "hey you did something stupid in your code" notices.

    The lines of code that were causing the warnings have been fixed.

  8. iknownothing says:

    Hi I translated to simplified_chinese for my own. would you like to share? where to update it?

    my addr iknownothing at gmail

  9. DML says:

    My site is hosted on a shared server so that http://lists.mydomain.org/mailman/admin shows my list and some others that belong to other users’ domains. It would be useful if the component had a filter setting so that the users only see a selected list or lists (I only have one list).

    If the name(s) of the mailing list(s) could be specified in the admin settings for the component, then would it be possible to avoid the need for the lists to be publicly announced lists?

  10. DML says:

    My site is hosted on a server that runs Mailman 2.0.13 and the component displays lists but won’t subscribe or unsubscribe users. I assume this is because it is not designed to work with Mailman 2.0.13.

    Unless I can get my web hosting company to upgrade to Mailman 2.1.9, I need to modify mailman2.php I can probably do this if I can find the difference between the subscribe and unsubscribe URLs for mailman 2.0.13 and 2.1.9. I can’t find this in the Mailman documentation. Does anyone know or is it necessary to work it out from the Mailman source code?

  11. DML says:

    [quote name=DML]My site is hosted on a shared server so that http://lists.mydomain.org/mailman/admin shows my list and some others that belong to other users’ domains. It would be useful if the component had a filter setting so that the users only see a selected list or lists (I only have one list).[/quote]
    I think I have found the answer to this, at least for my shared server. If the URL for the lists page is changed to http://lists.mydomain.org/mailman/listinfo instead of http://lists.mydomain.org/mailman/admin it only lists the lists for mydomain.org so I’ll need to make a small change to mailman2.php

  12. Rocco83 says:

    Hi.

    i have noticied that this component require allow_url_fopen On in php.ini.

    I have php in cgi mode, so i can’t use .htaccess way to workaround, but i don’t think that wrapper it is a good way anyway.

    example:
    http://tutorials.ausweb.com.au/web/Tutorials/PHP-and-MySql/Security-issues—allow_url_fopen/

    Now, i have found (not hard to) the lines that do the bad thing:

    <br />---<br />        $adminurl=&#34;http://&#34; . $l_domain . &#34;/mailman/admin&#34;;<br />        $content=file_get_contents(&#34;$adminurl&#34;,&#34;FALSE&#34;-);<br /><br />        #Content is now some HTML code containing only a few lines of what we need<br />        $listarray = preg_split('/&#92;n/',$content);<br /><br />        #let's loop through it and look for lines that look like this:<br />        #<br />        #Description Text Goes Here<br /><br />        foreach ($listarray as $element) {<br />---<br />

    as i can see from the manual http://www.php.net/function.file-get-contents , that is identical to file(), apart from return type (string instead of array).
    but after file_get_content, there is a string to array part.
    that could be a cleanup, but not the solution.

    now, in php 5.2, there is now allow_url_include, that is sigtly different from allow_url_fopen (less invasive).

    other hint:
    http://wiki.dreamhost.com/index.php/Allow_url_fopen
    http://wiki.dreamhost.com/CURL_PHP_tutorial

    as you can see, i have no solution at all, just hints, you are the coder 🙂

    waiting for update!

    thanks
    daniele

  13. Rocco83 says:

    hi.

    another thing, i have restricted access to mailman only in https, via url rewrite.

    i can see the list, but mailman bridge is not telling me if i am subscribed or not to lists (and i am, to at least one).

    this is a bug due to https?

    thanks
    daniele

  14. morej says:

    On my site, the component worked fine, but did not properly subscribe to digest lists. When a user attempted to subscribe to a digest, they would get subscribed OK, but not to a digest form.

    I fixed it by changing the $turnondigesturl= line to read as follows:

    <br />$turnondigesturl="http://" . $ll_domain . "/mailman/admin/" . $list_name . "/members?user=". $email . "&" ;<br />$turnondigesturl=$turnondigesturl . $email . "_digest=1&setmemberopts_btn=Submit%20Your%20Changes&allmodbit_val=0&";<br />$turnondigesturl=$turnondigesturl . $email . "_language=en&" . $email . "_nodupes=1&" . "adminpw=" . "$ll_adminpw";<br />

    This was tested on Debian with Mailman version 2.1.5-8sarge5

  15. dchinn says:

    The bridge works great!

    I have only one issue that I have seen. When a user subscribes, the brige returns the email address with the domain name appended to the list name. In the mailman configuration, the appended domanin name field is blank.

    Any suggestions?

    Thanks!
    Dave

  16. cpreston says:

    I need to know exactly where this is happening. Can you send me some screen shots and/or forwarded emails to curtis ^at? backupcentral.com ?

  17. zstub says:

    Is there any way to set this so that all new users on the site automatically start getting individual emails when they sign up for Joomla? That would be really great for my site!
    Thanks.

  18. rogerco says:

    Does it work with Joomla 1.5 (with legacy mode on)
    I am getting an error when it tries to install

    * JInstaller::install: File ‘/home/roger/public_html/tmp/install_4720bccc472c0/config.mailman2.php’ does not exist

    It does display the config prompt message though “This component integrates MailMan and Joomla!… You must have a working Mailman installation with publicly advertised mailing lists, access to its administrative interface via the web, and all mailing lists must have their admin password set to the same value. To configure this component, please go to Components -> Mailman2 -> Config.” so it seems to be reading the zip ok. Nothing is appearing in the components or administrator/components folders though.
    Message

    Other extensions install ok so it is not file permissions.
    Has anyone got this working on a 1.5 site?

  19. Jurgentje says:

    Same here… only a different randomized install folder…

    Anxious to have this component running on Joomla 1.5 too… (hoping to go live as soon as it leaves its RC-status)

  20. cpreston says:

    It’s not in the current plans, but if I get enough requests for it, I might consider it.

    (It would also help if someone helped volunteer to code this feature.)

  21. cpreston says:

    I’m not running 1.5 even on a test site, so I can’t test your problem. Sounds like the file structure is different for 1.5. Anyone know of docs that will help me figure out how 1.5 is different?

  22. rogerco says:

    I imagine there ought to be something in dev.joomla.org but on a quick look I couldn’t see anything.

    It appears to be expecting a config.mailman2.php file which isn’t in the archive. I guess there is a parameter you put in the xml or somewhere to tell it what to run.
    But it hasn’t created the _mailman2 table in the database either so there is more to it.

    Other components have been adapted to run under legacy mode in 1.5 – I think your problem may just be to get it to install…but I wouldn’t know where to begin.

  23. Jurgentje says:

    Hi,

    I’ve been looking into your source code for this component… it looks pretty straightforward "picking of the HTML-page".

    I have 3 thoughts with this:

    1. Am I right that this could break on a simple interface change?
    2. Wouldn’t it be possible to … if a member is already subscribed … to sniff the "options" page instead of the more general "admin" page you’re using now (and that still has to be used if an address is not a member yet). One can visit every options page using the admin password…**
    3. Do you plan on using the MVC-approach on the front-end too?

    ** The advantage is that there’s much more options that could be customized this way (I’m specifically thinking of the “Don’t recieve mails” option)

  24. Jurgentje says:

    Is there a way to interactively help developing the component?

    I’ve added “nomail” feature for personal improvement, and would like to turn it into a class-based system. This way, it’s pretty easy to add or update elements without having to rewrite it all…

    But I would really find it frustrating to put lots of energy into it, and then figure out you were doing just the same. (One way or another, the one with the latest release would be frustrated)

    I think subversioning the bridge would be a great idea…

  25. cpreston says:

    Yes, this would need to be tested with each new version of Mailman, but so far I haven’t seen any issues in this area with several different releases of Mailman.

    No, you cannot visit the member’s version of the subscribe page with the admin password. You can visit the admin’s view of the members options page.

    I have no idea what the MVC-approach is.

  26. kool_zero says:

    ok i am getting :

    Warning! This component has not been configured yet.
    You need to configure the com_mailman component via its admin screen in Joomla!
    Go to your Joomla! admin console & select Components -> com_mailman2 and change the default values

    but i have changed the default values. any ideas?

  27. cpreston says:

    If you go back into the config field, are they all still there? Usually this means that you didn’t change all of them. The first five fields must be changed to your site values.

  28. romildo says:

    The same thing happen to me and I found out that the problem is because you probably have the “Appended domain” variable setup in the Mailman2 Joomla config. At least that was my problem.

  29. cpjlboss says:

    I do not believe it is compatible with 1.5 yet, because I believe you have to specifically code for that version, right?

    As to when it will support 1.5, it will happen when:
    a. I upgrade to 1.5 (not happening any time soon)
    b. Someone volunteers to help me code it for 1.5.
    c. Some people step up to help me defray the costs of developing it for 1.5.

    (I am not the primary developer, and have to pay someone to develop it for me.)

  30. satsick says:

    I’ve installed your component successfully.

    I’m using a single list.

    I’ve got 1 question:
    Is it possible to automatically subscribe new registered users to a list? I mean, when users finish registration I want them to be automatically subscribed.

    May I change sth? Where?

    Thanks in advance!

  31. rogerco says:

    The existing version worked fine for me, but now I have a need for an improvement to allow specification of a selection of lists from different servers with different admin passwords.

    I have started hacking around with the front end component and got it pretty much working how I want – list names, urls, passwords etc are stored in a separate table. I am intending to add primitive access control according to joomla user level (public, registered, special) so the user sees an appropriate subset of the available lists.

    The question is whether you have any active development plans for the existing bridge or is there interest enough to inspire me to go ahead and produce an admin backend and some error trapping – what I have at the moment works fine for me, but I wouldn’t regard it as releasable, and I have to hand-knit the database table using phpMyAdmin.

    If anyone is interested you can email me as rogercreagh at hotmail dot com.

  32. cpjlboss says:

    I’ve had more than a few requests for those features, but I DON’T have an active development team on this. I’d love to help you refine and test what you have.

  33. bonaventure says:

    Is there any way to change the default template that appears in the front end. For example, I’d like to change the following text:
    These mailing lists are hosted by mydomain.com. To join any of them, simply select either regular or digest format from the list below, and we will automatically subscribe myemail@mydomain.com to the lists you select. Click here to change your email address.

    I want to delete the option to change the mail address and I’d like to change the column heading labeled, “STATUS” to “ACTION” or something other than STATUS (since it doesn’t actually display a users status…it just show options for actions to be taken).

    I checked the component php and script files…I even searched through the mailman files on my server. I can’t find this particular template anywhere. Any thoughts?

  34. emagin says:

    Go to /administrator/components/com_mailman2/language

    You can tweak the text there.

    For layout i’m not sure, it might be
    admin.mailman2.html.php maybe
    could not find an html.php file for the users/front end

  35. mkinsey says:

    I am running Mailman 2.15 and I can’t get the Joomla bridge to work (Joomla 1.x). I keep getting the following error message:
    You do not appear to have the correct URL for administering Mailman.
    The supplied URL was: http://lists.csccog.org/mailman/admin, which is constructed using the value you specified for the domain, which was: lists.csccog.org.
    Please check the value you specified for the domain in the configuration screen of this component.
    An email has been sent to you with a screen shot of what the component saw at this phase.
    Mailing List

    Description

    Status

    If I go directly to the url listed, I can administer the mailman lists.

  36. emagin says:

    For users with Community Builder sites, you want to update your language file because the Edit Email link is wrong:

    Language file (english for me) update at about line 13. This file is in ./administrator/components/com_mailman2/language.php

    Look for _MM_HOSTED_INTRO3 and change the link in that line to point to the community builder profile link.

  37. cpjlboss says:

    This is unrelated to the Joomla/Mailman bridge, but I’m merely using the wonderful software provided by the mail2forum.com people. It bridges Phpbb2 and any mail client. Here is the list of tasks I use.

    1. Decide on a mailing list name (listname)
    2. Create a pop account with a -forum name
    3. If hosting the mailing list on your site, create a mailing list for in mailman
    3a. Replies set to list
    3b. Set archive to NO
    3c. Membership -> Mass Subscribe -> subscribe -forum email account
    4. If someone else is hosting the mailing list, subscribe -forum to that mailing list
    4a. Use mail reader to become POP account, then do what you need to do for that account to be subscribed to that email address. The reason you’re running a mail client is that that almost always send a confirmation email to the subscribed address.
    4b. Use mail client to reply to the confirmation request.
    4c. Use the mail client interface to verify you can send and receive from the list.
    5. Create a Forum with the name of the list
    6. Create a mailing list in phpbb
    6a. Login to phpbb admin interface
    6b. Create mailing list.
    6c. Give it a any kind of sensible name
    6d. Put the email address of the mailing list you just created (or subscribed to) as the email address
    6e. Create a distribution list linking the new forum and new mailing list by clicking on Distribution Lists
    6f. Set POP email address to the POP account you made.
    6g. Set POP password
    6h. Make sure the following options are checked.
    – Try to extract date from incoming emails
    – Ignore the TO message header
    – Delete messages after import
    – Maximum number of message = 600
    – Maximum size to import = 0
    – Outgoing mail transport = sendmail
    – Send mail using an external mailing list server
    – Include original post in recipients
    – Configure From:
    – If you’re using an internal email address, set it to be the email address of poster/sender.
    – Remove reply-to
    – Strip reply tages
    – Subject prefix = [LISTNAME]
    – Do not force all posts as guest
    – Allow m2f to ignore phpbb security
    – Allow guest posting
    – Show poster as Name
    – Resend emails for edited posts
    – Add subject tag for edited posts Re:
    – Add Moderate outgoing email messages
    – Automatically authorize messages from admin/moderator
    – Moderator notification = your email
    – Strip or replace patterns
    – Drop single quote
    – Drop backslash
    – Spam filters
    – Enable all
    – Add the AutoReply filter

    (All those options at the end are saved for me in the default options for a new list.)

  38. djtrouten says:

    Never mind — I solved the “appended domain” trouble. I just failed to read the very clear instructions in the control panel. After I added the “appended” information in my lists to the “appended domain” spot, the program began stripping that extra info from the MailMan feed. It’s working fine.

  39. rogerco says:

    So eventually I started to look at the back-end myself and decided to do it in the new J1.5 MVC style, so having got that working I’ve gone back and completely rewritten the front-end in the same fashion.
    This is nearly ready now; effectively it is a completely new component that does what the original did but also allows lists to be on different servers and have different passwords. Once I’ve got it working with my setups I’ll make it available for others to try. It is J1.5 native only and I suspect it may also need PHP5.x (I haven’t got a PHP4 server to test it on). About a week, I guestimate if it carries on raining in the UK :dry:
    PS ‘fraid I haven’t abstracted all the strings into a language file so it is a bit hard-coded English (UK spelling) – needs a volunteer 😉

  40. Jumalakarhu says:

    I had the same problem and found out that it was not mailmain or this component but the server. My host had set url_fopen and url_include in php.ini to off. That means that php cannot get the file from another server. I could not enable these via .htaccess, but found a workaround with cURL
    http://www.wiki.dreamhost.com/index.php/CURL
    Hope it solves your issue.

  41. Anon says:

    This is an excellent bridge – just what I was looking for. I also have mail2forum working with phpBB and the CB Connector bridge to Joomla 1.0.15 (worth noting if you want to do this, you need to use the hack of m2fconfig.php for CB Connector to work).

    Anyway, a minor detail – I only want my members to be able to subscribe to one of the lists available on my mailman server. According to the settings (if I have understood correctly), the bridge should only pick up the list(s) associated with the password entered. I have changed the password for the one list that I want members to be able to subcribe to, but it is still picking up all lists on my mailman server?

    Please can you advise if I need to change anything?

    Many thanks

    Anon

  42. MrCT says:

    I’ve just installed the MailMan2 component on a Joomla! 1.5 site.

    When I try to configure it, via backend -> Components -> MailMan2 -> Config, I get the error “Direct access to this location is not allowed”.

    Now, I cannot do anything; Use the component, un-install it, configure it.. nada. 🙁

    Any suggestions?

  43. hsunorml says:

    i had this same problem. can you elaborate on this more?
    also when i am in /mailman/admin then click on create new list i receive
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, webmaster@hsunorml.org and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

  44. cpjlboss says:

    The place where it gets the list of lists is before it needs a password. It only needs the password during the subscribe phase. So, as long as a list is public, it will show up in the list.

  45. cpjlboss says:

    Those kinds of questions should be sent to the mailman mailing list, not here. This component won’t work if mailman doesn’t work.

  46. atzounis says:

    Hi, i set the mailman component on my J1.5 site and ti gives me the following white screen:

    Your mailing list configuration
    Classroom
    These mailing lists are hosted by Classroom. To join any of them, simply select either regular or digest format from the list below, and we will automatically subscribe to the lists you select. Click here to change your email address.

    (Any lists you’re already subscribed to are selected below.)

    You do not appear to have the correct URL for administering Mailman.
    The supplied URL was: http://lists.informatix.gr/mailman/admin/list/, which is constructed using the value you specified for the domain, which was: lists.informatix.gr.
    Please check the value you specified for the domain in the configuration screen of this component.
    An email has been sent to you with a screen shot of what the component saw at this phase.
    Mailing List

    Description

    Status

    Have i done something wrong?

    I have tried to install it on a J1.o installation too but no luck either…
    The thing is that the url to the list page that shows works if you put it on your browser and the password too.

    Any ideas?
    Thanks a lot?

    A.

  47. Anon says:

    [quote name=cpreston]The place where it gets the list of lists is before it needs a password. It only needs the password during the subscribe phase. So, as long as a list is public, it will show up in the list.[/quote]
    Thank you so much – changing settings in Mailman under privacy sorts that out and the component now works as expected. My remaining issue now is that the formatting of the headings Mailing List Description Status are thrown out (the first is okay, the second two are picking up Bold and larger font size from somewhere). Where can I change this in the backend please?

    Many thanks

    Anon

  48. Anon says:

    Sorry, me again, using this component, the list does not seem to recognise that I am already a member of the list and offers me

    Do not subscribe
    Subscribe to regular format
    Subscribe to digest format

    If you are already a member, should it offer you the opportunity to change your subscription or unsubscribe?

    It also says “(Any lists you’re already subscribed to are selected below.)” – how should it be doing that please?

    Many thanks

    Anon

  49. cpjlboss says:

    It only checks the email address associated with the user id you’re currently logged into. You’re probably subscribed with another email address, then.

  50. Anon says:

    Thank you for replying.

    [quote name=cpreston]Turn on debug mode in the admin console, and then take a look at what the output is.[/quote]
    [quote name=cpreston]It only checks the email address associated with the user id you’re currently logged into. You’re probably subscribed with another email address, then.[/quote]
    I have tried the debug – it sent output to my registered email (which is identical email to the one used as administrator and user) but still have the above options (ie it does not appear to be picking up that I am an existing subscriber – unless it switches subscribed list to bold type but still does not indicate an unsubsribe option?)

    Many thanks

    Anon

  51. rogerco says:

    I’ve just done an update to my Jmailman version of the component (it lets you specify lists on any server and also admins can manage any email address – see http://www.crosborne.co.uk) and discovered a problem with Mailman v2.1.11 on some servers where the page returned by mailman puts ‘%40’ instead of ‘@’ in returned email addresses. I fixed this in my version but since this bit of code is the same as your version I wonder if you might have the same problem.

  52. rogerco says:

    Yes it is a very easy fix:

    At about line 250 in your mailman2.php replace the following

    		$shortdigestline="INPUT name=." . $l_email . "_digest.";<br /><br />		//print "$shortdigestline";<br /> <br />		//If the user is subscribed to this list<br />		if ( preg_match("/$shortdigestline/", "$findmbr") ) {<br />

    with this

    $shortdigestline="INPUT name=." . $l_email . "_digest.";<br /><br />		//print "$shortdigestline";<br />          $findmbr = str_replace("%40", "@",$findmbr);<br />		//If the user is subscribed to this list<br />		if ( preg_match("/$shortdigestline/", "$findmbr") ) {

    This looks for the string “%40” in the html returned from the Maillist server and replaces it with “@” allowing the email address line to be recognised.

    Cheers
    RogerCO

  53. rogerco says:

    Sorry – the formatting has gone a bit screwey in those code blocks above – in short just insert
    $findmbr = str_replace(“%40″,”@”,$findmbr);
    at line 251

    (if you can edit the post above that would be good – it seems you can’t edit your own posts here)

  54. dfirsching says:

    I saw the post about digest mode but still am having difficulty getting that part to work. I did make the $findmbr change above; it now lists the proper status if it’s set that way in mailman, but it doesn’t make changes to and from digest mode.

    I’m kind of new to this and wonder if anyone has any pointers. Thanks!

  55. dfirsching says:

    In addition to the digest mode issue, I notice that it also doesn’t support Member Name. It would be great if it could pick up the user name and populate that also, which would facilitate list administration as so many people use weird e-mail addresses.

    I just can’t seem to get it to switch to digest mode. This is on mailman 2.1.1.cp2.

    Any suggestions? Thanks!

  56. Greener says:

    Very basic questions. Is the only connection between mailman and the Joomla email database (or CB) initially to retrieve their email? If so, when a user updates their email in joomla or in CB, that update would not be reflected in the mailman list? or does mailman and joomla regularly talk and update each other?? And second, so the “mailman public list” is truly open to the public. No way to do a “private list?” thanks!!

  57. Kjell Aa says:

    This wasn’t what I was looking for, hence the need to uninstall.
    All I get is “Direct Access to this location is not allowed.” When I click uninstall on Mailman2
    ???

  58. cpjlboss says:

    You’ve got Joomla 1.5 installed, right? Legacy mode is enabled in the global configuration of Joomla. Once that’s enabled, you should no longer get that error.

  59. digitalperfections says:

    My website is for a consulting company and I am about to use joomla for a blog so I appreciate the info. Here is the site:
    DigitalPerfections

  60. sterry@informationoutput. says:

    The plugin states that it works in 1.5…. If it does why must you use Legacy? Is there a workaround so we don’t have to use Legacy?

  61. cpjlboss says:

    When I look at the JED, what I see is that it works in Legacy mode. I have no immediate plans to update it, as I have no immediate requirement for full 1.5 support, but I welcome anyone’s help in this area.

  62. Rocco83 says:

    hi.

    i am working on big changes to this components.

    how about moving code, for example, to code.google.com?

    read all the blog to read about the changes is annoying a lot…
    starting from 2007, without a changelog or so!

    i wish also to submit patch in a developer way, not just “insert this and that on line nnn”.
    for languages, for admin (i have the site name different to domain name).

    so, i wish to share my work, past present and future.

    Curtis, what do you think about it?

    i am sending this both to the blog and directly to curtis…

    bye
    d.

  63. jaap says:

    Hello,
    I’m getting the error message below. From this forum I learned most errors are due to wrong configuration, but the URL below works fine is I copy/paste it into a browser.
    This problem has also been reported by atzounis on 2008/10/22, I cannot find an answer to his problem.
    The email being sent is a blank email.
    Thanks,
    Jaap

    The message…………..
    Your mailing list configuration
    Voet website
    These mailing lists are hosted by Voet website. To join any of them, simply select either regular or digest format from the list below, and we will automatically subscribe my name@planet.nl to the lists you select. Click here to change your email address.

    (Any lists you’re already subscribed to are selected below.)

    You do not appear to have the correct URL for administering Mailman.
    The supplied URL was: http://lists.voetvanoudheusden.nl/mailman/admin/geinteresseerden, which is constructed using the value you specified for the domain, which was: lists.voetvanoudheusden.nl.
    Please check the value you specified for the domain in the configuration screen of this component.
    An email has been sent to you with a screen shot of what the component saw at this phase.
    Mailing List

    Description

    Status

    ……….

  64. Rocco83 says:

    New component…

    hi.

    i have had to modify the component quickly…
    so thanks to open source, i did it.

    http://code.google.com/p/joomla-mailman/

    curtis, i will be glad to set you as administrator (and move myself away).

    i have modified a lot of code.
    right now it is working (at least for me), anyone who want to test it…
    i will be happy.

    now on, the changes are in changelog.

    i have added things like:
    – mail domain for mailing lists
    – protocol (i am using https)
    – started using curl (only for digest, by now)

  65. Vairo says:

    Hello i was trying to install this module, been fallowing your instructions and playing around with the setting in the Mailam config menu. But i cant get it working i am getting this error msg.

    Warning: file_get_contents(http://24weightloss.com/mailing-lists.html/public_html/administrator) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Component not found in /home/vairo/public_html/components/com_mailman2/mailman2.php on line 166

    You do not appear to have the correct URL for administering Mailman.
    The supplied URL was: http://24weightloss.com/mailing-lists.html/public_html/administrator, which is constructed using the value you specified for the domain, which was: 24weightloss.com/mailing-lists.html.
    Please check the value you specified for the domain in the configuration screen of this component.
    An email has been sent to you with a screen shot of what the component saw at this phase.

    Any ideas ? to me it looks like that i cant point to the right admin directory or something. Been testing with different variants no luck.

    Any recommendations ?

    Thanks

  66. shawnz says:

    Installed and set all the parameters. On the top of the form there are two notices.

    Notice: Undefined variable: config in (path_to_my_webtoot)componentscom_mailman2admin.mailman2.php on line 14

    Notice: Trying to get property of non-object in (path_to_my_ webroot)administratorcomponentscom_mailman2admin.mailman2.php on line 14

    Are they errors?

    If not can I ignore them. Where do I go from there beyond the config?

    Shawn

  67. shawnz says:

    [quote name=shawn]Installed and set all the parameters. On the top of the form there are two notices.

    Notice: Undefined variable: config in (path_to_my_webtoot)\components\com_mailman2\admin.mailman2.php on line 14

    Notice: Trying to get property of non-object in (path_to_my_ webroot)\administrator\components\com_mailman2\admin.mailman2.php on line 14

    Are they errors?

    If not can I ignore them. Where do I go from there beyond the config?

    Shawn[/quote]
    Looks like I can’t ignore these notes. After I created the menu item and run it from front end I got many php errors. the one at the end is:

    You do not appear to have the correct URL for administering Mailman.
    The supplied URL was: http://(mysite)/mailman/admin/, which is constructed using the value you specified for the domain, which was: (mysite).
    Please check the value you specified for the domain in the configuration screen of this component.
    An email has been sent to you with a screen shot of what the component saw at this phase.

    And I am not sure where the email of screen shot was sent to.

  68. shawnz says:

    Hi Curtis, It was my typo when I wrote the message. Here is the cut and paste of the errors:

    Notice: Undefined variable: config in C:Sitescpacwebrootadministratorcomponentscom_mailman2admin.mailman2.php on line 14

    Notice: Trying to get property of non-object in C:Sitescpacwebrootadministratorcomponentscom_mailman2admin.mailman2.php on line 14

    Shawn

  69. timbreese says:

    When I try to access the config of Mailman2 I get “Direct Access to this location is not allowed.” which is usually an indication that Joomla needs to be set on Legacy mode which I would rather not do.

  70. cpjlboss says:

    And it won’t be fixed any time soon. I don’t have the resources to pay for its development, and no one has stepped up to volunteer. 🙁

  71. wgaryg says:

    I received the following message after installed this software…

    Warning: file_get_contents(http://24weightloss.com/mailing-lists.html/public_html/administrator) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Component not found in /home/vairo/public_html/components/com_mailman2/mailman2.php on line 166

    I discovered that the issue was actually related to a PHP security setting in on the server. To overcome this without changing the setting I modified the code to use curl instead of “file_get_contents”, here is one of the examples from line 166 of /public_html/joomla/components/com_mailman2/mailman2.php

    // $content=file_get_contents(“$adminurl”,”FALSE”);
    $ch = curl_init();
    curl_setopt( $ch, CURLOPT_URL, “$adminurl”);
    curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
    $content = curl_exec( $ch );
    curl_close( $ch );

    Similar modifications were made in other places and now it works great!

    Thanks

  72. cpjlboss says:

    @kalss21

    Sorry I didn’t see your comment until now. The site’s been a little crazy. Shouldn’t it work if you put lists.domain.com in the main domain field at the beginning?

  73. Joomla Expert says:

    i have used it but faced problem in uploading the codes for it. Got some error. So i could not get the good result out of it.

  74. Bill Dee says:

    How does this work without logging in to mailman admin? I don’t see anything in the code that does that before it uses the /members/add, which fails if you have not logged into mailman. I don’t see any comments in the programs or here about that.

  75. Craig D says:

    I wish that someone would update this for Joomla 1/7/2.5. I have tried and failed (my programming skills are too ancient). Anyone else have plans to do so? This plugin is so very useful!

  76. cpjlboss says:

    Craig… I know the feeling. I want to upgrade to 2.5 as well.

    I have some custom guys and I may indeed just hire them to convert it to 2.5.

  77. Guest says:

    Hey all,

    if you’re looking for similar functionality in Joomla 2.5 – I actually paid someone to create a component.

    You can find it at mailbridge.be
    It does use the Community Builder for changing settings though. In the backend you decide what options you want to show to a user – in the frontend you will then only see these item.

    Currently, it only supports 1 list – but it’s on github. If you would like to improve it, feel free to suck in the code, and add your own features or fixes.

    Have a look here for the GIT-repository:
    https://github.com/JurgenG/Mailbridge

    Just as a reminder: it’s GPL’ed, so if you redistribute it, make sure to share it similarly.
    If you don’t redistribute it… consider doing so. You’ll do a lot of people a big pleasure!

Leave a Reply

Your email address will not be published. Required fields are marked *