Buy Now
Sign in

CF6 - {user:name} Not showing name anymore

JarleW , April 28 2020, 15:13
J
JarleW 3
April 28 2020, 15:13 #392225
Hi. A couple of months ago I created a form to pick the logged in users name (full name) to show up in the form. Then it was working fine. This is a wordpress site that I havent been working on for some weeks, but when I tried the form the other day it doesn't show the full name anymore. Se pictures below.
I use this shortcode {user:name} and have also tried "id" & "username" with no luck...
Any suggestions ?
J
JarleW 3
April 30 2020, 09:47 #392255
Here are som screenshots from PhpMyAdmin of the WP user db and the CF form db.
Earlier the form would get the full name "John Doe" and not only "johnd"...
wp_db_user-list.PNG
CF6_form_db.PNG
Attachments
wp_db_user-list.PNG
wp_db_user-list.PNG
(9.77 KiB)
196 Downloads/Views
CF6_form_db.PNG
CF6_form_db.PNG
(5.74 KiB)
203 Downloads/Views
healyhatman 9
April 30 2020, 12:38 #392257
What do you get if you just do {user:} ? Should show a list of all the data available
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
J
JarleW 3
April 30 2020, 16:19 #392259
Tanks for your reply !
I get this :
{"id":"26","name":"johnd","username":"JohnD","email":"john@doe.com","last_login":"","logged_in":1,"guest":0,"groups":["subscriber"
  • ,"inheritance":
  • ,"guest_id":"26"}