Manually adding user to Joomla 2.5 - Joomla! Forum - community, help and support


hi all,

users unable register directly through site.
currently use process similar quoted below remotely add users predefined passwords joomla 1.5 site.

is process same joomla 2.5?
can advise on changes / additions required following:

quote
use php's md5() function encrypt password

joomla users table:

1. jos_users
2. jos_core_acl_aro
3. jos_core_acl_groups_aro_map

adding new registered user:

1. insert jos_users
- fields : id( = autoincrement field), username, name, email,
password, gid (18)
- these compulsory fields fillup.
2. insert jos_core_acl_aro
-fields : aro_id ( = autoincrement field),
section_value( ”users” ), value(=jos_users.id), name=(=jos_users.name)
3. insert jos_core_acl_groups_aro_map
-fields : group_id ( 18 ), aro_id( =jos_core_acl_aro.aro_id)

'18' registered user.

quote end.

thanks

in joomla! 2.5, 2 tables involved namely jos_users , jos_user_usergroup_map.

review of document http://docs.joomla.org/how_do_you_recover_your_admin_password%3f of in understanding how add rows in appropriate tables.

be informed table jos_usergroups contains list of defined groups such registered, author, superuser, , forth. id table appropriate group id.

note: database use joomla! may not have table prefix jos_. change table prefix 1 used in joomla! database.





Comments