Announcement

#1 2012-06-11 23:29:33

Mr.Keyser
Guest

My UserBase and Auntefication system

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.

 

#2 2012-06-11 23:40:24

Mr.Keyser
Guest

Re: My UserBase and Auntefication system

Ou, and name cookies replaced by my.

 

#3 2012-06-12 00:25:12

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: My UserBase and Auntefication system

extracted from config_default.inc.php (don't modify this file)

Code:

// 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

 

#4 2012-06-12 00:25:28

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7202

Re: My UserBase and Auntefication system

your Auntefication system is in the table on same database ?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2012-06-12 00:26:14

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: My UserBase and Auntefication system

for the login cookie there is the parameter

Code:

$conf['remember_me_name'] = 'pwg_remember';

Offline

 

#6 2012-06-12 15:53:40

Mr.Keyser
Guest

Re: My UserBase and Auntefication system

Okay, big thanks all.

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact