From: SourceForge.net <no...@so...> - 2007-03-24 16:15:33
|
/mod/mailinglists item #1687446, was opened at 2007-03-24 10:46 Message generated for change (Comment added) made by blindman1344 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=765094&aid=1687446&group_id=81360 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: RFE Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rob (stewartrr) Assigned to: Greg Meiste (blindman1344) Summary: User email to unsubscribed lists Initial Comment: I would like to modify the mailinglists user page. Currently, it allows a user to email to any list to which the user is subscribed. I would like to allow a user to send an email to any list, not just to the lists to which they are subscribed. This seems like an easy thing to add. Is it? If you can explain how, I will make the changes. ---------------------------------------------------------------------- >Comment By: Greg Meiste (blindman1344) Date: 2007-03-24 11:15 Message: Logged In: YES user_id=780595 Originator: NO I haven't tested this, but give these steps a try: In templates/avail_tablerow.tpl, find this line: <td width="13%" valign="top" nowrap="nowrap">{SUBSCRIBE}</td> and replace it with: <td width="13%" valign="top" nowrap="nowrap">{SUBSCRIBE}<!-- BEGIN SENDEMAIL --> | {SENDEMAIL}<!-- END SENDEMAIL --></td> Open class/mailinglists.php and find the showUserMenu function. Find line 489, which should look like: $avail_row['SUBSCRIBE'] .= $_SESSION['translate']->it('Subscribe') . '</a>'; After that line, insert this code: if($confResult[0]['userSend']) { $avail_row['SENDEMAIL'] = '<a href="index.php?module=mailinglists&op=sendEmail&mladmin=0&list=' . $id . '">'; $avail_row['SENDEMAIL'] .= $_SESSION['translate']->it('Send Email') . '</a>'; } I think that should work. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=765094&aid=1687446&group_id=81360 |