форум vBSupport.ru > vBulletin > Вопрос — Ответ
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
буратино
На доске почёта
Болван полнейший.
 
banned nax
Question установка vBPortal на vBulletin 3.5.4 очень прошу помощи.
0

Здравствуйте Уважаемые ГУРУ форума!
Очень прошу помощи в установке vBPortal 3.5.0 Scriptmafia на vBulletin 3.5.4 Scriptmafia.
Инструкция наподобии Alanа из серии "для чайников" или наподобии VipeRа здорово бы помогла. :(

Установил vBulletin 3.5.4 Scriptmafia, удалил папку Install, если надо могу добавить эту папку снова.
Устанавливал по инструкции, все права поставил так как указано на форуме, без наворотов защиты (пока не защищал никак, кроме удаления папки Install).

Скачал vBPortal 3.5.0 и порылся в файле config.php, но кодов на редактирование по принципу vBulletin config.php не обнаружил.
Залил по ФТП Тотал Командером в ту же папку где и форум, тоесть папка htdocs, а в ней папки forum и portal. Затем позвал в браузере методом http://мойсайт.ру/portal/vbpinstall/install.php и http://мойсайт.ру/htdocs/vbpinstall/install.php - но результатов не дает.
Думаю надо какие то права изменить в портале и форуме, а может и залить обратно папку install форума.

Помогите с установкой пожалуйста.
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Мик
Эксперт
 
Мик's Avatar
Default
0

Заливаешь на фтп
хттп://сайт.ру/vbpinstall/install.php
 
 
VipeR
Private Person
Developer
 
VipeR's Avatar
Default
0

http://www.vbsupport.ru/forum/showthread.php?t=1358
 
 
буратино
На доске почёта
Болван полнейший.
 
banned nax
Default
0

Quote:
Originally Posted by Мик
Заливаешь на фтп
хттп://сайт.ру/vbpinstall/install.php
Так не помогает :( только сейчас попробовал.


Сейчас попробую.

добавлено через 30 минут
Quote:
перед установкой надо закомментить в файле /vbpinstall/installcore.php строки от
PHP Code:
if (file_exists('./install/authenticate.php') == true) {

до
PHP Code:
die("Could not find file " . VBPATH . "/install/authenticate.php see readme.txt");

}

Вопрос: что значит "закомментить"?

Вот у меня этот отрезок файла vbpinstall/installcore.php :

Code:
// authenticate with customer number
if (file_exists('./install/authenticate.php') == true) {
 $vbulletin->input->clean_gpc('c', 'bbcustomerid', TYPE_STR);
 if (!function_exists(print_cp_header) AND empty($vbulletin->GPC['bbcustomerid'])) {
  // cut down version
  function print_cp_header($title = '', $onload = '', $headinsert = '') {
   global $vbulletin, $stylevar;
   // start GZ encoding output
   if ($vbulletin->options['gzipoutput']
    AND !$vbulletin->nozip
    AND !headers_sent()
    AND function_exists('ob_start')
    AND function_exists('crc32')
    AND function_exists('gzcompress'))
   {
    if ($output_handler != 'ob_gzhandler') {
     @ob_end_clean();
    }
    ob_start();
   }
   // print out the page header
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . "\r\n";
   echo "<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">\r\n";
   echo "<head>
   <title>$title - " . $vbulletin->options['bbtitle'] . "</title>
   <meta http-equiv=\"Content-Type\" content=\"text/html; charset=$stylevar[charset]\" />
   <link rel=\"stylesheet\" href=\"" . BBDIR . "/cpstyles/" . $vbulletin->options['cpstylefolder'] . "/controlpanel.css\" />" . iif($headinsert != '', "
   $headinsert") . "
   <script type=\"text/javascript\">
   <!--
   var SESSIONHASH = \"" . $vbulletin->session->vars['sessionhash'] . "\";
   function set_cp_title() {
    if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string') {
     parent.document.title = (document.title != '' ? document.title : 'vbPortal');
    }
   }
   //-->
   </script>
   <script type=\"text/javascript\" src=\"" . BBDIR . "/clientscript/vbulletin_global.js\"></script>\n\r";
   echo "</head>\r\n";
   echo "<body style=\"margin:0px\" onload=\"set_cp_title();$onload\">\r\n";
   define('DONE_CPHEADER', true);
  }
  // cut down version
  function print_cp_footer() {
   global $vbulletin, $level, $vbphrase;
   echo "\n</body>\n</html>";
   if ($vbulletin->options['gzipoutput']
    AND function_exists("ob_start")
    AND function_exists("crc32")
    AND function_exists("gzcompress")
    AND !$vbulletin->nozip)
   {
    $text = ob_get_contents();
    ob_end_clean();
    if (!(SAPI_NAME == 'apache2handler' AND PHP_VERSION <= '4.3.3') AND !headers_sent() AND SAPI_NAME != 'apache2filter') {
     $newtext = fetch_gzipped_text($text, $vbulletin->options['gziplevel']); // vbull function
    } else {
     $newtext = $text;
    }
    @header('Content-Length: ' . strlen($newtext));
    echo $newtext;
   }
   exit;
  }
 }
 $authenticate_phrases['upgrade_title'] = 'Install System';
 $authenticate_phrases['enter_system'] = 'Enter Install System';
 $authenticate_phrases['enter_cust_num'] = 'Please Enter Your Customer Number';
 $authenticate_phrases['customer_number'] = 'Customer Number';
 $authenticate_phrases['cust_num_explanation'] = 'This is the number with which you log in to the vBulletin.com Members\' Area';
 $authenticate_phrases['cust_num_success'] = 'Customer number entered successfully.';
 $authenticate_phrases['redirecting'] = 'Redirecting...';
 require_once('./install/authenticate.php');
} else {
 die("Could not find file " . VBPATH . "/install/authenticate.php see readme.txt");
}
Что делать с ним?!
И дело в том что в браузере совсем не открывается инсталяция!?

+ к тому вот это в скрипте (макромедиа дримвивер используется):

Code:
 
Please Log in:
 
.php">
vbPortal 3.0 Install Script

Username
 
Password
Это версия 3.0 или 3.5?!

добавлено через 4 часа 46 минут
В браузере все-таки выдалось вот это:
Please make sure you have entered the value for $forums in vbPortal 'global.php' and uploaded the changes.
Что редактировать?

Last edited by буратино : 07-20-2006 at 11:38 PM. Reason: Добавлено сообщение
 
 
VipeR
Private Person
Developer
 
VipeR's Avatar
Default
1

Quote:
Originally Posted by буратино
Вопрос: что значит "закомментить"?
Однострочный код:
PHP Code:
// код 
Многострочный код:
PHP Code:
/* код
код
код
код */ 
Quote:
Originally Posted by буратино
Это версия 3.0 или 3.5?!
Это версия скрипта, не форума.
Quote:
Originally Posted by буратино
В браузере все-таки выдалось вот это:
Please make sure you have entered the value for $forums in vbPortal 'global.php' and uploaded the changes.
Что редактировать?
Проверьте что вы ввели значение для параметра $forums в файле vBPortal'а global.php.
 
 
буратино
На доске почёта
Болван полнейший.
 
banned nax
Default
0

VipeR, примерно понял как это делается, но не могли бы Вы точно показать как это будет выглядеть на примере куска моего скрипта?!
Дело в том, что перед куском стоит вот это "// authenticate with customer number" , тоесть две строки уже есть этого "комментирования", а потом уже все то что надо комментить.
Не хочу ошибиться, если покажете было бы хорошо.
 
 
Argo
Продвинутый
 
Argo's Avatar
Default
1

буратино,

PHP Code:
// authenticate with customer number
/*
if (file_exists('./install/authenticate.php') == true) {
 $vbulletin->input->clean_gpc('c', 'bbcustomerid', TYPE_STR);
 if (!function_exists(print_cp_header) AND empty($vbulletin->GPC['bbcustomerid'])) {
  // cut down version
  function print_cp_header($title = '', $onload = '', $headinsert = '') {
   global $vbulletin, $stylevar;
   // start GZ encoding output
   if ($vbulletin->options['gzipoutput']
    AND !$vbulletin->nozip
    AND !headers_sent()
    AND function_exists('ob_start')
    AND function_exists('crc32')
    AND function_exists('gzcompress'))
   {
    if ($output_handler != 'ob_gzhandler') {
     @ob_end_clean();
    }
    ob_start();
   }
   // print out the page header
   echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">' . "\r\n";
   echo "<html dir=\"$stylevar[textdirection]\" lang=\"$stylevar[languagecode]\">\r\n";
   echo "<head>
   <title>$title - " . $vbulletin->options['bbtitle'] . "</title>
   <meta http-equiv=\"Content-Type\" content=\"text/html; charset=$stylevar[charset]\" />
   <link rel=\"stylesheet\" href=\"" . BBDIR . "/cpstyles/" . $vbulletin->options['cpstylefolder'] . "/controlpanel.css\" />" . iif($headinsert != '', "
   $headinsert") . "
   <script type=\"text/javascript\">
   <!--
   var SESSIONHASH = \"" . $vbulletin->session->vars['sessionhash'] . "\";
   function set_cp_title() {
    if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string') {
     parent.document.title = (document.title != '' ? document.title : 'vbPortal');
    }
   }
   //-->
   </script>
   <script type=\"text/javascript\" src=\"" . BBDIR . "/clientscript/vbulletin_global.js\"></script>\n\r";
   echo "</head>\r\n";
   echo "<body style=\"margin:0px\" onload=\"set_cp_title();$onload\">\r\n";
   define('DONE_CPHEADER', true);
  }
  // cut down version
  function print_cp_footer() {
   global $vbulletin, $level, $vbphrase;
   echo "\n</body>\n</html>";
   if ($vbulletin->options['gzipoutput']
    AND function_exists("ob_start")
    AND function_exists("crc32")
    AND function_exists("gzcompress")
    AND !$vbulletin->nozip)
   {
    $text = ob_get_contents();
    ob_end_clean();
    if (!(SAPI_NAME == 'apache2handler' AND PHP_VERSION <= '4.3.3') AND !headers_sent() AND SAPI_NAME != 'apache2filter') {
     $newtext = fetch_gzipped_text($text, $vbulletin->options['gziplevel']); // vbull function
    } else {
     $newtext = $text;
    }
    @header('Content-Length: ' . strlen($newtext));
    echo $newtext;
   }
   exit;
  }
 }
 $authenticate_phrases['upgrade_title'] = 'Install System';
 $authenticate_phrases['enter_system'] = 'Enter Install System';
 $authenticate_phrases['enter_cust_num'] = 'Please Enter Your Customer Number';
 $authenticate_phrases['customer_number'] = 'Customer Number';
 $authenticate_phrases['cust_num_explanation'] = 'This is the number with which you log in to the vBulletin.com Members\' Area';
 $authenticate_phrases['cust_num_success'] = 'Customer number entered successfully.';
 $authenticate_phrases['redirecting'] = 'Redirecting...';
 require_once('./install/authenticate.php');
} else {
 die("Could not find file " . VBPATH . "/install/authenticate.php see readme.txt");
}
*/ 
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 01:49 PM.


Powered by vBulletin® Version 3.0.0
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.