Hi,
I am webmaster for a community that does not only use Postnuke but also a mailing list. As most people are not familiar with using an Ecartis/Listar type of list I have installed the following majordomo module for postnuke:
http://www.ezoshosting.com/majordomomodule.php
I want to edit the mail template to use the Listar syntax instead of the majordomo one but got stuck with something completely different:
the module does not seem to send out messages.
When I use the subscribe/unsubscribe functions on the website I just get the message that my wish "has been recorded and will be activated within 24 hours".
It seems there must be some functionality for the admin to review the subscriptions/unsubscriptions and grant or deny them.
Does anyone have an idea how I can link to that functionality or how I can access it?
I took a look at the modules´ table space and the web-form entries are being strored in the DB and just have to be activated.
Any help with this module or an alternative to it is greatly welcome.
kwaH
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Problems with Module 'majordomo'
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Feb 03, 2004
- Posts: 15
ahh... i'm having the same problem :)
If you look in pnuser.php you will see that there is a function called majordomo_user_transfer().
Code
function majordomo_user_transfer()
{
$majordomo = array();
$majordomo[password] = pnModGetVar('majordomo', 'password');
$majordomo[listname] = pnModGetVar('majordomo', 'listname');
$majordomo[listserver] = pnModGetVar('majordomo', 'listserver');·····
if (!pnModAPILoad('majordomo', 'user'))
{
$out = _LOADFAILED;
}
else
{
$users = pnModAPIFunc('majordomo', 'user', 'getall');
}
$txt = '';
foreach ($users as $user)
{
if ($user[actiontype] == 0)·
{
$txt.= "approve ".$majordomo[password]." subscribe ".$majordomo[listname]." ".$user[email]."\n";
}·
else·
{
$txt.= "approve ".$majordomo[password]." unsubscribe ".$majordomo[listname]." ".$user[email]."\n";
}
}
mail($majordomo[listserver],·
_DAILYREPORT,·
$txt,
"From: ".pnConfigGetVar('adminmail'));
pnModAPIFunc('majordomo', 'user', 'delall');········
}
That's it! Now the only problem is... when oh when oh when does this actually get done? Is there a web interface to call this? Is it automatic? Obviously not on my site. As you can see the last thing it does is delete all the entries in the DB after telling majordomo what to do with them, so if you have anything in your nuke_majordomo table, this has not been called.
I am considering a couple things:
1. making a web interface for the admin to click "approve"
2. calling this function *everytime* someone ads their email address, this might be a big inefficient if tons of people add emails
3. making the block have 'refresh' like other blocks that pull data from external sources. what i mean is that maybe every 30 mins it should call this function.
if i figure anything out, i'll post it. anybody else get this to work? -
- Rank: Softmore
- Registered: Feb 07, 2003
- Last visit: Jun 11, 2008
- Posts: 225
After initializing the module did you activate it? On 723 the admin link doesn't show up until the module is activated. -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Feb 03, 2004
- Posts: 15
Yep, it's activated alright...
But in the admin menu these are the only choices:
Majordomo server address
Majordomo listname
Majordomo owner
Majordomo password
There's nothing there that says, "go ahead and add currently stored address in the DB to the majordomo list"
Is your admin screen different?
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
