Mobile_chat_2.0.1_wml1.1en

Started on the old forum in February 2008 · view the original in the archive · old links redirect here

27 replies · 3,553 views · started 18 years ago · 2 min read

TL;DR · summary of 27 replies
  • Ghost provided instructions for fixing an issue related to server settings by adding specific lines in the .htaccess file.
  • The multi-chat feature is almost ready but not yet released, and there are changes needed in the CONFIG.PHP file regarding time offsets.
  • Opticalpigion encountered issues with mod management and needs more information on where to make changes.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

11 participants
Ghost Senior · 366 posts #1

Mobile Chat V2.0.1

/**

  • @authors Ghost & DEViANCE (CODEMAFiA.ORG)
  • @copyright 2008-2009 Mobile Chat
  • @version 2.0.1 (wml 1.1 EN) */

Copyright:

http://www.copyrightdeposit.com/rep10/0029675.htm

In this version we tried to clean up the coding, add new smileys pack (MINI) beta for phones as they are smaller, create a config file and sort the variables making it easier to look after your site, created a beta version of the timezone converter (now located in config file), fix a logout error with admin, and many more changes..

heres the complete overview:

================ CHANGES IN 2.0.1

  1. updated/edited install.txt file read_me.txt file script_license.txt file support.txt file

  2. cleaned up more code

  3. recoded nearly all links to help pages refresh properly.

(NEW) 4. added an upgrade.txt file (instrustions on how to keep old users/members info)

(NEW) 5. added a vote.txt file. (please read if you have not already!)

(NEW) 6. also added THIS changes.txt file which will be used to show the changes the script goes through (WE WILL TRY TO KEEP NEW VERSIONS/CHANGES TO TOP OF THE PAGE)

(NEW) 7. created configuration file for easy editing of sites attributes.

(NEW) 8. recoded $variables to be used from within the configuration file.

(NEW) 9. removed luonti.wml and recoded and renamed to luonti2.php.

(NEW) 10. totally re-wrote the time code for easy timezone editing using hours and minutes.

(NEW) 11. added a brand new (MINI) smileys pack and totally re-wrote smileys in alphabetical order.

(NEW) 12. added rss news feeds to index page and fixed the extra/blank feeds bug.

  1. removed ALOT of useless small tags that did absolutly nothing from every page.

  2. removed nearly ALL bold tags from every file.

  3. removed ALOT of break tags that was taking up alot of un-needed space.

  4. fixed smileys count in chat.php.

  5. fixed error that happens when an admin logs out. =====================

heres what you can do from config file:

<?
/* chat script config file
STARTS HERE */

/* site address
(put your site address or site name here) */
$sitename = "";

/* align whole site (enter 1 of the 3)
(left , center , right) */
$align = "center";

/* Chat messages
(show how many messages) */
$chat_lines = "14";

/* site image
(put your site logo here) */
$image = "<img src=\"images/logo.gif\" alt=\"wapchat\"/>
\n";

/* timezone
Add how many hours and minutes you need
(change the FIRST + symbol after time() ONLY!)
(do not touch the second symbol)
("+" = forward "-" = backwards)
NOTE: ONLY CHANGE THE + SYMBOL IF YOU NEED TO GO BEHIND SERVER TIME */

$hours = "";
$mins = "";
$timezone = time() + ($hours)*60*60 + ($mins)*60;
$time=date("H:i",$timezone);

/* current date
(DO NOT CHANGE UNLESS YOU KNOW HOW TO) */
$currentdate = "".date("D d M y - ")."";

/* validate
(CHANGE wapchat.us.to IN THE URL) */
$validate = "<a href=\"http://validator.w3.org/check?uri=http%3A%2F%2Fwapchat.us.to%2F\">WML 1.1</a>";

/* protection
(protect upto 2 usernames here) */
$protect1 = "ghost";
$protect2 = "deviance";

/////////////////////////////////
//OUR copyright (DO NOT TOUCH)///
/////////////////////////////////
$copyright = "<a href=\"http://www.copyrightdeposit.com/rep10/0029675.htm\">© Mobile Chat</a>
 ".$sitename." - ".date(Y);

/* chat script config file
ENDS HERE */
?>

conditions have not changed: Use: its ok to use this script but our copyright lines/links/headers must NOT be removed. You can distribute this script but only as it is, not your modified version.

with that said happy coding friends and we hope you enjoy this fine release.

Ghost (aka headhunter) Deviance (aka ukchatad, wappy, chatabox, etc,)

Added oldest to newest old single chatroom's didnt fancy reopen old stuff, just didnt have any working links

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
chatabox Senior · 361 posts #3

Just been updated to wml 1.2 ready for next release. Never bothered to look into the wml versions before.

I think there are a few more options in 1.2 im not 100% sure.

Ghost Senior · 366 posts #4

lol actually it took bout 10-15 mins to change this from wml 1.1 to wml 1.2.. im using it already.. cant see any major difference between the 2 mind lol..

it is most probably a silly setting in the server it self.. if you did not ipload the .htaccess file to your server as you had one already or something i suggesst adding these lines into either your excisting .htaccess or create one..

php_value register_globals 1
DirectoryIndex index.php

<Files text/*.txt>
order deny,allow
deny from all
</Files>

this should solve the problem..

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
opticalpigion Lead · 593 posts #5

i want to know where i have to add mysql information !! i upload this script but it show me error when i try to login after register

ERROR is

!!ATTENTION!! We had a problem with the server and had to reset the database! Please REGISTER AGAIN! Register ONLY ONCE! Anyone we find using multiple nicknames WILL BE BANNED! Sorry for any inconvenience. Thanks 🙂

Need a coffee?? you typed your details incorrectly. Or your account has been disabled for some reason. «Back


where i have to make more changes ? help me please

Ghost Senior · 366 posts #6

i want to know where i have to add mysql information !! i upload this script but it show me error when i try to login after register ERROR is !!ATTENTION!! We had a problem with the server and had to reset the database! Please REGISTER AGAIN! Register ONLY ONCE! Anyone we find using multiple nicknames WILL BE BANNED! Sorry for any inconvenience. Thanks 🙂

Need a coffee?? you typed your details incorrectly. Or your account has been disabled for some reason. «Back


where i have to make more changes ? help me please

make sure you have added the .htaccess file.. please try looking..

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
opticalpigion Lead · 593 posts #7

i was made mod. wronge person by mistake and whn i try takemod/username it show me XXX "tried to demote a protected person! " then i have to remove his username from modnames.txt okay so tht option is not workin for me

and yes where new version of this chat script mister !!

Ghost Senior · 366 posts #8

Ok cool, but what will it say to them if login is incorrect?

lol it will tell them that login details was incorrect obviously and to make sure they did it right lmao.

i was made mod. wronge person by mistake and whn i try takemod/username it show me XXX "tried to demote a protected person! " then i have to remove his username from modnames.txt okay so tht option is not workin for me

and yes where new version of this chat script mister !!

if you add a protected name in config file nobody will be able to remove that name unless you remove the name from config first or as you said go to server and remove manually.. also the multichat is almost ready but not released yet...

and what i have to change if i want to set 2:30 hr behind serwer time !! i mean i want to set +5 30 GMT timezone Please info me

okay i have edited it atlist i can do tht !!

to change server 2 and a half hours behind in CONFIG.PHP file

$hours = "2";
$mins = "30";
$timezone = time() - ($hours)*60*60 + ($mins)*60;
$time=date("H:i",$timezone);

you will notice after the time() i changed + to a - symbol..

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
Ghost Senior · 366 posts #9

New Links updated.

i know this is a super old topic now. but added some new working links. plus this was one of my old time favourites.

no idea what spanners php will throw in the works now as ive not been around in 3 years.

my mother became disabled and had to give up my real life work and hobbie's to become her full time carer.

i do have a multi room copy of this that prob needs a little work on so will try and get round to that at some point.

also added to original post

i should of done that in first place. sorry. getting use to controls again.

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
mobidev Senior · 312 posts #11

As far as I'm concerned still 1 of the best scripts around would be nice to see a xhtml version or newer version for new php. I still run it on some freehost accounts as paid host account doesn't support it half of the time. Also byethost or their resellers doesn't host it u just get white page if try to access the site. 000webhost.com supports it and the 6te.net also. I'm using the multichat version currently on a 6te.net account.

Ghost Senior · 366 posts #12

laro696 wrote: Ghost is back?

yep its really me lol. ill be around now, not sure how much but i will be, sorry for the brupt dissapeance before but as you see from my earlier post today it couldnt be helped.

mobidev wrote: As far as I'm concerned still 1 of the best scripts around would be nice to see a xhtml version or newer version for new php. I still run it on some freehost accounts as paid host account doesn't support it half of the time. Also byethost or their resellers doesn't host it u just get white page if try to access the site. 000webhost.com supports it and the 6te.net also. I'm using the multichat version currently on a 6te.net account.

well its good to hear that 000webhost.com is still supporting this as im waiting on nameservers to update so i can mess around on their servers again. in my opinion they was best free hosts around for me back in the day.

also good news to hear that i did actually find time to release that multi chat version although i couldnt find it anywhere on this site. maybe it was lost in some db move or something. no biggie. ill dig it out take alook at it, then post it as new if its defo not here anymore. then se what happens from there.

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
laro696 Developer · 205 posts #13

If only wappy could come back then everything would be great! Good to have you back 🙂

Ghost Senior · 366 posts #14

laro696 wrote: If only wappy could come back then everything would be great! Good to have you back :)

lol thank you 🙂

i aint seen or heard from him since i had to leave.

weird thing is happening though lol

i had to get gumslone to help me recover my old account or id have to had started with new name. now everytime i post a comment my post count goes backwards lol. had over 45+ posts earlier. not much i know but if it keeps going backwards much more im sure my status will go lower too.

lol i maybe seeing things. but this post it went up lol. :s

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
metulj Super moderator Principal · 1,726 posts #15

Ghost wrote: lol thank you 🙂

i aint seen or heard from him since i had to leave.

weird thing is happening though lol

i had to get gumslone to help me recover my old account or id have to had started with new name. now everytime i post a comment my post count goes backwards lol. had over 45+ posts earlier. not much i know but if it keeps going backwards much more im sure my status will go lower too.

lol i maybe seeing things. but this post it went up lol. :s

i dont think post count got anything to do with status... your post cont went backwards cos i've cleaned few old topics so there were your replies.. nothing drastic i believe

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Ghost Senior · 366 posts #16

metulj wrote: i dont think post count got anything to do with status... your post cont went backwards cos i've cleaned few old topics so there were your replies.. nothing drastic i believe

ahh. cool got a little panicky lol thought may of been some sort of problem after gums merged this old account with the new one i made yesterday lol. ive already took my avatar down and will find a new one now, as ive found softwarefreak to also have the avatar i use lol. so will go avatar hunting next i guess lol.

i may actually even keep mine as i did. my avatar moves his doesnt lol 😉

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
amylee Principal · 1,092 posts #17

blast from the past lol

Ghost Senior · 366 posts #19

000webhost.com

softwarefreak wrote: Ghost, My avatar in animated version 🔍

lol 🙂 would you prefere i changed it? i could go avatar hunting after all if its a problem lol.

Added after 44 minutes:

It Would seem 000webhost.com is having some coding issues of there own! which is preventing the script from parsing and running properly.

im guessing this is part of their forced analysis code for tracking. problem is it seems its been put in at the end of script outside of main tags.

XML parsing failed

XML parsing failed: syntax error (Line: 25, Character: 0)

Reparse document as HTML Error: unexpected start-tag (root element already specified) Specification: Extensible Markup Language (XML) 1.0 (Fifth Edition)

22: </wml> 23: 24: <!-- [Free Web Hosting with PHP, MySQL and cPanel, No Ads](http://www.000webhost.com) Analytics Code --> 25: <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script> 26: <noscript>External image (may be gone)</noscript> 27: <!-- End Of Analytics Code -->

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>
something else Fellow · 2,296 posts #20

Ghost wrote: lol 🙂 would you prefere i changed it?

I would 😀 ... so use to seeing swf with that avatar its confusing seeing 2 lol

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close