ifb-online wrote:
Hi - I'm interested in this too (integrating a Piwigo photo gallery with vBulletin).
Did anyone get this working yet?
Have you test ?
Offline
ddtddt wrote:
Have you test ?
Hi all.
I checked all of the options listed, but it does not work.
This is my settings of config file (include/config_default.inc) for vBulletin 5
// All informations contained in these tables and column are related to // piwigo_users table. $conf['users_table'] = 'user'; // If you decide to use external authentication // change conf below by $conf['external_authentification'] = true; $conf['external_authentification'] = true; // 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' => 'userid', 'username' => 'username', 'password' => 'token', 'email' => 'email' ); // password_hash: function hash the clear user password to store it in the // database. The function takes only one parameter: the clear password. $conf['password_hash'] = 'pwg_password_hash'; // password_verify: function that checks the password against its hash. The // function takes 2 mandatory parameter : clear password, hashed password + // an optional parameter user_id. The user_id is used to update the password // with the new hash introduced in Piwigo 2.5. See function // pwg_password_verify in include/functions_user.inc.php $conf['password_verify'] = 'pwg_password_verify'; // guest_id : id of the anonymous user $conf['guest_id'] = 3; // default_user_id : id of user used for default value $conf['default_user_id'] = $conf['guest_id']; // Registering process and guest/generic members get language from the browser // if language isn't available PHPWG_DEFAULT_LANGUAGE is used as previously $conf['browser_language'] = true; // webmaster_id : webmaster'id. $conf['webmaster_id'] = 1;
When trying to log in, it gives two errors:
Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in ...\include\passwordhash.class.php on line 272
Warning: Cannot modify header information - headers already sent by (output started at ...\include\passwordhash.class.php:272) in ...\include\page_header.php on line 86
Is there any solution for this error?
Last edited by elektro-kot (2020-06-04 23:28:02)
Offline