Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user.name gives me email #37

Open
Dubidubiduu opened this issue Oct 24, 2019 · 1 comment
Open

user.name gives me email #37

Dubidubiduu opened this issue Oct 24, 2019 · 1 comment

Comments

@Dubidubiduu
Copy link

So, thought user.name will give me the name of the connected wordpress user. Cuz user.id gives me the id of that wordpress user. Instead I get the mail of that user.

Fuzion Tokens 1.5
Api v4 4.5.2
Civi 5.18.2.

Wordpress 5.2.4

@eileenmcnaughton
Copy link
Owner

It works on drupal but it's a very basic bit of code to retrieve the value in the uf name table & I guess it doesn't work on wordpress :-(

You can see the code

https://github.com/eileenmcnaughton/nz.co.fuzion.civitoken/blob/master/tokens/user.inc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants