Active
Project:
User Referral
Version:
7.x-1.0-beta2
Component:
Code: referral
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Nov 2011 at 19:50 UTC
Updated:
9 Nov 2011 at 10:03 UTC
Hi there,
I have tried to use Token Filter module, which allows me to implement the value of token just by any input type. I have tried other token like "[site:name]" and other tokens, in which it works just fine in my custom block.
I tried to use the module with "[user:referral-link]" to show the referral link in a specific place I like, but the result is, the block doesnt show the value of the token, unfortunately it just shows "[user:referral-link]" as what I typed in the block.
My question is how do I know if token is right, but the module doesnt support? or the token name is not correct at first?
All suggestion will be appreciated!
Thank you in advance
Comments
Comment #1
dave reidDid you try [current-user:referral-link]?
Comment #2
kilenearth commentedIt works perfectly!
However I have tried to use "referring-user" token such as "[referring-user:name]", but I do not get anything as the expected value.
Does the "referring-user" attribute exist?
or do I have to
1) keep the "current-user" attribute in the hidden field of registration form, so that the referred user get the attribute by hidden field and
2) The data is recorded in the (new) current-user profile.
3) then we can get the value by using "current-user"
I believe that there should be a way to get the "referring-user" filed directly? Please suggest.
Thank you in advance :)
Comment #3
kilenearth commentedor anyway to get value from Cookies?
thx
Comment #4
kilenearth commentedI just found a cookie token which I can use with the Webform module.
which is
%cookie[referral_data]which works just fine with the webform module, but not to show the referral data.
are there anyway I can use it show the referer' info/profile field?