34 replies · 3,152 views · started 20 years ago · 1 min read
TL;DR · summary of 34 replies
- Guest asked how to login as an admin in mobilechat_v1.2, which mobix suggested using PhpMyAdmin.
- Mobix provided instructions on setting 'admin'=1 or 'moder'=1 for users in the database table 'chat_user'.
- Guest also wanted help changing selection words of service options menu and fixing errors in luonti.php and email.php files.
- Mobix offered solutions to remove translit option from chat menu and fixed some PHP header issues, but could not provide a fully updated version without more time.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
i've got mobilechat_v1.2. anyone please tell me how do i login as admin in that chat.
That chat is 100% russian. So even i cant read the discription of that codings.
But it is a cool chat, i have half translated it to english. But i dont know to login it as administrator.
I can login only as a chat user.
Use PhpMyAdmin. Open database and table 'chat_user' find your ID. And then edit that row to set 'admin'=1. My english wery tereble External image (may be gone)
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______…
Thank you very much mobix ......... !
Also i want to know, how do i change the selection words of service options menu in mobile browser.
what is the file name that command included !
please help me mobix ! External image (may be gone)
also thanx to sub-zero fo giving the mobilichat script !
Also i want to know, how do i change the selection words of service options menu in mobile browser.
what is the file name that command included !
Sorry but i don't anderstand that quest !!!
Explande me like i was litle child becouse my english not so well or i don't anderstand your problem External image (may be gone)
sube-zero thanx for that! but it make this error:
Parse error: syntax error, unexpected $end in luonti.php on line 68
now man if you can tell me how to make that you must enter something for nick and for password,I mean that you can't register empty nick or password? like if you put empty pass or nick it says you must enter something!
p.s and man,can you do something for me,create or tell me ,maybe know like that,how to add option to next and previous page,to make list pages in chat.php and prividis.php like gumslones chat,i tried but always some little bug!
ok i found error and fixed it but now this error
Fatal error: Function name must be a string in luonti.php on line 37
that is this line
$salasana = check($salasana,'password');
Sorry but i don't anderstand that quest !!!
Explande me like i was litle child becouse my english not so well or i don't anderstand your problem External image (may be gone)
ok i'll explain you it using a pic.
how do i change "who is online ?"
and tell me what is the room named vict ?
About 32 row in php file (orginal) start that code and there you can manage "service options menu" (add, remove)
Room named vict is a game something like quiz ! There (at table 'chat_vict') youu can add your quest with one answer and then wen you go to the room name vict for chating, chat ask you quest (form 'chat_vict'). If you answer you get 1 point ! You can answer for quest only 1 min External image (may be gone) something like that i don't now if you anderstand that from my talking External image (may be gone)
So i need another help from you. How do i remove the translit option in chat menu.
Also i have a error in email.php file. When i try to send a email it says
Parse error: parse error, unexpected '.' in /home/asiri/public_html/asiri/wap/mchat/email.php on line 30
Ok for removing all translit data from your script do this (all that is on orginal file that not edited) open room.php:
1. Find 78 row and change that to this
2. Find 79 row and clear it to empty (delete all text but do not remove that row, becouse i will explande you like i don't delete that row External image (may be gone)3. Find 115 row select all to 124 row and delete it. Then copy this starting in 115 row:
6. Close and save user.php, and open ini.php.
7. Find 42 and select to 62 row delete that selection.
All done ... External image (may be gone)
Here is sample files
About that email.php just replace 30 row with this:
I got this error in some chat php files. What shoud i do for this ?
Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/help.php:1) in /home/asiri/public_html/asiri/wap/mchat/help.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/help.php:1) in /home/asiri/public_html/asiri/wap/mchat/help.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/profile.php:1) in /home/asiri/public_html/asiri/wap/mchat/profile.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at /home/asiri/public_html/asiri/wap/mchat/setup.php:1) in /home/asiri/public_html/asiri/wap/mchat/setup.php on line 3
The PHP saying that you twice send header information but in orginal script it not hapen. Mayby you edit not write? Atach your help.php file here and let me see it External image (may be gone)
print '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"'.
' "http://www.wapforum.org/DTD/wml_1.1.xml">'.
'<wml><head><meta
http-equiv="Cache-Control" content="no-cache" forua="true"/></head>';
//включаем конфигурационный файл
include "./ini.php";
//продолжаем вывод в браузер
print '<card title="'.$lang['help'].'">'.
'
';
//авторизируемся
$login = autorize();
if($login) {//автризация выполнена
switch($mod) {
//режим правил
case 'rules':
print 'First, in a chat should not be mata! Any curses! Want bespredelit, for you there is spets a room! Secondly, do not draw much smajlov in one message! Thirdly, not fludite! It is not necessary to litter a chat with any dust! And in general, behave decently, do not look the blockhead! )';
break;
//режим buyjh
case 'ignor':
print 'Ignor is very useful thing! If the user is in ignore its messages are not displayed. For addition in ignor, it is necessary to press on nik the user and to choose " in ignor ". For removal, it is necessary to come in "Prihozhej" into "?????-leaf" and simply to press on nik!';
break;
//режим статусы
case 'statusy':
//печатаем страницу статусы
print "Statuses are given at a set of the certain quantity of posts. The post is the message left by you in a chat. The highest status enables you to draw more advanced smajly and to be the honourable and dear user of a chat! The list of statuses:
";
print "0 - Прохожий
100 - Новичок
500 - Пользователь
1000 - Продвинутый
3000 - Чаттер
5000 - Тусовщик
7000 - Почетный
10000 - Можно попросить админа дать отличительный статус
";
break;
//режим приват
case 'privat':
print 'Privat is when the message from the user is seen only by you and the one who has sent it. Others do not see it. In a chat it is realized two kinds privata. One is when near nika the user there is this symbol: [!]. The second are you can enter in privat, having pressed button " ????? ". As a result of this action you will see only privat and any other messages! For updating page privata it is necessary to press the same button.';
break;
//режим транслит
case 'translit':
//печатаем правила транслита
print "Транслит - это такая вещь, когда вы пишете на латинице, а все написанное переводится на кирилицу! Правила транслита:
А а - A a
Б б - B b
В в - V v
G g - G g
Д д - D d
Е е - E e
Ё ё - Yo yo
Ж ж - Zh zh
З з - Z z
И и - I i
Й й - J j
К к - K k
Л л - L l
М м - M m
Н н - N n
О о - O o
П п - P p
Р р - R r
С с - S s
Т т - T t
У у - U u
Ф ф - F f
Х х - H h
Ц ц - C c
Ч ч - Ch ch
Ш ш - Sh sh
Щ щ - Shc shc
ъ - ''
Ы ы - Y y
ь - '
Э э - Ye ye
Ю ю - Yu yu
Я я - Ya ya";
break;
//режим помощи о викторине
case 'vict':
//печатаем правила транслита
print 'The quiz is a place where you can oprobyvat the knowledge! progrmnym the question on which it is necessary to answer as soon as possible is by deduced. If in current of 2 minutes anybody correctly will not answer, will be asked a new question. To write answers it is necessary in Russian! If your phone does not support a writing on kirilitse, take advantage of a transliteration from a Latin in kirilitsu. Read through rules translita!';
break;
//по умолчанию
default:
//печатаем ссылки на помощь
print "<a href="help.php?id=$id&pass=$pass&mod=rules">".$lang['rules']."</a>
";
print "<a href="help.php?id=$id&pass=$pass&mod=vict">".$lang['vict']."</a>
";
print "<a href="help.php?id=$id&pass=$pass&mod=translit">".$lang['translit']."</a>
";
print "<a href="help.php?id=$id&pass=$pass&mod=statusy">".$lang['ranks']."</a>
";
print "<a href="help.php?id=$id&pass=$pass&mod=privat">".$lang['privat']."</a>
";
print "<a href="help.php?id=$id&pass=$pass&mod=ignor">".$lang['ign']."</a>
";
print "<a href="./sm/index.php?id=$id&pass=$pass&mod=smiles">".$lang['smiles']."</a>
";
break; }
if($mod)
print "
<a href="help.php?id=$id&pass=$pass">".$lang['help']."</a>";
print "
<a href="./enter.php?id=$id&pass=$pass">".$lang['holl']."</a>
";
} else { print $lang['not_loged']; }
print '
'.
'</card>'.
'</wml>';
ob_end_flush();
//разрываем соединение с бд
@mysql_close();
?>