форум vBSupport.ru > vBulletin > vBulletin 4.2.x > Вопросы по vBulletin 4.2.x
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
Жахангир Инамов
Простоузер
Default Ошибка PHP Deprecated: preg_replace():
0

Здравствуйте, у меня такая проблема, при использовании vFcoders Hide Hack появляется вот такая ошибка
Code:
PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/icoderuz/public_html/includes/vfchh/php/vfc_hide_core.php on line 163
. Пару дней назад появилась, от чего может быть, или как исправить? Версия PHP 5.6, версия форума 4.2.5. помогите разобраться, логи весят 100 мб, ежесекундно ошибка. Спасибо заранее
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
hoo
Гуру
 
hoo's Avatar
Default
0

Пару дней назад? Вы серьёзно?
e modifier не юзают с пхп 5.5

1. Задавайте подобные вопросы в теме с хаком.
2. Прежде чем задать такой вопрос указывайте ту часть кода, которая вызывается подобное (в вашем случае строка 163 в скрипте vfc_hide_core.php)
 
 
Smalesh
В Черном списке
Default
0

Quote:
Originally Posted by hoo View Post
Пару дней назад? Вы серьёзно?
Например хостер обновил php.
 
 
hoo
Гуру
 
hoo's Avatar
Default
1

Smalesh, нее.. он бы 4.2.5 не смог поставить ранее)
 
 
Жахангир Инамов
Простоузер
Default
0

Code:
foreach ($this->taglistwo as $tag => $parser) 
   {
      $message = preg_replace("/\[" . $tag . "\]/siU", "[".$tag."=".$this->twodefault[$tag]."]", $message);
      $message = preg_replace("/\[" . $tag . "=(&quot;|\"|'|)([0-9,\s]+)\\1\](.*)\[\/" . $tag . "\]/esiU", "\$this->tagparser->\$parser('\\3', '\\2')", $message);
      $message = preg_replace("/\[" . $tag . "=" . $this->twodefault[$tag] . "\]/siU", '[' . $tag . ']', $message);
   }
вот кусок кода
 
 
hoo
Гуру
 
hoo's Avatar
Default
4

вместо
Code:
$message = preg_replace("/\[" . $tag . "=(&quot;|\"|'|)([0-9,\s]+)\\1\](.*)\[\/" . $tag . "\]/esiU", "\$this->tagparser->\$parser('\\3', '\\2')", $message);
указать
Code:
$tagparser = $this->tagparser;
      $message = preg_replace_callback(
          "/\[" . $tag . "=(&quot;|\"|'|)([0-9,\s]+)\\1\](.*)\[\/" . $tag . "\]/siU",
          function($m) use ($parser, $tagparser) { return $tagparser->$parser($m[3], $m[2]); },
          $message
      );
 
 
Жахангир Инамов
Простоузер
Default
0

Quote:
Originally Posted by hoo View Post
вместо
Code:
$message = preg_replace("/\[" . $tag . "=(&quot;|\"|'|)([0-9,\s]+)\\1\](.*)\[\/" . $tag . "\]/esiU", "\$this->tagparser->\$parser('\\3', '\\2')", $message);
указать
Code:
$tagparser = $this->tagparser;
      $message = preg_replace_callback(
          "/\[" . $tag . "=(&quot;|\"|'|)([0-9,\s]+)\\1\](.*)\[\/" . $tag . "\]/siU",
          function($m) use ($parser, $tagparser) { return $tagparser->$parser($m[3], $m[2]); },
          $message
      );
Отлично работает, спасибо
 


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 11:22 PM.


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