Hello,

I would like to request for a token that would print the "/invite/accept/9nA7Yg6F" and not the url before this.

Reason:
Currently the link is sent depending on language of the inviter. Therefore if the inviter is sending from /en url then the link will show as http://www.example.com/en/invite/accept/9nA7Yg6F and if sending from /ja url then http://www.example.com/ja/invite/accept/9nA7Yg6F will show in the invite email.

I have an additional role added to the user depending on url using the Auto Assign Role module.

I would like to type in the invite email:

Click here to join as role A: http://www.example.com/en[join-link-without-base-path]
Click here to join as role B: http://www.example.com/ja[join-link-without-base-path]

This way the invitee can click which additional role they want =)

Can anyone please help in implementing this new token?
Please consider this token that will allow great flexibility in this module's use.

Thank you very much!

CommentFileSizeAuthor
#2 806462_add_invite_tokens.patch2.13 KBnicedawg
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

YK85’s picture

subscribing

nicedawg’s picture

Status: Active » Needs review
FileSize
2.13 KB

Here's a patch which adds this new token, and a few other tokens for good measure. ;-)

[join-link-without-base-path]
[inviter-themed]
[inviter-themed-raw]

Thanks,
Brady

apaderno’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.