🌍
English
Hello Piwigo Team, i have big userbase and Auntefication system. Please, tell me, how can i piwigo login system and piwigo user base replaced by my ??? Big thanx, and sorry sorry for my english.
Ou, and name cookies replaced by my.
extracted from config_default.inc.php (don't modify this file)
// users_table: which table is the reference for users? Can be a different // table than Piwigo table // // If you decide to use another table than the default one, you need to // prepare your database by deleting some datas : // // delete from piwigo_user_access; // delete from piwigo_user_cache; // delete from piwigo_user_feed; // delete from piwigo_user_group; // delete from piwigo_user_infos; // delete from piwigo_sessions; // delete from piwigo_rate; // update piwigo_images set rating_score = null; // delete from piwigo_caddie; // delete from piwigo_favorites; // // All informations contained in these tables and column are related to // piwigo_users table. $conf['users_table'] = null; // If you decide to use external authentication // change conf below by $conf['external_authentification'] = true; $conf['external_authentification'] = false; // Other tables can be changed, if you define associated constants // Example: // define('USER_INFOS_TABLE', 'pwg_main'.'user_infos'); // user_fields : mapping between generic field names and table specific // field names. For example, in PWG, the mail address is names // "mail_address" and in punbb, it's called "email". $conf['user_fields'] = array( 'id' => 'id', 'username' => 'username', 'password' => 'password', 'email' => 'mail_address' );
you have to add these three variables in your local configuration (local/config/config.inc.php or with the plugin LocalFilesEditor) according to your configuration
Offline
your Auntefication system is in the table on same database ?
Offline
for the login cookie there is the parameter
$conf['remember_me_name'] = 'pwg_remember';
Offline
Okay, big thanks all.