ListMessenger (or PHPlist) integration – plugin?
-
I need to integrate my mailing list with Buddypress registration. In the current version of my site I use ListMessenger; when someone registers with the site their name + email address is also automatically added to a mailing list.
ListMessenger can’t tap into existing WordPress users tables in MySQL, it has its own users table. The integration challenge is to keep them somewhat synchronized; add name + email address to ListMessenger’s users table to start with, but it would be nice if changes in name + email address would also be synchronized with the ListMessenger data.
I’ve tried to use this plugin as a starting point: WordPress PHPList Dual Registration.
I started this thread about it on the ListMessenger forum.
The key apparently is to get the plugin to execute (?) the following URL on registration:
http://mysite.com/mailinglist/public/listmessenger.php?group_ids[/url][]=1&email_address=random@whatever.com&firstname=John&lastname=Smith…which could be achieved by a line like this in the plugin:
$post_data = 'action=subscribe&group_ids[]
'.$this->lid.'&email_address='.$this->email_id.'&firstname='.$this->name_id;So far I have not been able to make that work.

The next few days I’ll try to learn how to write a plugin for WordPress, but I need all the help I can get. I’m not a programmer, but after messing with this stuff for ten years I have some general ideas how things work. I will need help on things like what are the right names for what, where to find information and code examples and how to get syntax etc. right.
Integration is further complicated by Buddypress lack of consistency in storing firstname + lastname, which I have complained about a lot in this forum – sorry…
I post this issue here and not on the WPMU forum because adding members to a mailing list really is a social networking function and it needs to work with Buddypress’ registration and xprofile etc.
You must be logged in to reply to this topic.