форум vBSupport.ru > Камчатка > Спец-раздел
  • »
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
 
 
 
 
EaGames
Продвинутый
 
EaGames's Avatar
Default Это где?
0

Помогите пожалуйста!
я скачал хак Hide Hack Gold и следовал инструкция пока не дошол до этого
Quote:
Откройте functions_showthread.php в текстовом редакторе
я так поискал и ничего подобного не нашол! у меня файл functions_showthread.php нету! ни includes нигде! помогите! что это?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Sellrion
Kernel panic
 
Sellrion's Avatar
Default
1

Наверное имелось ввиду просто showthread.php...
 
 
EaGames
Продвинутый
 
EaGames's Avatar
Default
0

спасибо, попробую!

Добавлено через 4 минуты
Нет не катит! но все ровно спасибо

Last edited by EaGames : 10-16-2007 at 09:19 PM. Reason: Добавлено сообщение
 
 
yurayudin
Простоузер
Default
1

Это шаблон а не файл ищи адинка--стили и шаблоны
 
 
EaGames
Продвинутый
 
EaGames's Avatar
Default
0

Нету такого шаблона, к сожалению!
 
 
Мик
Эксперт
 
Мик's Avatar
Default
2

ахуеть!!!
 
 
Cactus
Специалист
 
Cactus's Avatar
Default
1

EaGames, вылои полное реадми а лучше дай ссылку на тему где ты это взял...
 
 
g0rn
Гуру
Default
0

Ты скачал хак для старой версии. Качай для своей, я так понимаю, для 3,6
 
 
VipeR
Private Person
Developer
 
VipeR's Avatar
Default
1

пиздец
 
 
EaGames
Продвинутый
 
EaGames's Avatar
Default
0

Вот всё что написано в реадме!

Quote:
Как установить Хак Скрытия для vBulletin 3 с перфиксом таблиц
Перевод выполнен zCarot. Контакты на zCarot.com[.ru] Скачать полезные файлы для vBulletin можно на vBulletin.net.ru
  1. Загрузите functions_hide.php в вашу папку форума includes
  2. Откройте functions_showthread.php в текстовом редакторе
  3. Найдите: require_once('./includes/functions_bbcodeparse.php');
  4. И добавьте ниже этой строчки:// ##### Начало #####
    require_once('./includes/functions_hide.php');
    // ##### Конец #####
  5. Найдите: // sorts through all the stuff to return the postbit template
  6. И добавьте ниже этой строчки: // ##### Начало #####
    global $DB_site,$threadid;
    // ##### Конец #####
  7. Найдите: $post['message'] = handle_bbcode_img($post['pagetext_html'], $forum['allowimages']);
  8. И добавьте ниже этой строчки: // ##### HACK Начало #####
    $hide_shown = 0;
    if (substr($post[message],0,6)=="[hide]"){$post[message] = str_replace("[hide]"," [hide]",$post[message]); }
    if ($session[userid] != 0){

    $hideisadmin = $DB_site->query("SELECT " . TABLE_PREFIX . "user.usergroupid FROM " . TABLE_PREFIX . "usergroup," . TABLE_PREFIX . "user WHERE " . TABLE_PREFIX . "usergroup.usergroupid = " . TABLE_PREFIX . "user.usergroupid AND " . TABLE_PREFIX . "user.userid = '$session[userid]'");
    $hideisadmin = $DB_site->fetch_array($hideisadmin);
    $thez_posts=$DB_site->query("SELECT " . TABLE_PREFIX . "post.userid FROM " . TABLE_PREFIX . "post WHERE " . TABLE_PREFIX . "post.threadid='$threadid'");
    while ($the_posts = $DB_site->fetch_array($thez_posts)) {
    if(($the_posts[userid] == $session[userid]) || ($hideisadmin[usergroupid] == 6)) {
    $post[message] = str_replace("[hide]","<img src=\"images/unhidden.gif\" border=\"0\" alt=\"Открытое Содержимое: Спасибо за ответ!\" /><br /><br />",$post[message]);
    $post[message] = str_replace("[/hide]","",$post[message]);
    $hide_shown = 1;
    }
    }
    }

    if ($hide_shown == 0) {
    for ($i = lock_count($post[message],"[hide]"); $i > 0; $i--) {
    $lock_part1 = strpos($post[message], "[hide]");
    $lock_part2 = (strpos($post[message],"[/hide]")-strpos($post[message],"[hide]"))+7;
    $lock_mess = substr ($post[message], $lock_part1, $lock_part2);
    $post[message] = str_replace( $lock_mess, "<img src=\"images/hide.gif\" border=\"0\" alt=\"Это сообщение содержит скрытый текст. Вам нужно ответить в теме, чтобы увидеть скрытый текст!\" /><br /><br />", $post[message]);
    }
    }


    // ##### HACK Конец #####
  9. Найдите: $post['message'] = &$post['pagetext_html'];
  10. И добавьте ниже этой строчки: // ##### HACK Начало #####
    $hide_shown = 0;
    if (substr($post[message],0,6)=="[hide]"){$post[message] = str_replace("[hide]"," [hide]",$post[message]); }
    if ($session[userid] != 0){

    $hideisadmin = $DB_site->query("SELECT " . TABLE_PREFIX . "user.usergroupid FROM " . TABLE_PREFIX . "usergroup," . TABLE_PREFIX . "user WHERE " . TABLE_PREFIX . "usergroup.usergroupid = " . TABLE_PREFIX . "user.usergroupid AND " . TABLE_PREFIX . "user.userid = '$session[userid]'");
    $hideisadmin = $DB_site->fetch_array($hideisadmin);
    $thez_posts=$DB_site->query("SELECT " . TABLE_PREFIX . "post.userid FROM " . TABLE_PREFIX . "post WHERE " . TABLE_PREFIX . "post.threadid='$threadid'");
    while ($the_posts = $DB_site->fetch_array($thez_posts)) {
    if(($the_posts[userid] == $session[userid]) || ($hideisadmin[usergroupid] == 6)) {
    $post[message] = str_replace("[hide]","[Hidden Text]: ",$post[message]);
    $post[message] = str_replace("<img src=\"images/unhidden.gif\" border=\"0\" alt=\"Открытое Содержимое: Спасибо за ответ!\" /><br /><br />","",$post[message]);
    $hide_shown = 1;
    }
    }
    }

    if ($hide_shown == 0) {
    for ($i = lock_count($post[message],"[hide]"); $i > 0; $i--) {
    $lock_part1 = strpos($post[message], "[hide]");
    $lock_part2 = (strpos($post[message],"[/hide]")-strpos($post[message],"[hide]"))+7;
    $lock_mess = substr ($post[message], $lock_part1, $lock_part2);
    $post[message] = str_replace( $lock_mess, "<img src=\"images/hide.gif\" border=\"0\" alt=\"Это сообщение содержит скрытый текст. Вам нужно ответить в теме, чтобы увидеть скрытый текст!\" /><br /><br />", $post[message]);
    }
    }


    // ##### HACK Конец #####
  11. Найдите: $post['message'] = parse_bbcode($post['pagetext'], $forum['forumid'], $post['allowsmilie']);
  12. И добавьте ниже этой строчки: // ##### HACK Начало #####
    $hide_shown = 0;
    if (substr($post[message],0,6)=="[hide]"){$post[message] = str_replace("[hide]"," [hide]",$post[message]); }
    if ($session[userid] != 0){

    $hideisadmin = $DB_site->query("SELECT " . TABLE_PREFIX . "user.usergroupid FROM " . TABLE_PREFIX . "usergroup," . TABLE_PREFIX . "user WHERE " . TABLE_PREFIX . "usergroup.usergroupid = " . TABLE_PREFIX . "user.usergroupid AND " . TABLE_PREFIX . "user.userid = '$session[userid]'");
    $hideisadmin = $DB_site->fetch_array($hideisadmin);
    $thez_posts=$DB_site->query("SELECT " . TABLE_PREFIX . "post.userid FROM " . TABLE_PREFIX . "post WHERE " . TABLE_PREFIX . "post.threadid='$threadid'");
    while ($the_posts = $DB_site->fetch_array($thez_posts)) {
    if(($the_posts[userid] == $session[userid]) || ($hideisadmin[usergroupid] == 6)) {
    $post[message] = str_replace("[hide]","<img src=\"images/unhidden.gif\" border=\"0\" alt=\"Открытое Содержимое: Спасибо за ответ!\" /><br /><br />",$post[message]);
    $post[message] = str_replace("[/hide]","",$post[message]);
    $hide_shown = 1;
    }
    }
    }

    if ($hide_shown == 0) {
    for ($i = lock_count($post[message],"[hide]"); $i > 0; $i--) {
    $lock_part1 = strpos($post[message], "[hide]");
    $lock_part2 = (strpos($post[message],"[/hide]")-strpos($post[message],"[hide]"))+7;
    $lock_mess = substr ($post[message], $lock_part1, $lock_part2);
    $post[message] = str_replace( $lock_mess, "<img src=\"images/hide.gif\" border=\"0\" alt=\"Это сообщение содержит скрытый текст. Вам нужно ответить в теме, чтобы увидеть скрытый текст!\" /><br /><br />", $post[message]);
    }
    }


    // ##### HACK Конец #####
  13. Сохраните и закройте functions_showthread.php
  14. Откройте newreply.php в текстовом редакторе
  15. Найдите: require_once('./includes/functions_newpost.php');
  16. И добавьте ниже этой строчки: // ##### Начало #####
    require_once('./includes/functions_hide.php');
    // ##### Конец #####
  17. Найдите: $pagetext = trim(strip_quotes($pagetext));
  18. И добавьте ниже этой строчки: // ##### Начало #####
    $pagetext = preg_replace("/(\[hide\](.*)\[\/hide\])/si", " Не может быть процитировано, так как содержит скрытый текст! ", $pagetext);
    // ##### Конец #####
  19. Найдите: $pagetext = trim(strip_quotes($getpost['pagetext']));
  20. И добавьте ниже этой строчки: // ##### Начало #####
    $pagetext = preg_replace("/(\[hide\](.*)\[\/hide\])/si", " Не может быть процитировано, так как содержит скрытый текст! ", $pagetext);
    // ##### Конец #####
  21. Найдите: $reviewmessage = parse_bbcode($post['pagetext'], $foruminfo['forumid'], $post['allowsmilie']);
  22. И добавьте ниже этой строчки: // ##### Начало #####
    $hide_shown = 0;
    if (substr($reviewmessage,0,6)=="[hide]"){$reviewmessage = str_replace("[hide]"," [hide]",$reviewmessage); }
    if ($session[userid] != 0){
    $hideisadmin = $DB_site->query("SELECT " . TABLE_PREFIX . "user.usergroupid FROM " . TABLE_PREFIX . "usergroup," . TABLE_PREFIX . "user WHERE " . TABLE_PREFIX . "usergroup.usergroupid = " . TABLE_PREFIX . "user.usergroupid AND " . TABLE_PREFIX . "user.userid = '$session[userid]'");
    $hideisadmin = $DB_site->fetch_array($hideisadmin);
    $thez_posts=$DB_site->query("SELECT " . TABLE_PREFIX . "post.userid FROM " . TABLE_PREFIX . "post WHERE " . TABLE_PREFIX . "post.threadid='$threadid'");
    while ($the_posts = $DB_site->fetch_array($thez_posts)) {
    if(($the_posts[userid] == $session[userid]) || ($hideisadmin[usergroupid] == 6)) {
    $reviewmessage = str_replace("[hide]","<img src=\"images/unhidden.gif\" border=\"0\" alt=\"Открытое Содержимое: Спасибо за ответ!\" /><br /><br />",$reviewmessage);
    $reviewmessage = str_replace("[/hide]","",$reviewmessage);
    $hide_shown = 1;
    }
    }
    }

    if ($hide_shown == 0) {

    for ($i = lock_count($reviewmessage,"[hide]"); $i > 0; $i--) {
    $lock_part1 = strpos($reviewmessage, "[hide]");
    $lock_part2 = (strpos($reviewmessage,"[/hide]")-strpos($reviewmessage,"[hide]"))+7;
    $lock_mess = substr ($reviewmessage, $lock_part1, $lock_part2);
    $reviewmessage = str_replace($lock_mess, "<img src=\"images/hide.gif\" border=\"0\" alt=\"Это сообщение содержит скрытый текст. Вам нужно ответить в теме, чтобы увидеть скрытый текст!\" /><br /><br />", $reviewmessage);
    }
    }
    // ##### Конец #####
  23. Сохраните и закройте newreply.php
  24. Откройте search.php
  25. Найдите: require_once('./includes/functions_misc.php');
  26. И добавьте ниже этой строчки: // ##### Начало #####
    require_once('./includes/functions_hide.php');
    // ##### Конец #####
  27. Найдите: // do not show post icon
    else
    {
    $post['posticon'] = false;
    $post['posticonpath'] = '';
    $post['posticontitle'] = '';
    }
  28. И добавьте ниже этой строчки: // ##### Начало #####
    if (substr($post['pagetext'],0,6)=="[hide]"){$post['pagetext'] = str_replace("[hide]"," [hide]",$post['pagetext']); }
    $i = lock_count($post['pagetext'],"[hide]");

    if ($i >=1){
    $post['pagetext'] = str_replace($post['pagetext'], "[Скрытый текст]: Сообщение содержит скрытый текст!", $post['pagetext']);
    }
    // ##### Конец #####
  29. Сохраните и закройте search.php
  30. Откройте printthread.php
  31. Найдите: require_once('./includes/functions_bigthree.php');
  32. И добавьте ниже этой строчки: // ##### Начало #####
    require_once('./includes/functions_hide.php');
    // ##### Конец #####
  33. Найдите: $post['message'] = parse_bbcode($post['pagetext'], $foruminfo['forumid'], 0);
  34. И добавьте ниже этой строчки: // ##### Начало #####
    $hide_shown = 0;
    if (substr($post['message'],0,6)=="[hide]"){$post['message'] = str_replace("[hide]"," [hide]",$post['message']); }
    if ($session[userid] != 0){

    $hideisadmin = $DB_site->query("SELECT " . TABLE_PREFIX . "user.usergroupid FROM " . TABLE_PREFIX . "usergroup," . TABLE_PREFIX . "user WHERE " . TABLE_PREFIX . "usergroup.usergroupid = " . TABLE_PREFIX . "user.usergroupid AND " . TABLE_PREFIX . "user.userid = '$session[userid]'");
    $hideisadmin = $DB_site->fetch_array($hideisadmin);
    $thez_posts=$DB_site->query("SELECT " . TABLE_PREFIX . "post.userid FROM " . TABLE_PREFIX . "post WHERE " . TABLE_PREFIX . "post.threadid='$threadid'");
    while ($the_posts = $DB_site->fetch_array($thez_posts)) {
    if(($the_posts[userid] == $session[userid]) || ($hideisadmin[usergroupid] == 6)) {
    $post['message'] = str_replace("[hide]","[Скрытый текст]: ",$post['message']);
    $post['message'] = str_replace("[/hide]","",$post['message']);
    $hide_shown = 1;
    }
    }
    }

    if ($hide_shown == 0) {
    for ($i = lock_count($post['message'],"[hide]"); $i > 0; $i--) {
    $lock_part1 = strpos($post['message'], "[hide]");
    $lock_part2 = (strpos($post['message'],"[/hide]")-strpos($post['message'],"[hide]"))+7;
    $lock_mess = substr ($post['message'], $lock_part1, $lock_part2);
    $post['message'] = str_replace( $lock_mess, "[Скрытый текст]: Сообщение содержит скрытый текст!
    ", $post['message']);
    }
    }


    // ##### Конец #####
  35. Сохраните и закройте printthread.php
  36. Откройте functions_forumdisplay.php
  37. Найдите: error_reporting(E_ALL & ~E_NOTICE);
  38. И добавьте ниже этой строчки: // ##### Начало #####
    require_once('./includes/functions_hide.php');
    // ##### Конец #####
  39. Найдите: $thread['preview'] = strip_quotes($thread['preview']);
  40. И добавьте выше этой строчки: // ##### Начало #####
    $hide_shown = 0;
    if (substr($thread['preview'],0,6)=="[hide]"){$thread['preview'] = str_replace("[hide]"," [hide]",$thread['preview']); }
    if ($hide_shown == 0) {
    for ($i = lock_count($thread['preview'],"[hide]"); $i > 0; $i--) {
    $lock_part1 = strpos($thread['preview'], "[hide]");
    $lock_part2 = (strpos($thread['preview'],"[/hide]")-strpos($thread['preview'],"[hide]"))+7;
    $lock_mess = substr ($thread['preview'], $lock_part1, $lock_part2);
    $thread['preview'] = str_replace( $lock_mess, "Скрытое Содержимое! "
    , $thread['preview']);
    }
    }


    // ##### Конец #####
  41. Загрузите и перезапишите все файлы, которые вы только что изменили.
  42. Загрузите hide.gif и unhidden.gif в вашу директорию картинок
  43. Выполнено!
  1. Поддержка Пользователей:
  1. Посмотрите наш сайт и форум!
vBulletin.net.ru
 


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 06:56 PM.


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