Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
user system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2007 at 14:13 UTC
Updated:
29 Jul 2014 at 17:37 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwnow that user_status.module is part of D6 core (http://drupal.org/node/144859), moving this request to the core issue queue. if anyone's interested in seeing this before the D6 feature freeze, please assign this issue to yourself and work on a patch. however, i suspect the only real good way to do this would be if token API made it into D6 (http://drupal.org/node/113614) which seems unlikely at this point. :( so, perhaps this will have to wait for D7, unless someone wants to act fast and come up with a decent solution to D6 without all of token API.
Comment #2
finfin82 commentedIn general i added the possibility to hook the token function to add you own user_mail_token.
this happens by adding a user_mail_tokens-hook to your module.
Also i changed the way how the email_token_help is handled by dynamicly outputting available tokens.
see attachment for diff-patches to the files and here is an example hook implementation.
oh i guess i mixed up something while diffing (wrong order while calling the diff-files), please correct it ;-)
Comment #3
dwwa) New features will only get added to D7 (and even then, not many).
b) This is blocked on #554088: Move user_mail_tokens() and emails to token system which still has a chance of getting into D7.
Comment #4
sivaji_ganesh_jojodae commented#554088: Move user_mail_tokens() and emails to token system is fixed now. Wish to see this at least in 8.x
Comment #5
dave reidProfile tokens are exposed by Token module and the core actions use the new core token API so you should be able to do this now.