VOC ++ (чат)

Статус
В этой теме нельзя размещать новые ответы.
А что еще надо?или чего нету?


мне ошибку пичет на верху где банер



Warning: include(/home/..../public_html/banner.php) [function.include]: failed to open stream: No such file or directory in /home/...../domains/.../public_html/designes/diz_by_Wanted/remote_rbs.php on line 12
 
мне ошибку пичет на верху где банер



Warning: include(/home/..../public_html/banner.php) [function.include]: failed to open stream: No such file or directory in /home/...../domains/.../public_html/designes/diz_by_Wanted/remote_rbs.php on line 12

Создай в корне чата файл banner.php
с содержанием
PHP:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<script language="JavaScript">
<!--
<?php
if ($browser == "msie" && $user_chat_type!="reload")
{
?>
function open_win(win_file, win_title)
{
        with(window.parent.voc_mess_frameset.message_box.document)
        {
                open('text/html','replace');
                close();
        }
        window.parent.voc_mess_frameset.message_box.document.location.href = ''+win_file;
        window.parent.voc_mess_frameset.show_box();
}
<?php }else{ ?>
function open_win(win_file, win_title)
{
window.open(win_file, win_title, 'resizable=yes,width=850,height=550,toolbar=no,scrollbars=yes,location=no,menubar=no,status=no');
}
<?php }?>

//-->
</script>
<style>
<!--
a
{
        font-family: Verdana, Arial;
        font-size:10px;
        color:#3D4976;
        font-weight: bold;
        text-decoration: none;
}
a:hover { color:white }
-->
</style>
</head>

<body bgcolor="#ffb900"leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="30%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr align="center">
    <td width="1%"><b><a href="http://ссылка чата/users_reiting_photo.php"target="blank"><font color=white>Рейтинг фото</font></a></b></td>
    <td width="1%"><b><a href="http://ссылка чата/users_reiting.php"target="blank"><font color=white>Рйтинг</font></a></b></td>
  </tr>
</table>
</body>
</html>


Добавлено через 29 минут
мне ошибку пичет на верху где банер



Warning: include(/home/..../public_html/banner.php) [function.include]: failed to open stream: No such file or directory in /home/...../domains/.../public_html/designes/diz_by_Wanted/remote_rbs.php on line 12

Открой чат..зайду посмотрю...
 
позже скину не забываем спасибо ставить
такой вопрос
в комментариях какая переменна отвечает за ник?
а то я пробовал $current_user>nick это не работает
вообщем хз
 
Создай в корне чата файл banner.php
с содержанием
PHP:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<script language="JavaScript">
<!--
<?php
if ($browser == "msie" && $user_chat_type!="reload")
{
?>
function open_win(win_file, win_title)
{
        with(window.parent.voc_mess_frameset.message_box.document)
        {
                open('text/html','replace');
                close();
        }
        window.parent.voc_mess_frameset.message_box.document.location.href = ''+win_file;
        window.parent.voc_mess_frameset.show_box();
}
<?php }else{ ?>
function open_win(win_file, win_title)
{
window.open(win_file, win_title, 'resizable=yes,width=850,height=550,toolbar=no,scrollbars=yes,location=no,menubar=no,status=no');
}
<?php }?>

//-->
</script>
<style>
<!--
a
{
        font-family: Verdana, Arial;
        font-size:10px;
        color:#3D4976;
        font-weight: bold;
        text-decoration: none;
}
a:hover { color:white }
-->
</style>
</head>

<body bgcolor="#ffb900"leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="30%" height="100%" border="0" cellspacing="0" cellpadding="0">
  <tr align="center">
    <td width="1%"><b><a href="http://ссылка чата/users_reiting_photo.php"target="blank"><font color=white>Рейтинг фото</font></a></b></td>
    <td width="1%"><b><a href="http://ссылка чата/users_reiting.php"target="blank"><font color=white>Рйтинг</font></a></b></td>
  </tr>
</table>
</body>
</html>


Добавлено через 29 минут


Открой чат..зайду посмотрю...




уже все ок я проста путь не правильный прописал :)
 
Веб Индикатор

Вообщем я не мастер писать мануалы но скажу одно
на одной настройке чата вы не обойдетесь так что учите php хоть чуть
вот я на этом чате выучил php
=) понимаю звучит глупо но так оно и есть
теперь собственно к делу
ставить на хайд не буду так как обьясню почему
в интернете полно новичков
которые в силу обстоятельств нужно то или иное к воку
и мне все равно будут ли мое что то продовать или нет все равно то что я написал не стоит и ру***
вообщем вот прикрепляю фигню которая делает веб индикаторы
Установка
копируем файлы из папки data и вставляем к себе
тоже делаем и с папкой chat
в папке chat лежит файл htacess
переименновываем его
.htaccess
далее включаем в админке возможность веб индикаторов
и вставляем в
users-info.php такой код в любое место
Код:
<input type="checkbox" name="enable_web_indicator"<?php if ($current_user->enable_web_indicator) echo " checked";?>> <?php echo $w_web_indicator;?></td></tr>



<tr><td><?php echo str_replace("~","<img src=\"".$chat_url."user_status.php?".$is_regist."\" border=\"0\" alt=\"chat status\">",$w_web_indicator_code);?></td></tr>
<tr><td align="center"><textarea class="input" rows="3" cols="30"><?php echo "[url=http://chatims.ru/][img]http://chatims.ru/chat/".$is_regist.".png[/img][/url]";?></textarea></td></tr>
</table>
<img src="<?php echo $current_design;?>images/who_line.gif" width="224" height="9" border="0" alt="">
</tr>
</td>
<input type="checkbox" name="enable_web_indicator"<?php if ($current_user->enable_web_indicator) echo " checked";?>> <?php echo $w_web_indicator;?></td></tr>
вроде все должно работать=)
 

Вложения

  • web_indicator.zip
    86,9 KB · Просмотры: 115
Вообщем я не мастер писать мануалы но скажу одно
на одной настройке чата вы не обойдетесь так что учите php хоть чуть
вот я на этом чате выучил php
=) понимаю звучит глупо но так оно и есть
теперь собственно к делу
ставить на хайд не буду так как обьясню почему
в интернете полно новичков
которые в силу обстоятельств нужно то или иное к воку
и мне все равно будут ли мое что то продовать или нет все равно то что я написал не стоит и ру***
вообщем вот прикрепляю фигню которая делает веб индикаторы
Установка
копируем файлы из папки data и вставляем к себе
тоже делаем и с папкой chat
в папке chat лежит файл htacess
переименновываем его
.htaccess
далее включаем в админке возможность веб индикаторов
и вставляем в
users-info.php такой код в любое место
Код:
<input type="checkbox" name="enable_web_indicator"<?php if ($current_user->enable_web_indicator) echo " checked";?>> <?php echo $w_web_indicator;?></td></tr>



<tr><td><?php echo str_replace("~","<img src=\"".$chat_url."user_status.php?".$is_regist."\" border=\"0\" alt=\"chat status\">",$w_web_indicator_code);?></td></tr>
<tr><td align="center"><textarea class="input" rows="3" cols="30"><?php echo "[url=http://chatims.ru/][img]http://chatims.ru/chat/".$is_regist.".png[/img][/url]";?></textarea></td></tr>
</table>
<img src="<?php echo $current_design;?>images/who_line.gif" width="224" height="9" border="0" alt="">
</tr>
</td>
<input type="checkbox" name="enable_web_indicator"<?php if ($current_user->enable_web_indicator) echo " checked";?>> <?php echo $w_web_indicator;?></td></tr>
вроде все должно работать=)

У меня если .htaccess файл заливаеш,переименовываеш,дает ошибку :
PHP:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@amron.com.ua and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at cool.host.amron.com.ua Port 80
 
к хостеру обращайся скорее всего из за этого
кстати у меня появилась идея
например
в чате где меняеш сстатус там типо курю и тд
добавить отдельно панель
с текстом я слушаю и текст для ввода группы и песни
ну и рядом кнопку ок
кароче
когда нажимаеш в чате появляется
Плеер-Юзер слушает "текст "
 
$current_user->nickname

юзай inc_user_class.php
 
я так и делал но когда бот пишет он эту переменную пропускает я хз почему
 
Викторина 2.0

кто скажет где хранятся данные пользователей кто на сколька вапросов ответил в викторине???????
 
Статус
В этой теме нельзя размещать новые ответы.
Назад
Сверху