27 Posts
Boris
10 years ago
6
Topic

Hi, and thanks for the new vers. 3

How can i get users info like: Name, address, city etc.

Using the following plugins won't work anymore
CCK Field Live - Author
CCK Field Live - Profile - Advanced


Using the live field "User": Gives me 2 options 




Get a Book for SEBLOD
10 years ago
0
Level 1

Hello Boris,

To use user live plugin let on Current User and put the field name in database (and not field name), example "id", "name".

Best Regards.

27 Posts
Boris
10 years ago
0
Level 1

Hi Bes,

Thanks for your fast reply.

But, no matter what i do (tried several different possibilities) i do not get anything from the users profile.

Both "CCK Field Live - Author" and "CCK Field Live - Profile - Advanced" plugins don't seems to work either.

Best regards

Boris


84 Posts
Skepsis
10 years ago
1
Level 1

Hello,

I have the same problem. ID, name and username work but trying to get a value from the standard user profile (city,address1,postal_code) doesnt work.

If you create a new field in the user profile and use as storage standard>user>your_fieldname and check alter then it will work and you can grab the value using live plugin.

Greetings
Skepsis

27 Posts
Boris
10 years ago
0
Level 2

Thanks, i will try this.


Best regards
Boris

84 Posts
Skepsis
10 years ago
0
Level 1

Hey Boris,

Sorry but what I wrote doesnt work...  :(

New created user-fields are stored in the table _cck_store_item_users but the the Live Value function doesnt look in this table. It takes the values from joomla _users table and thats the reason why id, name,username and email work but the rest not.

I dont figured out how to save/extend the _users table. When I choose this table as storage... the field is created in _cck_store_item_users table.

But when you manually create the field in the table _users using phpmyadmin then you can map a new field in seblod to this table. And the most important thing... the Live Value Plugin works!

Maybe a DEV can have a look at it...   ;)


Greetings
Skepsis

84 Posts
Skepsis
10 years ago
0
Level 1

OK, I think i got it now... :) !

If you want to use the Live Plugin to get values from user profile fields you created then you have to use the following storage for your own user profile fields:

Standard > Free > xxx_users > name_of_your_field > check Alter > choose your data format > Add Column to Table


Greetings

Skepsis

Get a Book for SEBLOD