Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
NewsMailer [0.2]
I've actually uploaded a new extension:
It's a NewsMailer to send an email to all users of a forum including place holders like {firstname}, {lastname},...
You can download it here
It's a NewsMailer to send an email to all users of a forum including place holders like {firstname}, {lastname},...
You can download it here
0
This discussion has been closed.
Comments
@obvious and osidguy: if you already get some errors please repost
I can release this as a separate extension if people are interested, but for now, looking at the original Newsmailer code, I think you can get by with just the following lines:
(add these lines underneath the language definitions.
$Context->SetDefinition('PERMISSION_SEND_MASS_MAIL', 'Send Mail to All Users');
$Context->Configuration['PERMISSION_SEND_MASS_MAIL'] = '0';
Next, you simply search the document for "PERMISSION_EDIT_USERS" and replace with our new permission, "PERMISSION_SEND_MASS_MAIL".
This should be all it takes to allow any user to send mail. You must set the permission first though.
Also note that if a user does not normally have access to the Settings page, you'll have to modify appg/init_vanilla.php. Look in the array around line 95 or so, you should see a listing of Permissions that will open up the Settings page. Simply add our new permission to that list. Congratulations, any role may now send mass emails.
EDIT: You also must edit settings.php in the root directory and add the permission there too, in the array around line 25.