Mobile_Chat_v3_WML1.2EN

Started on the old forum in May 2012 · view the original in the archive · old links redirect here

17 replies · 2,053 views · started 14 years ago · 1 min read

7 participants
Ghost Senior · 366 posts #1

I Was Pm'd alot over the past few days asking and asking for me to look into this script "properly" and fix it so it doesnt rely on register globals being on anymore as only 2 servers that are known of will run the script otherwise.

so here it is. tested with register globals off.

/**

  • @Author Ghost (coding-talk.com) - (Fully Taken Over)
  • @PreviousAuthor Deviance Aka Wappy - (Dissapeared Somewhere!)
  • @Copyright 2012 - Mobile Chat
  • @Version 3 (wml 1.2 EN)
  • @Description (Should Be Now working On All Servers) */

================ CHANGES IN Version 3

  1. Coded ALL files better to not rely on register globals being on.
    • Should No longer Require Register_Globals On, (Major Update)
    • Tested With Register_Globals OFF. (this should no longer be a problem to run on any server if follow instructions)
  1. Added the maxlength="2" code into all smileys/avatar jump boxes,
    • No longer can long strings of information be posted through them.
    • Not sure why i didnt pick up on this sooner. (Sorry) (this should stop any attempts at xss codes in these forms.)
  1. Added <script> <script </script> tags to a str_replace array in the following files that allow long strings of information in them. (this should stop the use of the <script> tags being used.)
    • 6 chat.php files (chat rooms)
    • 7 prividis.php files. (private messages / shoubox private)
    • 1 luonti.php file. (registeration)
    • 1 rooms.php file. (login / shoutbox)
    • 1 shout.php file (shoubox)
    • 1 shouthistory.php (shoutbox)
    • 1 comment.php file (guestbook) (i will get round to adding more protection at some point)
  1. Fix a Blunder Made by me, in v2.0.3 with Staff Tools. (tools was posting in wrong rooms)
    • owners tools used in room2, 3, 4, 5 & stafrrom, only appeared in room1,
    • admin tools used in all rooms, only appeared in staffroom.
    • mod tools was fine. no errors.

Basically EVERY Single File Has Had A Code Change Some way or another. (No Updates Was Lost From v2.0.3 final release)

======================================================

if you test this and it works. if you like the new changes hit the like button. if you wanna say thank you. hit the thanks button.

======================================================

Enjoy. Ghost

Demo: Mobile Chat wml v3

<?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!!'; } ?>
icedroplet1987 Senior · 258 posts #3

nice work as related to security upgrades 🙂 like it..

Yes, wappy disappeared.. dont know where.. kevin was nice guy. haha took lil money of mine but then also i purposely gave him knowingly what i did.

really miss him:)

Ghost Senior · 366 posts #4

eynesilli wrote: nice works bro :)

icedroplet1987 wrote: nice work as related to security upgrades 🙂 like it..

thank you.

Yes, wappy disappeared.. dont know where.. kevin was nice guy. haha took lil money of mine but then also i purposely gave him knowingly what i did.

really miss him:)

lol wappy's name was chris. but yeah he wasnt that bad a person lol. gave me free hosting, made me staff on codemafia when it was around. etc. this script has had so many updates now. by me, its hard to see wappychat in it anymore lol. i just remember finding the hacked version of wappychat 1.20i and thinking. hey this is a pretty cool script. i could do so much with this lol. so i did. cant believe its taken this much time for me to look into this about reg global issue though. had alot on in last 3 years. but hey least (with any luck) this wont be an issue ill need to revisit 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!!'; } ?>
Ghost Senior · 366 posts #6

mobidev wrote: Thx m8 great work

your wecome.

<?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 #8

mobidev wrote: Xhtml version looks even better m8 great work

thanks gonna give it the once over quickly. then ill let it out of the bag. then on other releases ill look into improvements throughout the code etc, to squash anything i may of missed etc.

<?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!!'; } ?>
LaNsTyLoO Junior · 10 posts #9

thanks master ghost awes0me great

Noob

Ghost Senior · 366 posts #10

LaNsTyLoO wrote: thanks master ghost awes0me great

not sure ill be working with the wml version anymore.

people seem to want it more in xhtml.

which you can find here: http://coding-talk.com/f16/mobile_chat_v1_xhtml1-0-very-new-17884/

<?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!!'; } ?>
magic Newbie · 3 posts #11

Uploading your script , will tell you how its works...Btw I need to customize whole script , If go to do it I will tell you, also your help will need 🙂 Thanks.

502 Bad Gateway

_____________________________________________________________________________________________________________________________________________\ nginx

Ghost Senior · 366 posts #12

magic wrote: Uploading your script , will tell you how its works...Btw I need to customize whole script , If go to do it I will tell you, also your help will need 🙂 Thanks.

i really wouldnt bother with this wml version. its old (although fixed) there really wont be much support for this.

however, there is a newer version in xhtml which uses sessions and is alot more secure. plus youll be able to modify this version alot more and easier than the wml.

link: Mobile Chat Xhtml V3

<?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!!'; } ?>
magic Newbie · 3 posts #13

Ghost wrote: i really wouldnt bother with this wml version. its old (although fixed) there really wont be much support for this.

however, there is a newer version in xhtml which uses sessions and is alot more secure. plus youll be able to modify this version alot more and easier than the wml.

link: Mobile Chat Xhtml V3

Hi, Thanks for your reply...I have also DL your xhtml version,but I prefer more wml version since my plan for more older phone. I got a problem , I couldn't find admin password where it is? Also I don't know anything about php so it is hard for for me customize everything. I have a plan for my simple wap chat site. I have pm you please check and reply.

502 Bad Gateway

_____________________________________________________________________________________________________________________________________________\ nginx

Ghost Senior · 366 posts #14

magic wrote: Hi, Thanks for your reply...I have also DL your xhtml version,but I prefer more wml version since my plan for more older phone. I got a problem , I couldn't find admin password where it is? Also I don't know anything about php so it is hard for for me customize everything. I have a plan for my simple wap chat site. I have pm you please check and reply.

full installation instructions are in the DOCUMENTS Folder

/**

  • @Author Ghost (coding-talk.com) - (Fully Taken Over)
  • @PreviousAuthor Deviance Aka Wappy - (Dissapeared Somewhere!)
  • @Copyright 2012 - Mobile Chat
  • @Version 3 (wml 1.2 EN)
  • @Description (Should Be Now working On All Servers) */
  1. Upload all files apart from the (DOCUMENTS) folder

  2. CHMOD all .txt files inside the text folder to 777 (0777)

  3. CHMOD members folder to 777 (0777)

  4. (DO NOT DELETE THE .txt FILE FROM INSIDE MEMBERS FOLDER) (this file fixes an error that would appear when clicking on a * with no username attached.)

  5. Add your name to the ownernames.txt file (replacing the name ghost)

  6. change config.php to your sites needs (located in config folder)

  7. REMEMBER to upload the .htacces file that comes with the script. (it creates protection for your .txt files and other things.)

basically to add yourself as admin (follow step 5 >) Add your name to the ownernames.txt file then register that name to site using register link. and youll be owner. then when logged in to site you can make anyone you like owner, admin, mod, by typing such things as

makeowner/username makeadmin/username makemod/username

takeowner/username takeadmin/username takemod/username

example makemod/ghost etc

each staff member gets their own set of staff tools then.

<?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 #15

Sometimes I wish people would just READ the installation files and not try to think that they think its not there. Specially on a script like this that even a mentally handicapped person can clearly follow the instructions on doing it and you don't need any php knowledge using it coz u don't need to change any php in it to work it...

magic Newbie · 3 posts #16

mobidev wrote: Sometimes I wish people would just READ the installation files and not try to think that they think its not there. Specially on a script like this that even a mentally handicapped person can clearly follow the instructions on doing it and you don't need any php knowledge using it coz u don't need to change any php in it to work it...

Dont speech like that and dont think everyone is capable what you are . I could not find these Lines in documents folder Add your name to the ownernames.txt file then register that name to site using register link. and youll be owner. So I came here and ask Ghost bro. Your speech is insulting , I even not a science background student what I learn about Domain DNS management ,php, html, wml, coding, hosting everything by myself with the help of Google not a single speech I didn't get from any teacher because I never had a teacher who can teach me.

502 Bad Gateway

_____________________________________________________________________________________________________________________________________________\ nginx

Ghost Senior · 366 posts #17

guys no need to fight/argue.

ill update the documents in future to add

then register that name to site using register link. and youll be owner.

thats if there is more releases of this script,

im in the process of working on my own version of flat file chat that will be designed more or less the same as mobile-chat with the tools etc, but fully rewritten and not under the COPYRIGHT rules of mobile chat.

i dont like the fact the copyright of this says no modded versions.

so decided to make my own personal coded version using functions and what not. who know maybe one day ill release that instead and fully stop this script.

mine will be way better in the long run anyhow trust me on that.

less files, less code, around 80-90% of php in functions. less database (.txt) files. totally rewritten tools (designed/based on the original mobile-chat tools) totally new folder setup.

may possibly lose some things like.

guestbook. rss news feeds. alert to all rooms of new signed members.

as im totally starting my script from scratch im totally doing it how i want it and not how wappy visionized. (then again the design of mobile-chat since wappychat1.20i was mine anyhow lol)

im still starting again. i want a script that is 99%-100% easy as pie to mod. with any luck mostly all pages will just be mostly html with php function calls inside.

🙂

<?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!!'; } ?>
che_pida Junior · 33 posts #18

thanks for sharing . 🙂 btw , anyone got script like this ?


also WML chat script .

~ Keep It Up ~

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

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