开发者

joomla add data to user

开发者 https://www.devze.com 2023-02-08 20:18 出处:网络
I would like to know if there is a way to add some data to users in joomla 1.6. For example I have data website that should gath开发者_开发问答er data using a different database for each user. I would

I would like to know if there is a way to add some data to users in joomla 1.6. For example I have data website that should gath开发者_开发问答er data using a different database for each user. I would like to store the database informations (user, pass, db) for each of them to then load a user specific page (you know, google, facebook, etc way).

In Concrete5 you can add "attributes" to users, which could be a good way in joomla?


There is a table called

jos_user_profiles

This has the fields:

user_id, profile_key, profile_value, ordering

Seem's like this is the table your data should be stored in. Don't know if there's a function for that in the backend.


Perhaps this is what you are looking for: http://docs.joomla.org/Creating_a_profile_plugin


Not sure if you found solution or not BUT...

You need to populate the following tables:

Add user to: jos_users

Assign the user aro: jos_core_acl_aro

Create relation between aro and user group: jos_core_acl_groups_aro_map

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号