Thread Starter
dafles
(@dafles)
I followed your instruction to make sure the username field starts with lowercase or uppercase. I made the following modification to the code, and this is what I have now:
Welcome [user-data field_name=’First Name’] [user-data field_name=’Last Name’]
Username: [user-data field_name=’Username’]
[restricted no_message=’Yes’ block_logged_in=’Yes’ field_name=’Username’ field_value=’usuario1′]Content restricted for user1[/restricted]
[restricted no_message=’Yes’ block_logged_in=’Yes’ field_name=’Username’ field_value=’usuario2′]Content restricted to user2[/restricted]
Now the output is:
Welcome Usuario 1
Username: usuario1
The fields I have are: Username, Password, First Name, Last Name, Email.
Also, I was trying to add more users to test this and I can’t, is this a restriction on plugin free version? I just have 2 added.
Thanks
Thread Starter
dafles
(@dafles)
yes, I logged as user1, in fact I printed on the page before to the restricted shortcode the value of Username, and user1 was printed, then I typed the shortcode and I got the message commented before