imho.ws
IMHO.WS  

Вернуться   IMHO.WS > Веб-мастеру > Веб-программирование
Опции темы
Старый 08.06.2002, 23:33     # 1
gmarik
Guest
 
Сообщения: n/a

Smile PHP Chat

Kto znajet horosij?

Ja nifiga neodnovo dostoinovo nenasol - vse stoit 200$, u kovo to mozet takoi Advanced jest uze skacann?
 
Старый 08.06.2002, 23:53     # 2
gmarik
Guest
 
Сообщения: n/a

Numerilogija

Kto mozet slomatj!

http://scriptsjoint.com/numerology.htm
 
Старый 09.06.2002, 00:22     # 3
Stasik
Registered User
 
Аватар для Stasik
 
Регистрация: 27.03.2002
Адрес: дома
Сообщения: 1 660

Stasik Известность не заставит себя ждатьStasik Известность не заставит себя ждать
http://phpmychat.sourceforge.net
Stasik вне форума  
Старый 09.06.2002, 10:02     # 4
gmarik
Guest
 
Сообщения: n/a

Lightbulb chat

etovo ja uze nasol, dumal jest sto to kruce, cevo nibud sto mozno bilo bi integrirovatj v vbulletin sredje ... vseravno stas, tu prosto зверь!


The fish in the sea is not thirsty/ Kabir/
 
Старый 09.06.2002, 17:27     # 5
Stasik
Registered User
 
Аватар для Stasik
 
Регистрация: 27.03.2002
Адрес: дома
Сообщения: 1 660

Stasik Известность не заставит себя ждатьStasik Известность не заставит себя ждать
я раньше занимался этим... ща хак поищу...

http://www.vbulletin.org/forum/showt...threadid=21329

это конечено только 1 возможный вариант на осонове кукисов....... да забросил я его
Stasik вне форума  
Старый 09.06.2002, 21:17     # 6
gmarik
Guest
 
Сообщения: n/a

Exclamation Stas, menja tam nepuskajet, prisli pozalusta eto v faile!!!

Sorry, меня послали!


vBulletin Message
You do not have permission to access this page. This could be due to one of several reasons:
If you are a registered member and a vBulletin customer, please add your username to this form to be able to access certain resticted areas on this site!
[http://www.vbulletin.com/members/vbulletin.org.php]

If you are not yet a vBulletin owner, and wish to post a question prior to buying it, please post in this forum: http://www.vbulletin.org/forum/forum...?s=&forumid=26

You are not logged in. Fill in the form at the bottom of this page and try again.
You do not have permission to access the page that you were trying to. Are you trying to edit someone else's post or trying to access administrative features? Check that you are allowed to perform this action in the Forum Rules.
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logged in user: gmarik [logout]


The administrator may have required you to register before you can view this page. Forgotten your password?

All times are GMT +3 hours. The time now is 09:21 PM.
 
Старый 09.06.2002, 22:03     # 7
Stasik
Registered User
 
Аватар для Stasik
 
Регистрация: 27.03.2002
Адрес: дома
Сообщения: 1 660

Stasik Известность не заставит себя ждатьStasik Известность не заставит себя ждать
вот те копия моего поста

Hi.... it is my first hack - phpProbe
here is it... it was tested under vbb2x RC2 and phpMyChat 0.14.4

News:
Updated on 19.07.01
- FAQ has been add

Updated on 18.07.01
The hack is compatible with version 0.14.5 of phpMyChat
- there is some javaScript code there, so the hack will not work with browsers without JS support (phpMyChat will not work with these browsers too )
- the Exit link in chat works ok now

Hack:
Step 1:
open /lib/index.lib.php3 in yours phpMyChat Derictory
find:

PHP код:
// Fix some security holes 
replace it with

PHP код:
//a VBB integration hack by Stasik (stasik@t-online.de)
//v0.1
//(C)2001

$exiturl "http://www.blabla.com"// the url the user will be redirected exiting the chat

if($Ver == ""){print "
<HTML>
<SCRIPT TYPE=\"text/javascript\" LANGUAGE=\"javascript\">
    <!--
    var NS4 = (document.layers) ? 1 : 0;
    var IE4 = ((document.all) && (parseInt(navigator.appVersion)>=4)) ? 1 : 0;
    var ver4 = (NS4 || IE4) ? \"H\" : \"L\";
function defineVerField()
    {
        if (document.images && ver4 == 'L')
            document.forms['Params'].elements['Ver'].value = 'M';    // js1.1 enabled browser
        else document.forms['Params'].elements['Ver'].value = ver4;
    }
 -->
</SCRIPT>
<FORM ACTION=\"index.php3\" METHOD=\"POST\" AUTOCOMPLETE=\"OFF\" NAME=\"Params\">
<INPUT TYPE=\"hidden\" NAME=\"Ver\" VALUE=\"L\">
</FORM>
<SCRIPT TYPE=\"text/javascript\" LANGUAGE=\"javascript\">
defineVerField();
document.forms.Params.submit();
</SCRIPT>
</HTML>
"
; exit;}

chdir("/path/to/board/");
require(
"./global.php");
chdir("/path/to/chat/");

if (
$bbuserid == 0

print 
"no"//Message if the user has no cookie
exit; 
}
else
{
if (
$bbusername == "" || (isset($bbusername))==0

$getusername=$DB_site->query_first("SELECT username FROM user WHERE userid=$bbuserid"); 
$username=$getusername[username]; 
$bbusername $username
}
else 

$username $bbusername
} }

$U $username;

$pat "[[:space:]]"
$repl ""
$U ereg_replace($pat,$repl,$U); 
$pat ','
$U ereg_replace($pat,$repl,$U); 
stripslashes($U); 

$N 20
$D 10
$Form_Send 1

//Replace admin with your administration nick
if($U != "Admin")
{
$PASSWORD="1";
}

// Fix some security holes 




Step 2:
open /lib/index.lib.php3 in yours phpMyChat Derictory
find:

PHP код:
$DbLink->query("INSERT INTO ".C_MSG_TBL." VALUES ($EN, '$E', 'SYS exit', '', ".time().", '', 'sprintf(L_EXIT_ROM, \"".special_char($U,$Latin1)."\")')");
        }
    } 


replace it with:

PHP код:
$DbLink->query("INSERT INTO ".C_MSG_TBL." VALUES ($EN, '$E', 'SYS exit', '', ".time().", '', 'sprintf(L_EXIT_ROM, \"".special_char($U,$Latin1)."\")')");
        }
    }
if(
$exit == "1"){header ("Location: $exiturl"); exit;} 





Step 3:
open /exit.php3 in yours phpMyChat Derictory
find:


PHP код:
<A HREF="<?php echo("$From?Ver=$Ver&L=$L&U=".urlencode(stripslashes($U))."&E=".urlencode(stripslashes($R))."&EN=$T"); ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>

replace it with:

PHP код:
<A HREF="<?php echo("$From?exit=1&Ver=$Ver&L=$L&U=".urlencode(stripslashes($U))."&E=".urlencode(stripslashes($R))."&EN=$T"); ?>" TARGET="_parent"><?php echo(L_EXIT); ?></A>


ENJOY

FAQ:
Q: I`m getting "no" every time.
A: You need to upgrade a cookie option in your VB control panel. Write under: Options->Change Options->[HTTP Headers and output]->Cookie Domain your domainname ONLY (blabla.com).

Q: I`m getting "you need to register" error.
A: Enable chat using for not registered users in your phpMyChat config (/config/config.lib.php3).

Q: I`m getting "wrong password" error.
A: Make shure you have deleted all user accounts in your chat and have only administrative one. If you are logging is as administrator note that you have to enter your password EVERY time you are logging in.

Questions or Bug reports?
Post it here I`ll answer ASAP.
Stasik вне форума  
Старый 11.06.2002, 11:14     # 8
mdg
Junior Member
 
Регистрация: 16.05.2002
Адрес: Донецк, Украина
Сообщения: 116

mdg Путь к славе только начался
http://chat.php.spb.ru/
Ты этот чат пробовал, незнаю, кому как, а мне он очень понравился! Ничего лишнего, все удобно и быстро.
mdg вне форума  
Старый 11.06.2002, 16:03     # 9
gmarik
Guest
 
Сообщения: n/a

Цитата:
Как писал mdg
http://chat.php.spb.ru/
he was dead before I came,

sorry
 
Старый 11.06.2002, 16:05     # 10
mdg
Junior Member
 
Регистрация: 16.05.2002
Адрес: Донецк, Украина
Сообщения: 116

mdg Путь к славе только начался
давай свою почту я тебе пошлю этот чат. 1,080 Mb весит
mdg вне форума  
Старый 02.07.2002, 16:04     # 11
Techmonger
Member
 
Аватар для Techmonger
 
Регистрация: 01.07.2002
Адрес: Southern Israel
Сообщения: 200

Techmonger Нимб уже пробиваетсяTechmonger Нимб уже пробивается
Unhappy heh

poprobui mirc clienti dlya saitov
__________________
Currently studying: Rails.
Current project: Personal website.
Techmonger вне форума  
Старый 11.07.2002, 15:56     # 12
Savage
Guest
 
Сообщения: n/a

Народ помогите плиз !!!!!
нужен чат с администрированием
 
Старый 11.07.2002, 16:00     # 13
Stasik
Registered User
 
Аватар для Stasik
 
Регистрация: 27.03.2002
Адрес: дома
Сообщения: 1 660

Stasik Известность не заставит себя ждатьStasik Известность не заставит себя ждать
читай выше
http://phpmychat.sourceforge.net
__________________
Всё будет хорошо!
Stasik вне форума  
Старый 11.07.2002, 22:43     # 14
Savage
Guest
 
Сообщения: n/a

Спасиб !!!!

вот токо не пойму как его русифицировать
 
Старый 11.07.2002, 23:18     # 15
Stasik
Registered User
 
Аватар для Stasik
 
Регистрация: 27.03.2002
Адрес: дома
Сообщения: 1 660

Stasik Известность не заставит себя ждатьStasik Известность не заставит себя ждать
там помоему есть даже русский пак
__________________
Всё будет хорошо!
Stasik вне форума  
Старый 12.07.2002, 10:38     # 16
Savage
Guest
 
Сообщения: n/a

Спасиб нашел !!!!!
 
Старый 30.03.2003, 23:04     # 17
steelik
Member
 
Аватар для steelik
 
Регистрация: 30.09.2002
Сообщения: 320

steelik Путь к славе только начался
Нужен чат на mysql и перле... причём phpmyChat не предлагать - полнейшый отстой
steelik вне форума  
Старый 17.05.2003, 11:44     # 18
Goor
Модератор
 
Регистрация: 08.07.2002
Адрес: Germany
Сообщения: 397

Goor МолодецGoor МолодецGoor Молодец
Так тема и заглохла, может все таки кто посоветует быстрый чат(без разницы на чем написан) с администрированием, прив.сообщениями , возможностью добавления имеджей(фото) узверов желательно с mysql????
__________________
Системных администраторов нужно убивать еще в маленьком возрасте, когда они еще только "ламеры" (посвящено другу)
В.И.Ленин(Письмо к Фейрбаху, Том12)
Goor вне форума  
Старый 23.03.2007, 17:20     # 19
Digy
Guest
 
Сообщения: n/a

Цитата:
Сообщение от Goor Посмотреть сообщение
Так тема и заглохла, может все таки кто посоветует быстрый чат(без разницы на чем написан) с администрированием, прив.сообщениями , возможностью добавления имеджей(фото) узверов желательно с mysql????
Blab попробуй.
http://hot-things.net/?q=blab
 


Ваши права в разделе
Вы НЕ можете создавать новые темы
Вы не можете отвечать в темах.
Вы НЕ можете прикреплять вложения
Вы НЕ можете редактировать свои сообщения

BB код Вкл.
Смайлы Вкл.
[IMG] код Выкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT +4, время: 03:12.




Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.