Login Form






Lost Password?
No account yet? Register (FREE)

Search Backup Central

Twitter Updates

Twitter Updates

    follow me on Twitter

    Disclaimer

    The opinions contained within this website, it's blog(s), forums, and Wikis, are those of the original poster and do not represent the position of my (or any other) employer.
    Updated Joomla/Mailman bridge PDF Print E-mail
    Written by W. Curtis Preston   
    Tuesday, 08 May 2007

    I've received a lot of requests for the bridge we wrote to make Joomla work with mailman.   Here it is!

    It now supports Joomla 1.5 when running in Legacy Mode.

    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 component for Joomla 1.0 here .

    Download the component for Joomla 1.5 here .  (The 1.5 version is new, so please let me know how it works.)

    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 "Forums & Mailing Lists -> 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.  Now you don't have to edit the mailman.php script any more! 

    Here are the 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.

    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.

    Comments
    Search RSS
    zev  - Not working right   |2007-05-29 07:41:34
    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
    www.janglo.net
    cpreston   |2007-05-31 20:35:28
    They have to be publicly available lists. That's an option in the mailman admin screen.
    bradknowles  - Updated link from Mailman FAQ   |2007-06-01 22:22:20
    Folks,

    FYI, I updated Mailman FAQ Wizard entry 1.26 at http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.026.htp to include a pointer to this page.

    So, if you get anyone on either side of the divide that has any questions about integrating Mailman with Joomla!, hopefully they will be able to follow the bi-directional links and be able to get more information about how to do this sort of stuff.

    Congratulations Curtis!
    zev  - Beautiful   |2007-06-03 04:44:22
    Looks great now. Thanks!
    Zev
    ceverett  - I'd like to be able to add pe   |2007-07-20 06:49:07
    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.
    cpreston   |2007-07-20 07:55:22
    I think something got taken off your comment, because I'm not sure what you're asking for.
    mattsoutatown  - errors   |2007-08-14 02:08:02
    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:
    ruudd45  - edit language   |2007-08-19 01:28:07
    Is it possible to edit the language file?
    cpreston  - Took me a while   |2007-08-29 06:31:30
    Looks like you (or somebody) went and turned on notices in your php.ini. Most people have them turned off. :wink: 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.
    cpreston   |2007-08-19 20:41:13
    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.
    arjaan  - edit mailadress   |2007-08-28 04:23:04
    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.
    cpreston  - Fixed!   |2007-08-28 12:41:07
    Good call! I edited both english.php and germani.php, the two language files it ships with.
    cpreston  - Review me!   |2007-08-28 12:42:13
    It sure would be nice if a couple of you that have found this useful to review it at joomla.org:

    http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,2409/Itemid,35/.
    morej  - Adjustment to mailman2.php   |2007-09-30 16:32:28
    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:

    Code:

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


    This was tested on Debian with Mailman version 2.1.5-8sarge5
    cpreston  - Thanks!   |2007-08-29 06:30:31
    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.
    iknownothing  - how to update translation   |2007-09-09 23:03:52
    Hi I translated to simplified_chinese for my own. would you like to share? where to update it?

    my addr iknownothing at gmail
    cpreston  - Wow! Send it to me   |2007-09-15 17:15:29
    Also send me the url of where it's running in Chinese. That would be fun to look at.
    DML  - Lists on shared hosts   |2007-09-18 01:19:58
    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?
    DML  - Old version of Mailman   |2007-09-18 01:34:46
    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?
    DML  - re: Lists on shared hosts   |2007-09-18 02:51:29
    DML wrote:
    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).


    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
    Rocco83  - insecure settings?   |2007-09-24 07:43:27
    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:

    Code:

    ---
    $adminurl="http://" . $l_domain . "/mailman/admin";
    $content=file_get_contents("$adminurl","FALSE");

    #Content is now some HTML code containing only a few lines of what we need
    $listarray = preg_split('/\n/',$content);

    #let's loop through it and look for lines that look like this:
    #
    #Description Text Goes Here

    foreach ($listarray as $element) {
    ---


    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
    Rocco83  - https   |2007-09-25 00:09:05
    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
    dchinn  - appended domain name in contro   |2007-10-03 08:57:14
    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
    cpreston  - appended domain name in contro   |2007-10-03 09:41:32
    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 ?
    cpreston   |2007-10-03 09:42:30
    The only suggestion I have is to use the debug feature in the latest version and see what emails it sends you.
    zstub  - make everyone get emails   |2007-10-23 07:57:44
    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.
    rogerco  - Joomla 1.5 - or some other pro   |2007-10-25 05:59:15
    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?
    Jurgentje   |2007-10-26 06:15:45
    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)
    cpreston   |2007-10-27 10:05:17
    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.)
    cpreston  - Not running 1.5   |2007-10-27 10:07:41
    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?
    rogerco  - re: Not running 1.5   |2007-10-28 10:32:59
    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.
    Jurgentje  - Mechanics of the plug-in   |2007-10-31 00:27:36
    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)
    Jurgentje  - Mechanics of the plug-in   |2007-11-09 11:45:05
    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...
    cpreston  - You are correct   |2007-11-11 13:45:37
    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.
    cpreston  - I'm not actively developing i   |2007-11-11 13:47:19
    so there's very little chance of us colliding. ;)

    I agree with subversions.
    kool_zero   |2007-12-10 09:36:52
    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?
    cpreston  - Are the values still there?   |2007-12-10 17:48:00
    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.
    Romildo Wildgrube  - Old version of Mailman   |2007-12-31 13:01:33
    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.
    monneret  - Joomla 1.5 ?   |2008-02-21 05:41:28
    Hi,
    does mailman is compatible with joomla 1.5 ?
    If not is it in progress or will it never be adapted ?
    Thank you!
    W. Curtis Preston  - Never is a really long time   |2008-02-21 06:38:47
    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.)
    satsick  - Setting up at registration   |2008-03-17 04:08:31
    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!
    Roger CO  - Extended version   |2008-05-11 02:09:47
    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.
    W. Curtis Preston  - That is awesome!   |2008-05-11 09:45:44
    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.
    Bonaventure  - Change wording in front end   |2008-06-02 08:54:55
    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?
    mark  - Forum Integration - How   |2008-06-28 16:40:10
    Can you explain a bit the forum integration with mailman. Very nice!
    W. Curtis Preston  - Just check out mail2forum.com   |2008-07-07 09:57:54
    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.)
    mark   |2008-07-04 15:07:50
    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
    mark  - Community Builder - Edit Email Link   |2008-07-07 09:57:13
    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.
    Matt Kinsey  - Mailman 2 Bridge Problems   |2008-07-05 16:42:22
    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.
    W. Curtis Preston  - Have you turned on debug mode?   |2008-07-07 09:51:00
    Have you turned on debug mode? That usually helps people figure out what's happening.
    Doug Trouten  - Appended domain?   |2008-07-10 21:41:12
    Did you ever solve this problem? I'm having the same trouble.
    Doug Trouten  - Never mind   |2008-07-10 23:02:25
    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.
    rogerco  - new version of mailman link near   |2008-07-11 01:21:01
    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 ;)
    Asbjørn Aarflot  - Server settings?   |2008-07-20 04:56:16
    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.
    Anon  - Offer option to subscribe to one list only when mu   |2008-07-20 10:46:22
    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
    Christer Tjernqvist  - Direct access   |2008-10-15 01:28:16
    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?
    hsunorml   |2008-10-16 20:58:50
    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.
    W. Curtis Preston  - It picks up all public lists   |2008-10-17 04:30:35
    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.
    W. Curtis Preston  - You're not in compatibility mode   |2008-10-17 04:31:15
    I've seen that error when you're not running the component in compatibility mode.
    W. Curtis Preston  - You're describing mailman problems   |2008-10-17 04:32:38
    Those kinds of questions should be sent to the mailman mailing list, not here. This component won't work if mailman doesn't work.
    Antonis Tzounis  - mailman bridge problem     |2008-10-22 09:10:56
    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.
    Anon  - re: It picks up all public lists   |2008-10-26 10:38:50
    cpreston wrote:
    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.


    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
    Anon   |2008-10-26 13:27:07
    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
    W. Curtis Preston  - Use debug mode   |2008-10-26 13:33:59
    Turn on debug mode in the admin console, and then take a look at what the output is.
    W. Curtis Preston  - You're probably subscribed with another email add   |2008-10-26 13:34:47
    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.
    Anon  - re: Use debug mode   |2008-10-26 18:50:18
    Thank you for replying.

    cpreston wrote:
    Turn on debug mode in the admin console, and then take a look at what the output is.[/quote]

    [quote=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.


    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
    Roger CO  - Poss problem with Mailman 2.1.11     |2008-10-27 03:03:09
    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 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.
    W. Curtis Preston  - Should be a pretty easy fix   |2008-10-27 09:32:48
    Can you send me your modified code? Looks like I have the same problem on my site.
    rogerco     |2008-10-28 06:47:37
    Yes it is a very easy fix:

    At about line 250 in your mailman2.php replace the following
    Code:
    		$shortdigestline="INPUT name=." . $l_email . "_digest.";

    //print "$shortdigestline";

    //If the user is subscribed to this list
    if ( preg_match("/$shortdigestline/", "$findmbr") ) {

    with this
    Code:
    $shortdigestline="INPUT name=." . $l_email . "_digest.";

    //print "$shortdigestline";
    $findmbr = str_replace("%40", "@",$findmbr);
    //If the user is subscribed to this list
    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
    Roger CO   |2008-10-28 06:53:20
    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)
    Dorothy Firsching  - Digest Mode still a problem   |2008-10-30 16:40:32
    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!
    Dorothy Firsching   |2008-10-31 07:31:07
    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!
    Greener  - email update   |2008-11-02 06:06:59
    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!!
    rhclayto  - My solution to this problem   |2008-11-19 05:38:39
    I had this problem. In my case, I had the URL wrong in the bridge configuration.
    kjell  - Uninstall   |2009-01-05 11:15:45
    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
    ???
    W. Curtis Preston  - Enable legacy mode   |2009-01-05 11:31:35
    This is an error you get in 1.5 if you don't have legacy mode enabled.
    kjell   |2009-01-05 15:33:46
    Ok, but how do I get legacy mode enabled or just uninstalled?
    W. Curtis Preston  - That's a Joomla thing   |2009-01-06 14:37:19
    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.
    Mitch Cunningha     |2009-01-09 07:26:46
    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
    Shawn  - Direct Access   |2009-01-11 11:02:39
    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?
    W. Curtis Preston  - JED Says 1.5 Legacy mode   |2009-01-11 22:37:19
    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.
    Daniele Palumbo  - future of the component     |2009-02-07 03:57:15
    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.
    jaap  - configuration error??     |2009-02-08 12:34:39
    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

    ..........
    Daniele Palumbo   |2009-02-11 06:30:28
    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)
    Daniele Palumbo   |2009-02-12 15:52:55
    added hook to community builder, with syntax, to add description in mailman.
    Vairis Kremanis  - Gettign an error     |2009-02-21 15:18:47
    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.

    Quote:


    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
    shawn  - Can't go beyond configuration     |2009-04-21 05:55:21
    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
    shawn  - re: Can't go beyond configuration   |2009-04-21 09:50:25
    shawn wrote:
    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


    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.
    W. Curtis Preston  - Spelling?   |2009-04-21 15:58:52
    path_to_my_webtoot is not the same as path_to_my_webroot?
    shawn  - Errors on Mailman 2 control panel   |2009-05-04 17:04:13
    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:\Sites\cpac\webroot\administrator\components\com_mailman2\admin.mailman2.php on line 14

    Notice: Trying to get property of non-object in C:\Sites\cpac\webroot\administrator\components\com_mailman2\admin.mailman2.php on line 14


    Shawn
    Timothy Miller  - The Mailman for 1.5 requires Legacy mode   |2009-10-27 19:37:22
    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.
    W. Curtis Preston  - That is correct   |2009-10-27 20:55:04
    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. :(
    Gary Godard  - Error found and fixed....   |2009-10-30 11:30:18
    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
    Only registered users can write comments!

    3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

     
    < Prev   Next >

    Sponsored Links