Mobile_Chat_v3.0_Xhtml1.0

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mobile_Chat_v3.0_Xhtml1.0

    ok so i admit v2 was a little bit of a flop, i made quite a few errors/mistakes
    due to me not sleeping for a few days etc.

    so im gonna try and make up for it now with a very early release of v3
    there was too many errors in v2 not to do this, ive gone over this copy a number of times
    and its alot better to use than v2.

    without further a due.

    ================
    CHANGES IN v3 (3.0)
    ================
    1. New time and date setup/look. now using gmdate() rather than date()
    BOTH time settings and date setting are using gmdate() this is to get
    the best/most accurate time possible when changing the time manually
    from config.php
    now looks like: >> Sunday 10th of June 2012 - 11:35 AM

    2. Rewrite of old times files. All 7 Files Have Been Updated.
    old files used gmdate and was very un-accurate.
    now has 104 different timezones
    using gmdate() rather than date()
    Can Modify These Pages Heavily From Within config.php
    may change this to css modifying at later release.
    (Possibly Can Be Out By 1 Hour, Depending On Daylight Saving Or Not)

    3. Rooms.php
    Made Sure Everything Is Visable To The Correct People This Time

    4. Ban.php Fixed.
    Should No Longer Get Cannot Modify Header Error Warnings.
    should now ban/boot users properly.

    5. IPBan.php
    Should No Longer Get Cannot Modify Header Error Warnings.
    should now ban/boot users properly.
    (although i dont like this tool very much its still there)

    6. Staffroom Folder Fully Fixed.
    When Doing Version 2, I Used Room1 Folder As A Base For All
    Other Rooms, So I Only Had Minor Tweaks To Do Then, I Failed
    To Forget, That In Version 1 I Put Special Precautions In Place,
    To Stop Non Staff Members Entering Any Part Of Staffroom From
    Simply Inputing The Staffroom Address Into Url. These Precautions
    Have Now Once Again Been Recoded Into The Script, And The Error
    On My Part Will Never Happen Again.

    7. Added protection to config.php file from direct url access.

    8. Removed even more useless/not needed code.

    9. (NEW) Created A Version Checker For The Script. (Location: main/rooms.php)
    Owner Will Be Alerted When Entering The rooms.php File If
    A New Version Is Available With A Download Location.
    Some Example:::
    ----------------------------------------------------------
    There is a new version released
    download @ SomeAddress.com
    Your Version: xhtml v3 (3.0)
    New Version: xhtml v3 (3.1)
    ----------------------------------------------------------
    From Time To Time. you may get a php error warning saying something like
    ------------------------------------------------------------------------
    Warning: file_get_contents() [function.file-get-contents]:
    php_network_getaddresses: getaddrinfo failed: Name or service not known
    in /home/ghost/public_html/main/rooms.php on line 190
    Warning: file_get_contents(http://mobile-chat.uk.to/xhtmlversion.php)
    [function.file-get-contents]: failed to open stream:
    php_network_getaddresses: getaddrinfo failed: Name or service not known
    in /home/ghost/public_html/main/rooms.php on line 190
    Warning: file_get_contents() [function.file-get-contents]:
    php_network_getaddresses: getaddrinfo failed: Name or service not known
    in /home/ghost/public_html/main/rooms.php on line 191
    Warning: file_get_contents(http://mobile-chat.uk.to/xhtmldownloadlink.php)
    [function.file-get-contents]: failed to open stream:
    php_network_getaddresses: getaddrinfo failed: Name or service not known
    in /home/ghost/public_html/main/rooms.php on line 191.
    ------------------------------------------------------------------------
    This will be Due to The Server The Checks Go to
    maybe down/slow for some reason. you can either stick it out
    (as it will only appear on rooms.php)
    or you can comment out the whole version check function from start to end.
    you can easily find it in rooms.php it is heavily commented for you.
    this function was originally gonna be put half in rooms and half in config.
    but when in config i noticed when error testing the warning would spam over every single
    file, by putting it all in rooms.php,
    if the error did appear it would be limited to 1 room.

    10. Minor Edit in css file.
    removed all bold options from all links.
    added the hover function for links for ppl that use pc / mouse cursors etc.
    and set bold to it to make it distinctive.


    --------------------------------
    as always likes/thanks appreciated,
    hope you enjoy.
    --------------------------------
    Demo: Xhtml v3
    Attached Files
    <?php
    include ('Ghost');
    if ($Post == true) {
    echo '

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

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

    #2
    Thanks for this release Would u plz tell how to login as admin mood ?

    Comment


      #3
      Originally posted by djshaon View Post
      Thanks for this release Would u plz tell how to login as admin mood ?
      all info is inside script.

      to add yourself as owner, open ownernames.txt file located in text folder,
      change name ghost to your required name and save, then register with that name
      and youll be owner with all tools, to make other ppl admin/mod etc.


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

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

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

      Comment


        #4
        U r absolutely great ..... we love u really....
        Go ahead , god will help you .

        Comment


          #5
          your welcome. and thank you.
          <?php
          include ('Ghost');
          if ($Post == true) {
          echo '

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

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

          Comment


            #6
            Ghost u r just awesome
            Buying mobile traffic, PM me with your traffic details

            Comment


              #7
              Originally posted by razib View Post
              Ghost u r just awesome
              thank you. sorry about the whole mess up of v2, hope this version makes up for it.
              <?php
              include ('Ghost');
              if ($Post == true) {
              echo '

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

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

              Comment


                #8
                you're the man...just keep up da good work...we got ur back buddy!

                Comment


                  #9
                  Thx mate was bit busy elsewere thx for the new version
                  My site: http://mimobifunclub.tk
                  sigpic

                  Comment


                    #10
                    Originally posted by VCollinzo View Post
                    you're the man...just keep up da good work...we got ur back buddy!
                    Originally posted by mobidev View Post
                    Thx mate was bit busy elsewere thx for the new version
                    your welcome guys. this is a pretty decent copy so shouldnt be many "if any" problems.
                    with any luck. fingers crossed anyway, as im working on my own thing right now im really hoping
                    this is good enough lol.
                    <?php
                    include ('Ghost');
                    if ($Post == true) {
                    echo '

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

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

                    Comment


                      #11
                      sql?

                      where i can find the sql ?

                      Comment


                        #12
                        Originally posted by darreldejello View Post
                        where i can find the sql ?
                        there is no sql file. it is a flat file script.

                        just read the installation.txt file that comes in the documents folder for instructions on how to install.
                        installing this script is alot simplier than installing a sql database.
                        <?php
                        include ('Ghost');
                        if ($Post == true) {
                        echo '

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

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

                        Comment


                          #13
                          pc users still able to bypass the 500 max char input in text field
                          site staff owner/admin should also have an option to delete some shout or delete a chat post 1by1 instead of deleting it all in staff panel
                          word filter should be implemented (everyone cursing each other lol)
                          multiple smilies input should be limited also otherwise anyone can post all the available smilies at once for (pc users) able to bypass 500 max character input
                          maybe chat/shout flood control too
                          Last edited by modfiles; 12.08.12, 04:52.

                          Comment


                            #14
                            Originally posted by modfiles View Post
                            pc users still able to bypass the 500 max char input in text field
                            site staff owner/admin should also have an option to delete some shout or delete a chat post 1by1 instead of deleting it all in staff panel
                            word filter should be implemented (everyone cursing each other lol)
                            multiple smilies input should be limited also otherwise anyone can post all the available smilies at once for (pc users) able to bypass 500 max character input
                            i only ever made a fix for the username bypass problem.


                            never did the 500 max char on posts, as i havent made another release of this script.
                            as im currently working on my own version and much improved on chat script.

                            word filter is there just need to add all words you want to be filtered into sensuuri.txt
                            1 word per line/row

                            example
                            sh*t
                            f*ck
                            bast*ard
                            sl*g
                            etc without the * off course.

                            all other things you mentioned i will look into and prob put into my version of a chat script.
                            as im not sure how much more work ill actually be putting into this mobile-chat if my own chat script takes
                            off.

                            demo of my chat project
                            scripting.uk.to

                            edited
                            p.s. what pc browsers are bypassing the 500 limit.
                            as i use opera 12, ie 8 and firefox something.(cant remember)
                            but can only do max 500 chars. only browser i know that can bypass this is Opera Mini (mobile) users.
                            Last edited by Ghost; 12.08.12, 05:02.
                            <?php
                            include ('Ghost');
                            if ($Post == true) {
                            echo '

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

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

                            Comment


                              #15
                              Its because form limit, can be used this function for all.
                              <!DOCTYPE html PUBLIC "-//WAPFORUM.RS

                              Comment

                              Working...
                              X