Aller au contenu
Invision Board France

Comment configurer IPBWI ?


Neytiri

Messages recommandés

Bonjour, me voici ici car je bloc sur l'installation d'ipbwi, je ne sais pas trop quoi mettre dans les chemins du fichier "config.inc.php".

 

Voici comment est organisé mon travail en local :

120203024814500666.png

 

IPBoard contient tous les fichiers d'IPBoard.

ipbwi contient tout les fichier ipbwi (dossier lib "librairie" compris) ainsi que ipbwi.inc.php.

Site contient mon site web perso créer depuis 0 avec notepad++

 

Dans site j'ai mon index.php dans lequel j'appel ipbwi de cette façon

<?php
  // IPBWI
  require_once('../ipbwi/ipbwi.inc.php');
?>

:

 

Tout fonctionne bien de ce coté là, cependant pour configurer ipbwi je suis perdu, il y à 36 chemin et je ne sais quoi toucher et laisser tel quel dans tout ça :s

 

J'ai commenté à droite de tout ce que je ne comprends pas.

 


<?php
/**
* @desc Please edit this configuration file to get your ipbwi installation work.
* @copyright 2007-2010 IPBWI development team
* @package config
* @author Matthias Reuter ($LastChangedBy: matthias $)
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License
* @version $LastChangedDate: 2009-08-26 19:19:41 +0200 (Mi, 26 Aug 2009) $
* @since 2.0
* @link http://ipbwi.com
* @ignore
*/

/**
* The full qualified filesystem path to the folder of your IPB installation.
* You must add a trailing slash.
*
* Example path: '/home/public_html/community/forums/'
*/
if(!defined('ipbwi_BOARD_PATH')){
define('ipbwi_BOARD_PATH',''); /* Le chemin de mon forum ipboard ? */
}

/**
* The full qualified filesystem path to the folder of your IPB Admin directory.
* You must add a trailing slash.
*
* Example path: '/home/public_html/community/forums/admin/'
*/
if(!defined('ipbwi_BOARD_ADMIN_PATH')){
define('ipbwi_BOARD_ADMIN_PATH',ipbwi_BOARD_PATH.'admin/'); /* Ici je comprends rien, que faut il laisser/remplacer ? */
}

/**
* The full qualified filesystem path to the folder of your IPBWI installation.
* You must add a trailing slash.
*
* Example path: '/home/public_html/website/ipbwi/'
*/
if(!defined('ipbwi_ROOT_PATH')){
define('ipbwi_ROOT_PATH',''); /* Heu on y est pas déjà dans le dossier ipbwi !!????? Je met '/' ? */
}

/**
* The base-URL of your website. This is needed to get the live-examples viewed properly.
* You must add a trailing slash.
*
* Example url: 'http://ipbwi.com/examples/'
*/
if(!defined('ipbwi_WEB_URL')){
define('ipbwi_WEB_URL',''); /* C'est le nom de domaine qui pointe sur le forum ici ? ? */
}

/**
* Make login possible on a different domain as the domain where the board is installed.
*
* If not set, the board's cookie domain will be used.
* Do not touch this setting, if you don't know how to use it.
*
* Please insert a dot before the domain.
* Example: .domain.com
* Example for subdomain: .site.domain.com
*/
if(!defined('ipbwi_COOKIE_DOMAIN')){
define('ipbwi_COOKIE_DOMAIN',''); /* Ici je comprends pas vraiment quoi mettre */
}

/**
* IP.board 2 does not support natively UTF-8 character encoding.
* Turn this option to true, if you want to get all output-strings
* in UTF-8 encoding, otherwise turn to false to get them in ISO encoding.
*/
if(!defined('ipbwi_UTF8')){
define('ipbwi_UTF8',true);
}

/**
* If you want to define another prefix for ipbwi-tables in your board's database,
* you are able to define it here.
*/
if(!defined('ipbwi_DB_prefix')){
define('ipbwi_DB_prefix','ipbwi_'); /* Dois y avoir une BDD pour IPBWI ? */
}

/**
* The Default IPBWI Language Pack.
*
* Language packs should be named XX.inc.php where 'XX' is the
* language and be situated in the lib/lang/ folder.
* By default, this uses the "en" (English) language pack.
*/
if(!defined('ipbwi_LANG')){
define('ipbwi_LANG','en');
}

/**
* Set a forced encoding.
*
* If you set a encoding here this encoding will be forced instead
* of the encoding that is given in the language pack you use.
* By default false
* e.g. give value like 'ISO-8859-1'
* Notice: This will also overwrite ipbwi_UTF8!
*/

if(!defined('ipbwi_OVERWRITE_ENCODING')){
define('ipbwi_OVERWRITE_ENCODING', false);
}


/**
* Set a forced localisation.
*
* If you set a localisation here this localisation will be forced
* instead of the localisation given in the language pack you use.
* By default false
* e.g. give value like 'de_DE'
* More informations: http://php.net/setlocale
*/

if(!defined('ipbwi_OVERWRITE_LOCAL')){
define('ipbwi_OVERWRITE_LOCAL', false);
}

/**
* The IPBWI captcha mode.
*
* Choose between 'gd' for forcing a GD based captcha, 'recaptcha' for using reCaptcha.
* Otherwise you can choose 'auto', this will take the method that is configured in
* your IP.Board.
*/
if(!defined('ipbwi_CAPTCHA_MODE')){
define('ipbwi_CAPTCHA_MODE','auto');
}

/**
* The recaptcha public key from the board
*/
if(!defined('ipbwi_RECAPTCHA_PUBLIC_KEY')){
define('ipbwi_RECAPTCHA_PUBLIC_KEY', '6Lcl1rwSAAAAAG3JJSiAnTyAPwO8BQAZDegKIUIJ ');
}

/**
* The recaptcha private key from the board
*/
if(!defined('ipbwi_RECAPTCHA_PRIVATE_KEY')){
define('ipbwi_RECAPTCHA_PRIVATE_KEY', '6Lcl1rwSAAAAADYb2N92hphwEzV41gHwMmKme2wt ');
}

/**
* Set on 'true' if you use the IPBWI in your IPB installation, otherwise 'false'
*/

if(!defined('ipbwi_IN_IPB')){
define('ipbwi_IN_IPB', false); /* je dois mettre quoi dans mon cas ? */
}
?>
[/codeBOX]

 

Voilà, et aussi pour les chemin, je dois mettre le chemin depuis la racine de mon serveur ou me baser sur la position du fichier de configuration ?

 

Pouvez vous m'aider svp ?

Modifié par Youp3
Lien vers le commentaire
Partager sur d’autres sites

  • Administration

Bonjour,

 

ipbwi_BOARD_PATH est le chemin complet vers ton forum IP.Board, en partant de la racine de ton lecteur. Ton installation locale est sous windows ou linux ? Sous linux, le chemin est du même genre que l'exemple donné dans le code. Sous windows, il faudra mettre C:\ton_chemin\IPBoard\.

 

ipbwi_BOARD_ADMIN_PATH, sous linux tu ne changes rien. Sous windows, il faut certainement remplacer le / par \.

 

ipbwi_ROOT_PATH : non, il faut mettre le chemin complet, dans le même style que pour ipbwi_BOARD_PATH mais pour indiquer le chemin vers ton dossier ipbwi

 

ipbwi_WEB_URL : pour moi c'est l'url vers le site qui tourne au moyen d'ipbwi, pas celle du forum.

 

Pour les cookies, c'est le même principe que pour IP.Board. Tu peux consulter notre documentation sur le sujet.

 

Pour la base de données, cela dépend certainement de ton utilisation d'ipbwi, mais n'ayant jamais utilisé le produit, je ne sais pas trop.

 

ipbwi_IN_IPB : je pense que false est correct pour ton utilisation, mais à toi de tester.

Lien vers le commentaire
Partager sur d’autres sites

Avant de voir ton message j'ai testé ça :

 

<?php
/**
 * @desc			Please edit this configuration file to get your ipbwi installation work.
 * @copyright		2007-2010 IPBWI development team
 * @package			config
 * @author			Matthias Reuter ($LastChangedBy: matthias $)
 * @license			http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License
 * @version			$LastChangedDate: 2009-08-26 19:19:41 +0200 (Mi, 26 Aug 2009) $
 * @since			2.0
 * @link			http://ipbwi.com
 * @ignore
 */

/**
 * The full qualified filesystem path to the folder of your IPB installation.
 * You must add a trailing slash.
 *
 * Example path: '/home/public_html/community/forums/'
 */
if(!defined('ipbwi_BOARD_PATH')){
	define('ipbwi_BOARD_PATH','../IPBoard/'); /* Le chemin de mon forum ipboard ? */
}

/**
 * The full qualified filesystem path to the folder of your IPB Admin directory.
 * You must add a trailing slash.
 *
 * Example path: '/home/public_html/community/forums/admin/'
 */
if(!defined('ipbwi_BOARD_ADMIN_PATH')){
	define('ipbwi_BOARD_ADMIN_PATH',ipbwi_BOARD_PATH.'../IPBoard/admin/'); /* Ici je comprends rien, que faut il laisser/remplacer ? */
}

/**
 * The full qualified filesystem path to the folder of your IPBWI installation.
 * You must add a trailing slash.
 *
 * Example path: '/home/public_html/website/ipbwi/'
 */
if(!defined('ipbwi_ROOT_PATH')){
	define('ipbwi_ROOT_PATH','../ipbwi/'); /* Heu on y est pas déjà dans le dossier ipbwi !!????? Je met '/' ? */
}

/**
 * The base-URL of your website. This is needed to get the live-examples viewed properly.
 * You must add a trailing slash.
 *
 * Example url: 'http://ipbwi.com/examples/'
 */
if(!defined('ipbwi_WEB_URL')){
	define('ipbwi_WEB_URL','http://localhost/Site'); /* C'est le nom de domaine qui pointe sur le forum ici ? ? */
}

/**
 * Make login possible on a different domain as the domain where the board is installed.
 *
 * If not set, the board's cookie domain will be used.
 * Do not touch this setting, if you don't know how to use it.
 *
 * Please insert a dot before the domain.
 * Example: .domain.com
 * Example for subdomain: .site.domain.com
 */
if(!defined('ipbwi_COOKIE_DOMAIN')){
	define('ipbwi_COOKIE_DOMAIN','.localhost'); /* Ici je comprends pas vraiment quoi mettre */
}

/**
 * IP.board 2 does not support natively UTF-8 character encoding.
 * Turn this option to true, if you want to get all output-strings
 * in UTF-8 encoding, otherwise turn to false to get them in ISO encoding.
 */
if(!defined('ipbwi_UTF8')){
	define('ipbwi_UTF8',true);
}

/**
 * If you want to define another prefix for ipbwi-tables in your board's database,
 * you are able to define it here.
 */
if(!defined('ipbwi_DB_prefix')){
	define('ipbwi_DB_prefix','ipbwi_'); /* Dois y avoir une BDD pour IPBWI ? */
}

/**
 * The Default IPBWI Language Pack.
 *
 * Language packs should be named XX.inc.php where 'XX' is the
 * language and be situated in the lib/lang/ folder.
 * By default, this uses the "en" (English) language pack.
 */
if(!defined('ipbwi_LANG')){
	define('ipbwi_LANG','fr');
}

/**
 * Set a forced encoding.
 *
 * If you set a encoding here this encoding will be forced instead
 * of the encoding that is given in the language pack you use.
 * By default false
 * e.g. give value like 'ISO-8859-1'
 * Notice: This will also overwrite ipbwi_UTF8!
 */

if(!defined('ipbwi_OVERWRITE_ENCODING')){
	define('ipbwi_OVERWRITE_ENCODING', false);
}


 /**
  * Set a forced localisation.
  *
  * If you set a localisation here this localisation will be forced
  * instead of the localisation given in the language pack you use.
  * By default false
  * e.g. give value like 'de_DE'
  * More informations: http://php.net/setlocale
  */

if(!defined('ipbwi_OVERWRITE_LOCAL')){
	define('ipbwi_OVERWRITE_LOCAL', false);
}

/**
 * The IPBWI captcha mode.
 *
 * Choose between 'gd' for forcing a GD based captcha, 'recaptcha' for using reCaptcha.
 * Otherwise you can choose 'auto', this will take the method that is configured in
 * your IP.Board.
 */
if(!defined('ipbwi_CAPTCHA_MODE')){
	define('ipbwi_CAPTCHA_MODE','auto');
}

/**
 * The recaptcha public key from the board
 */
if(!defined('ipbwi_RECAPTCHA_PUBLIC_KEY')){
	define('ipbwi_RECAPTCHA_PUBLIC_KEY', '6Lcl1rwSAAAAAG3JJSiAnTyAPwO8BQAZDegKIUIJ ');
}

/**
 * The recaptcha private key from the board
 */
if(!defined('ipbwi_RECAPTCHA_PRIVATE_KEY')){
	define('ipbwi_RECAPTCHA_PRIVATE_KEY', '6Lcl1rwSAAAAADYb2N92hphwEzV41gHwMmKme2wt ');
}	

/**
 * Set on 'true' if you use the IPBWI in your IPB installation, otherwise 'false'
 */

 if(!defined('ipbwi_IN_IPB')){
	 define('ipbwi_IN_IPB', false); /* je dois mettre quoi dans mon cas ? */
 }
?>

 

Je n'ai plus aucune erreur, j'ai également mis ça dans mon index.php :

 

  // IPBWI
  require_once('../ipbwi/ipbwi.inc.php');
  require_once("../ipbwi/lib/stats.inc.php");

 

Je n'ai aucune erreur de chemin ou autre mais c'est comme si ipbwi n'était pas installé, le site est disponible mais rien de plus grace aux deux includes ci-dessus, y a il une manip à faire en plus de ça pour afficher les données ?.

Modifié par Neytiri
Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

Chargement
×
×
  • Créer...

Information importante

En utilisant ce site, vous êtes d’accords avec nos Conditions d’utilisation. Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookies, sinon nous supposerons que vous êtes d’accord pour continuer.