on/off line as FB

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

    on/off line as FB

    Hello everyone, I have a request, I'd like to add an option in my community (lavalair) to get on line or off line like in facebook, thanks to whoever helps me

    #2
    50 view nobody reply

    Comment


      #3
      isnt that just ghost mode ?
      Wapchat4u


      Topsites4u

      Comment


        #4
        Online or offline where? In/off of what?
        mysterio.al - programming is a functional art

        Comment


          #5
          You can do it by logging users in a db table when they log in.
          Update the users time entry in the table with each page load.
          Delete entries which have been inactive after a given time period.
          You can then check the table to see if a user is online or not.
          Perfection comes at a cost



          I accept liberty!

          Comment


            #6
            Originally posted by LadyEnigma View Post
            50 view nobody reply
            its not complicated, but its hard to explain how to do it if i dont know how your script is built.
            Advertise your mobile site for FREE with AdTwirl

            Comment


              #7
              I haven't even understand yet, what he/she wants...
              mysterio.al - programming is a functional art

              Comment


                #8
                Like this

                idle if user is online but not moving.
                On means they are moving.
                Off means they not online or not being online for a long time

                But i cant be brothered to build this cuz he/she wants it for lavalair lmao
                Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                Visit: WapMasterz Coming Back Soon!
                _______
                SCRIPTS FOR SALE BY SUBZERO
                Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                _______
                Info & Tips
                php.net
                w3schools.com

                Comment


                  #9
                  Then he/she need to have two times, current time last move time, and do something like this:
                  if current_time - lastmove_time = 0-2 minutes then is online. If 2-15 then is idle. If > 15 then is offline.

                  You can code it Sub ;)
                  mysterio.al - programming is a functional art

                  Comment


                    #10
                    lol,

                    Yeah but i dont code for lavalair
                    Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
                    Visit: WapMasterz Coming Back Soon!
                    _______
                    SCRIPTS FOR SALE BY SUBZERO
                    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
                    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
                    _______
                    Info & Tips
                    php.net
                    w3schools.com

                    Comment


                      #11
                      As slone said, its quite easy. But hey, no one wants to go near lavalair.
                      Perfection comes at a cost



                      I accept liberty!

                      Comment


                        #12
                        still after lavalair!! :O
                        Kiddin me!! Lmao

                        Comment


                          #13
                          love it how many people now say lava script is **** but i know that large percentage of the users here who have sites relied on that script at one point to run thier sites
                          at the end of the day so what if its **** but lava script has done more for everyone here then any other script that has been used, raped and forgotten about

                          and as for the question all you need to do is search this forum http://coding-talk.com/f14/lavalair-...le-users-1803/

                          Comment


                            #14
                            this is so easy to make most sites have almost same code for online or offline as they wouldnt work without this lol all you have to do is allow for idle so say < 5mins but greater then 0 seconds is online then > 5mins but less then 10mins is idle anything greater then 10mins is offilne

                            Comment


                              #15
                              not everyone, amy. Some of us hv neve use lava or lava mod in their site. Lol.

                              Comment

                              Working...
                              X