Closed (fixed)
Project:
Simplenews
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2009 at 14:00 UTC
Updated:
23 Sep 2009 at 13:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sutharsan commentedWith the latest release some of the variables have changed. See the description.
Comment #3
catofcheshir commented!site & !mailto doesn't work for anonymous subscribers, because this tokens get from user_mail_tokens() :(
Comment #4
catofcheshir commentedComment #5
donquixote commentedsubscribe
Comment #6
Anonymous (not verified) commentedsubscribe
Same issue here using Drupal 6.11 and simplenews 6.x-1.0-rc6
Comment #7
arnoldc commentedSame issue here, !mailto and !site are not working in RC6 for annoymous users.
Comment #8
phdhiren commentedsubscribing
Comment #9
mcarrera commentedsubscribe
Comment #10
Roberto Gerola commentedIn simplenews.module file, around line 2120, this code should fix the issue :
If necessary, other variables can be found here :
http://api.drupal.org/api/function/user_mail_tokens
Roberto
--
http://speedtech.it
Comment #11
vendeka commentedsubscribing
Comment #12
benkewell commentedissue in #3 still occurs in rc6 and dev,
patch in #10 solves the problem
Comment #13
ñull commentedThe same patch as #10 but now attached in CVS patch file against HEAD. May be this helps the maintainer to include it?
Comment #14
pcorbett commentedPatch #13 worked for me.
Comment #15
nadavoid commentedI too have tested this patch, and it works great. Seems like an absolute necessity to be added to the module. Hoping a maintainer can apply this patch soon and have it in rc7.
Comment #16
sutharsan commentedAlthough I have not been able to reproduce the error I have committed the patch to HEAD and 6.x-1.x-dev. Thanks Roberto Gerola and com2.
Comment #17
plebe commentedinserting manually the #13 code worked for me, couldn't get the patch to run properly. Probably just me not knowing how to apply patch.
Comment #18
sutharsan commentedNo need to apply the patch, use the latest 6.x-1.x-dev release. Please report your test results.
Comment #19
jdwfly commentedI am running an already patched up version of simplenews, so I tried out the patch but it failed. Probably because my simplenews.module is already patched a couple of times. Anyway, I put the lines in manually where they are supposed to be and it works just like it should. Thanks
Comment #20
adam_b commentedI've upgraded to the dev edition, but although it's fixed !site, I'm still not seeing the values for !date and !login_uri.
I chucked in all the variables from the instructions below the Body field and the test email read:
Comment #21
portulacaI had problems with !mailto and !site in subscription confirmation email, and I can confirm the dev version fixes it.
Comment #22
danny_joris commentedSame here as #21. The dev fixes this.
Comment #23
sutharsan commentedAttached patch fixes adam_b's bug in #20. Patch applied to dev.