#46 2012-01-24 19:09:16

Piwigo Team
Quetigny - France

Re: vBulletin integration?

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 ?

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.



#47 2020-06-04 23:25:14


Re: vBulletin integration?

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



Board footer

Powered by FluxBB

github twitter newsletter Donate © 2002-2022 · Contact