Buongiorno,
Questo topic riguarda la "Integration with existing user and group lists".
Preciso che ho iniziato già la configurazione dell'applicazione (senza ancora integrare gli utenti), ma vorrei in seguito procedere all'integrazione di questa applicazione in WordPress, compresa l'integrazione degli utenti. NB le tabelle di dadabik sono installate nello stesso db di wordpress.
Dal manuale di installazione leggo quanto segue:
"To set DaDaBIK to use your own users and groups table, you have to configure the parameters starting with $users_table_ and $groups_table_ in /include/config.php;"
Prima di cominciare, ho considerato che:
- Tutte le granular permission in dadabik sino ad ora le ho basate sui due gruppi di base : admin e default.
- potrei aggiungere una colonna in wp_users e chiamala dababik_group con valore di default "2" alla registrazione di un nuovo utente. Il valore admin è cambiato manualmente.
Con queste premesse se dalla linea #191 io compilassi config.php come segue:
// the groups table is used just if $enable_granular_permissions = 1
$users_table_name = 'wp_users';
$users_table_id_field = 'ID'; // must be a numeric field and PK *** This is the user_id in WP table wp_users
$users_table_id_group_field = 'dadabik_group'; // must be a numeric field
$users_table_username_field = 'user_nice_name'; // must be a char/varchar field ***This is in the WP table wp_users
$users_table_password_field = 'user_pass'; // must be a char/varchar field *** This is the password field in WP table wp_users
$users_table_authentication_type_field = 'authentication_type_user';
1) Questo codice funzionerebbe per affrancarsi in toto dal dadabik_users, et dipendere solo da wp_users?
2) Immagino che le ultime due righe si possano trascurare se indico alla linea #165 $wordpress_authentication = 1;
Grazie e cordiali saluti!
Leone
You are using DaDaBIK version 8.2-Lerici enterprise, installed on 02-26-2018 (installation code: ["omissis"]), the latest version of DaDaBIK is 8.2-Lerici released on 12-19-2017
You are runnning the last release of DaDaBIK
PHP Version: 7.0.27
mysql version: 5.5.5-10.0.34-MariaDB
Web server: LiteSpeed
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6
Questo topic riguarda la "Integration with existing user and group lists".
Preciso che ho iniziato già la configurazione dell'applicazione (senza ancora integrare gli utenti), ma vorrei in seguito procedere all'integrazione di questa applicazione in WordPress, compresa l'integrazione degli utenti. NB le tabelle di dadabik sono installate nello stesso db di wordpress.
Dal manuale di installazione leggo quanto segue:
"To set DaDaBIK to use your own users and groups table, you have to configure the parameters starting with $users_table_ and $groups_table_ in /include/config.php;"
Prima di cominciare, ho considerato che:
- Tutte le granular permission in dadabik sino ad ora le ho basate sui due gruppi di base : admin e default.
- potrei aggiungere una colonna in wp_users e chiamala dababik_group con valore di default "2" alla registrazione di un nuovo utente. Il valore admin è cambiato manualmente.
Con queste premesse se dalla linea #191 io compilassi config.php come segue:
// the groups table is used just if $enable_granular_permissions = 1
$users_table_name = 'wp_users';
$users_table_id_field = 'ID'; // must be a numeric field and PK *** This is the user_id in WP table wp_users
$users_table_id_group_field = 'dadabik_group'; // must be a numeric field
$users_table_username_field = 'user_nice_name'; // must be a char/varchar field ***This is in the WP table wp_users
$users_table_password_field = 'user_pass'; // must be a char/varchar field *** This is the password field in WP table wp_users
$users_table_authentication_type_field = 'authentication_type_user';
1) Questo codice funzionerebbe per affrancarsi in toto dal dadabik_users, et dipendere solo da wp_users?
2) Immagino che le ultime due righe si possano trascurare se indico alla linea #165 $wordpress_authentication = 1;
Grazie e cordiali saluti!
Leone
You are using DaDaBIK version 8.2-Lerici enterprise, installed on 02-26-2018 (installation code: ["omissis"]), the latest version of DaDaBIK is 8.2-Lerici released on 12-19-2017
You are runnning the last release of DaDaBIK
PHP Version: 7.0.27
mysql version: 5.5.5-10.0.34-MariaDB
Web server: LiteSpeed
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6