Форум сетевых администраторов
Показаны 1 сообщений на этой странице

Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- VB интеграция (http://netadmin.ws/forum/forumdisplay.php?forumid=72)
-- Интеграция 4images (http://netadmin.ws/forum/showthread.php?threadid=6592)


Помещено ValeRa+ 20-09-2003 в 21:43:

Question Интеграция 4images

Пытаюс сделать эту интеграцию и вот на очередном этапе написано:

quote:
3. Цffne sessions.php und passe den Konfigurationsteil am
Dateianfang an.
**************************************************
******
Open sessions.php and edit the configuration part at the top
of the file.

Иду в sessions.php и там верхушка такая:

PHP:

if (!defined('ROOT_PATH')) {
  die(
"Security violation");
}

//-----------------------------------------------------
//--- Start Configuration -----------------------------
//-----------------------------------------------------

// Define here the name of the session. Default of vBulletin is "s".
define('SESSION_NAME', 's');

// Define here the name of the template database table.
// Normally no need to change.
define('VB_TEMPLATE_TABLE', 'template');

// Set her the corresponding database fields of the user table.
// If there is no corresponding field in the new user table, 
// leave the value blank. Normally no need to change.
$user_table_fields = array(
  
"user_id" => "userid",
  
"user_level" => "usergroupid",
  
"user_name" => "username",
  
"user_password" => "password",
  
"user_email" => "email",
  
"user_showemail" => "showemail",
  
"user_allowemails" => "emailnotification",
  
"user_invisible" => "invisible",
  
"user_joindate" => "joindate",
  
"user_activationkey" => "",
  
"user_lastaction" => "lastactivity",
  
"user_location" => "",
  
"user_lastvisit" => "lastvisit",
  
"user_comments" => "",
  
"user_homepage" => "homepage",
  
"user_icq" => "icq"
);

// Set here the URL to your vBulletin forum. WITH trailing slash!
$url_app           = "http://www.4homepages.de/vbulletin/";

// Set here different URL's to your vBulletin forum.
// Normally no need to change.
$url_register      = $url_app."register.php?mode=signup";
$url_lost_password = $url_app."member.php?action=lostpw";
$url_control_panel = $url_app."usercp.php";
$url_mailform      = $url_app."member.php?action=mailform&userid={user_id}";
$url_show_profile  = $url_app."member.php?action=getinfo&userid={user_id}";
$url_login         = $url_app."member.php?action=login";
$url_logout        = $url_app."member.php?action=logout";



Но мне не понятно, что, где и как мне нужно править?

Помогите, пожалуйста.


Формат времени GMT. Текущее время 06:25.
Показаны 1 сообщений на этой странице

Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.