Closed (won't fix)
Project:
Simplenews
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2009 at 18:07 UTC
Updated:
19 Dec 2011 at 01:19 UTC
Jump to comment: Most recent file
Comments
Comment #1
sutharsan commentedI have no intention to include support for just a tag like [simplenews-receiver-name]. If something gets in it should be flexible and not limited to just a name. I deliberately keep the door closed for partial solutions. I know once I say yes to 'user name' the next question will be 'zip code' or 'age' or ... A solution should be flexible and for both anonymous and authenticated users. I have my plans for it, but I lack funds and time to build it.
You can build you own solution using a hook_mail_alter() implementation in which you replace your custom tokens by custom content.
Comment #2
roball commentedWhy not just changing your code to not use
variable_get('anonymous')butt('subscriber')instead? Patch attached.Comment #3
sutharsan commentedComment #4
Sepero commentedI came here looking for an answer, but I found a "sort-of" answer elsewhere, so I'll post it here.
The name used to indicate D6 anonymous users found here:
admin/settings/site-information
Comment #5
Sepero commentedI wrote my own little module to solve this problem for me. The caveat is that mymodule has to run before the simplenews module (and it does on my website). I think that which module runs first may be edited by weights? I still haven't figured out how drupal works 100%
Create the folder in sites/all/modules/mymodule, and create these files in it.
File: mymodule.info
File: mymodule.module
Enable the module just as you normally enable any drupal module.