Results 1 to 4 of 4

Thread: Mobile_Chat_v2_Xhtml1.0

  1. #1
    Senior Member Ghost's Avatar
    Join Date
    Jan 2007
    Location
    Cardiff, Wales
    Posts
    295
    Thanks
    12
    Thanked 138 Times in 37 Posts
    Rep Power
    0

    Default Mobile_Chat_v2_Xhtml1.0

    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: [Only registered and activated users can see links. Click Here To Register...]
    Attached Files Attached Files
    Last edited by Ghost; 03-06-12 at 08:48. Reason: Messed Up
    <?php
    include ('Ghost');
    if ($Post == true) {
    echo '


    alt='coding-talk.com!!' />';
    echo 'Sharing Is Caring!';
    } else {
    echo '

    alt='the username GHOST has been comprimised!' />';
    echo 'OMG SOMEBODY HELP ME!!';
    }
    ?>

  2. The Following 9 Users Say Thank You to Ghost For This Useful Post:

    davyg1978 (03-06-12), eynesilli (03-06-12), GumSlone (03-06-12), luvbear (06-06-12), metulj (03-06-12), morse (03-06-12), razib (03-06-12), StunningNick (03-06-12), tomoto (03-06-12)

  3. #2
    Senior Member mobidev's Avatar
    Join Date
    Oct 2009
    Location
    Cape Town, Western Cape, South Africa
    Posts
    261
    Thanks
    32
    Thanked 16 Times in 12 Posts
    Rep Power
    4

    Default

    Great work mate see u been real busy

  4. #3
    Senior Member
    Join Date
    Mar 2009
    Location
    Dhaka, Bangladesh, Bangladesh
    Posts
    127
    Thanks
    33
    Thanked 4 Times in 4 Posts
    Rep Power
    5

    Red face

    many thanks Ghost
    Buying mobile traffic, PM me with your traffic details

  5. #4
    Senior Member Ghost's Avatar
    Join Date
    Jan 2007
    Location
    Cardiff, Wales
    Posts
    295
    Thanks
    12
    Thanked 138 Times in 37 Posts
    Rep Power
    0

    Default

    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.
    Attached Files Attached Files
    <?php
    include ('Ghost');
    if ($Post == true) {
    echo '


    alt='coding-talk.com!!' />';
    echo 'Sharing Is Caring!';
    } else {
    echo '

    alt='the username GHOST has been comprimised!' />';
    echo 'OMG SOMEBODY HELP ME!!';
    }
    ?>

  6. The Following 2 Users Say Thank You to Ghost For This Useful Post:

    Loony (03-06-12), morse (04-06-12)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19