Mobile_Chat_v2_Xhtml1.0

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

3 replies · 1,012 views · started 14 years ago · 2 min read

3 participants
Ghost Senior · 366 posts #1

ok im posting this one a little early as i wanna get on with some other things. i believe ive done enough to this one to be able to do so.

     /**
       * @Author Ghost (Xhtml Creator, Wml Major Updater) - (Fully Taken Over)
       * @PreviousAuthor Deviance Aka Wappy - (Retired Wml Creator/Updater) - (Gone)
       * @Copyright 2012 - Mobile Chat Xhtml
       * @Version 2.0
       * @Description Flat File Xhtml Chat With Sessions And Encrypted Passwords
       * @Description (Should Be Working On All Servers)
       * @HTMLVersion Xhtml 1.0 Transitional EN
       */

================ CHANGES IN v2

  1. improved ways of securing posts. changed to htmlentities & stripslahes. (this cleaned up alot of space now im not using htmlspecialchars, stripslashes, and an array at same time.)

  2. Removed All avatar related stuff from config.php and created new file avatarinfo.php in main folder.

  3. fixed some holes in guestbook

  4. used preg_replace to remove unwanted symbols from username

  5. Changed $_SERVER['PHP_SELF'] to $_SERVER['SCRIPT_NAME'] and Added htmlentities protection ontop of it for extra precaution (will/should return only the file name regardless of, if it was typed, not typed, or anything was appended to it. And Protect it Using htmlentites)

  6. ontop of the changes to php self i also recoded the "npages" code properly with correct quotes. although they still worked previously, theyve just been basically updated..

  7. Added Visitor Count To Index.php Example: => Site Visited 312 Times

  8. Added small BBCodes Option

  9. Upgraded Who's Online Code To Check The "Whole" Script For Users. (All Files Within A Rooms Folder Has Had Online Checking Code Added To It, So Whatever File You Enter In Rooms 1 Folder, Will Show You As Participating In Room1's Chat Regardless If Searching Through The Smileys File Or Sending Pm/Checking Profiles Etc.) *** I Noticed If I Was In Smileys Page For More Than 1 Min, The Script Would *** *** No Longer Show Me Online Although I Was, This Is Why This Was Upgraded *** *** Previously Only Chatroom & Private Room Counted Who's In Room. ***

  10. Stripped All Small Tags From All Staff Tools (In All Rooms) (Missed These When Stripped Whole Script in v1 From Using Them)

  11. Removed So Much Useless Code That Zipfile Is Roughly 300kb Smaller Than V1 🙂

Likes And Thanks Appreciated. Hope You Enjoy. 🙂

Ok i had to remove the first attachment. i forgot to reshow all rooms in rooms.php file the attachment now added is the right script. sorry for any trouble to original downloaders.

Demo: Mobile Chat Xhtml v2

👍 1
Share
<?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!!'; } ?>
razib Developer · 132 posts #3

many thanks Ghost 🙂

🦸 Buying mobile traffic, PM me with your traffic details

Ghost Senior · 366 posts #4

ok loony and i found a problem with staff ban/boot tools. before i could open my editor/ftp client, loony had already fixed it.

replace ban.php file with

tools/ban.php

file to fix admin ban/boot issue. found/fixed by loony before i could do it..

once again im sorry, this will be corrected in next release. but until then

heres the ban.php fix file.

<?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!!'; } ?>
Attachments: ban.zip

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