Alex: Just a suggestion for a future release: It would be nice to be able to send a user a quick email message, individually, rather than to all members. This could be added in the same area as the "resend signup email" is located. Thanks
Single User Emailling - implemented Its already in (unless I've added it in my own version and I've forgotton).... Go to "Browse Users", find the user you want - their email is show as a mailto:link - okay you need an external email program for this. It shouldn't be too hard to add.... oh, alright then.... here goes... all my changes are marked using the initials RCH /admin/email.php, get_target_users() function get_email_types(){ global $db; $res = array(); $res['specuser'] = '* Only the user specfied'; // RCH $res['all'] = '* All Users (pending, active and expired)'; $res['active'] = '* Active Users (paid and not-expired)'; $res['pending'] = '* Pending Users (never paid)'; $res['expired'] = '* Expired Users (paid and expired)'; $products = $db->get_products_list(); foreach ($products as $p){ $id = $p['product_id']; $n = $p['title']; $res["PRODUCT-$id"] = "Active users of '$n'"; } return $res; } /admin/email.php, get_target_users() switch ($email_type){ case 'all': $where_conds[] = 1; break; case 'active' : $where_conds[] = "u.status = 1"; break; case 'expired': $where_conds[] = "u.status = 2"; break; case 'pending': $where_conds[] = "u.status = 0"; break; // RCH --- case 'specuser': $where_conds[] = "u.login = '".$vars['user']."'"; break; // RCH --- } /templates/admin/email.html <form method=post name=mail enctype="multipart/form-data" > <table class=vedit> <!-- RCH --> <tr> <th><b>Login name of single<br> user to send e-mail to</b></th> <td> <input type=text name=user value="{$vars.user}" size=32> </td> </tr> <!-- RCH --> <tr> <th><b>Select a category of<br> users to send e-mail</b></th> <td> <select name='email_type[]' size=5 multiple> {html_options options=$email_types selected=$vars.email_type} </select> </td> </tr> Use at your own risk - could probably be improved. Cheers Russell www.feeedpro.co.uk