Online Offline User Status - Chat Application using PHP Ajax Jquery - 4

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 พ.ย. 2024

ความคิดเห็น • 89

  • @jeesambo
    @jeesambo 2 ปีที่แล้ว

    I have learn so much from this channel. Big thumbs up Bro.

  • @bankoleesan2129
    @bankoleesan2129 6 ปีที่แล้ว +1

    Super cool mehn. Damn I love this channel! You guys give so much good stuff. And I think the best part is not just how much I learn from your stuff, but also learning other creative ways to apply the programming. Thanks. Keep going mehn! We're rooting for you. Hands down probably the most useful and thorough web coding tutorial website/channel on the internet today

    • @webslesson
      @webslesson  6 ปีที่แล้ว +1

      Thnks for nice feedback.

  • @sahinersever1371
    @sahinersever1371 6 ปีที่แล้ว

    Hi, im waiting "Using Google Cloud Speech API Tutorial" with PHP and JS for voice to text :)) I'm sharing your videos with all my friends from Turkey..!

  • @ZinebStudentMeftah
    @ZinebStudentMeftah 10 หลายเดือนก่อน

    I have a Mac and whenever I tried to open a new window to test to accounts at the same time it converts to the same account as the previous one, how should I test my code if it works the status

  • @drokcomedy4777
    @drokcomedy4777 5 ปีที่แล้ว

    Okay. I have realise what the problem is. Pls make another tutorial on the same topic but for compatible for every time zone. Pls.

  • @muhammadsalikn.siddiqui8439
    @muhammadsalikn.siddiqui8439 3 ปีที่แล้ว

    i have a problem, no fields are showing up in username, status and action.. just tell me what can i do now?

  • @djb4programming
    @djb4programming 2 ปีที่แล้ว

    Thank you so much
    firstly the code didn't work with me but when i changed the time zone ,the code worked perfectly
    I have used this function : date_default_timezone_set('Africa/Algiers');

  • @LizzyCarlMain
    @LizzyCarlMain 6 ปีที่แล้ว

    This is a fantastic and awesome channel... keep going man.

  • @mdmuballigali833
    @mdmuballigali833 4 ปีที่แล้ว

    I have facing a problem. After 5 seconds this status going to offline. Now what i can do?

  • @augustomarcelo
    @augustomarcelo 6 ปีที่แล้ว

    use setInterval is the best solution? How can I make the database warn of new data instead of sending constant requests?

  • @MrTelekes
    @MrTelekes 4 ปีที่แล้ว +1

    When testing on localhost and I have two windows open and for two different users and refresh the page it logs one user out and and los in the other user. Is there a way to work around this for testing?

    • @parkjiji6701
      @parkjiji6701 4 ปีที่แล้ว

      yes i have a problem maybe like you , all the code is working , but online and offline doesn't work with me , i don't know if it's because of a localhost or not !

    • @MrTelekes
      @MrTelekes 4 ปีที่แล้ว +1

      @@parkjiji6701 try to use two different browsers. That worked for me.

    • @parkjiji6701
      @parkjiji6701 4 ปีที่แล้ว

      @@MrTelekes okey i will try it , thanks for your answer :)

    • @itxHuman
      @itxHuman 4 ปีที่แล้ว +1

      When I m trying to login in a new tab it is showing the username of previous one which is login in another tab... Can you help me... Plz

    • @MrTelekes
      @MrTelekes 4 ปีที่แล้ว

      @@itxHuman you have to open two different browsers. If you try using the same browser it shares the session info .

  • @richardguevara5533
    @richardguevara5533 6 ปีที่แล้ว

    Hi sir! I have a minor problem but I think this is crucial. While loading the browser after pressing the log out the user table display the current account used as "online" too. For example, I have here 2 accounts "username1" & "username2" When I log in the "username1" it works all fine I can see if "username2" is online or not. But when I press logout the table also displays "username1 as online" which is the current account used to log in then after that the page performs the logout functionality. What should I do?

    • @shahriarshakil9659
      @shahriarshakil9659 6 ปีที่แล้ว

      Set time zone of your country. date_default_timezone_set('Asia/Dhaka');

  • @annabellcasul4137
    @annabellcasul4137 5 ปีที่แล้ว +3

    When you go to different page, status will go offline.

    • @pi-cat
      @pi-cat 4 ปีที่แล้ว +1

      use session = stonks

    • @parkjiji6701
      @parkjiji6701 4 ปีที่แล้ว +1

      @@pi-cat i have a problem too , if you can help me ,
      it's always offline even i open a new window !!

    • @BO55MANKAY
      @BO55MANKAY 4 ปีที่แล้ว

      ive experienced the same problem

    • @BO55MANKAY
      @BO55MANKAY 4 ปีที่แล้ว

      its always offline even when i open the project in a different browser

  • @jatt420fauji
    @jatt420fauji 5 ปีที่แล้ว

    The Now Function doesnot works here As when i do Echo to the now() function it shows an Error Plz Help me Out

  • @abhilashamishra3883
    @abhilashamishra3883 4 ปีที่แล้ว

    hello sir i have an issue..when i logout to one user then second user profile showing this error (Notice: Undefined index: user_id in D:\xamp\htdocs\ajax\ajaxchatbox\fetch_user.php on line 6)
    how to resolve this problem.

    • @itxHuman
      @itxHuman 4 ปีที่แล้ว

      I'm also facing the same problem..

  • @t-techtutorialtips5261
    @t-techtutorialtips5261 4 ปีที่แล้ว

    status working but the problem is the system only goes Online but not going offline

  • @darlingchintu9529
    @darlingchintu9529 4 ปีที่แล้ว

    Can you plz provide me the downloadable Source code files.. instead copying the source code text.

  • @rsartandmedia
    @rsartandmedia 6 ปีที่แล้ว

    hello also tell me how to add new friends inside chat system that is add friend request
    iam eagerly waiting for your reply

  • @ijasdeen3809
    @ijasdeen3809 6 ปีที่แล้ว

    This is awesome tutorial,, thank u bro

  • @nsis5095
    @nsis5095 6 ปีที่แล้ว +2

    Hello. I copy all the cript provided on the last part but the status doesn't work...it keep me showing offline...i'm using android phone for offline scripting Google chrome and firefox browser..I checked the last activity table time-stamp it is working

    • @nsis5095
      @nsis5095 6 ปีที่แล้ว

      i echo $user_last_activity; it doesn't show anything but timestap is working

    • @shahriarshakil9659
      @shahriarshakil9659 6 ปีที่แล้ว

      Set time zone of your country. date_default_timezone_set('Asia/Dhaka');

  • @shakilamanzakila3065
    @shakilamanzakila3065 5 ปีที่แล้ว

    If Online/offline status is not working ...Change timezone to your specific country e.g "Asia/Dhaka or Asia/Karachi"

  • @anthonyleong3011
    @anthonyleong3011 6 ปีที่แล้ว

    Great tutorial !!!

  • @ijasdeen3809
    @ijasdeen3809 6 ปีที่แล้ว

    It shows online but When the user logs out, it does not change into "OFFLINE" why?

    • @nemethszabolcs9239
      @nemethszabolcs9239 5 ปีที่แล้ว

      Hello, you have to wayt this 5 sec refresstime

  • @lyrics9038
    @lyrics9038 6 ปีที่แล้ว

    hey when i go online with the second profile it dont change to online
    pleas help

    • @nemethszabolcs9239
      @nemethszabolcs9239 5 ปีที่แล้ว +2

      Hello, go into "check_user.php" and "print" your "$current_timestamp". Seams to be you use wrong "default time zone". If time zone is your problem 1-> go to php.net/manual/en/timezones.php select your state/country . 2-> Database_conenction.php ->date_default_timezone_set('Europe/Budapest');

  • @ghiasali9282
    @ghiasali9282 5 ปีที่แล้ว

    this part is not working to me can anyone help

  • @drokcomedy4777
    @drokcomedy4777 5 ปีที่แล้ว

    Hello sir, after trying this tutorial it's still show all users offline even after logining all in, in different browser still all are offline.

    • @erickchicas9808
      @erickchicas9808 4 ปีที่แล้ว

      Wre you able to solve this?

    • @bilalkoc4102
      @bilalkoc4102 4 ปีที่แล้ว

      do you solve this problem ?

    • @itxHuman
      @itxHuman 4 ปีที่แล้ว

      When I'm trying to login in another tab it showing the username of first one in index file can u solve this bro...??

  • @phphub2224
    @phphub2224 6 ปีที่แล้ว

    this is nice sir

  • @Tecnologiapamigente
    @Tecnologiapamigente 4 ปีที่แล้ว

    that online ofline is for a single user, so more than two do not appear online

  • @jacv7870
    @jacv7870 6 ปีที่แล้ว

    Hi can you do some codeigniter app or system tutorial. Thanks

    • @webslesson
      @webslesson  6 ปีที่แล้ว

      Hi John! Stay tuned for more vidoes, coming soon!

    • @jacv7870
      @jacv7870 6 ปีที่แล้ว

      Webslesson waiting for your CI series.

  • @منوعاتعالمية-ج6ي
    @منوعاتعالمية-ج6ي 6 ปีที่แล้ว

    Thank you, but I have a problem in the login what is the password for each user ? you crypte password , Type ?

  • @srikanthambaldhage2268
    @srikanthambaldhage2268 6 ปีที่แล้ว

    Thank you very...................... much.

  • @muhammadabubaker9419
    @muhammadabubaker9419 6 ปีที่แล้ว

    keep going... I'm waiting ;-) :-)

  • @hotvilst
    @hotvilst 6 ปีที่แล้ว

    Can anybody help me pls *prayers*
    Fatal error: Cannot redeclare fetch_user_last_activity() (previously declared in D:\Sites\QueueUp\database.php:29) in D:\Sites\QueueUp\database.php on line 29

  • @chiragsonaiya854
    @chiragsonaiya854 4 ปีที่แล้ว

    Online toast note working plese help

  • @neelpatel2326
    @neelpatel2326 6 ปีที่แล้ว

    Online offline status not working
    Any solution will be helpful

  • @gracekandolo3545
    @gracekandolo3545 5 ปีที่แล้ว

    hello sir when am login it still showing online evenif i loged out

    • @ahammedimtiaze
      @ahammedimtiaze 5 ปีที่แล้ว

      update the logout.php with this code, it will work fine

    • @davidkariuki3760
      @davidkariuki3760 3 ปีที่แล้ว

      @@ahammedimtiaze hello sir,
      even after doing this it still doesn't work....all users are still displayed as being online while they are offline. please help

  • @intmaker7723
    @intmaker7723 5 ปีที่แล้ว +1

    php version?

  • @justaquib
    @justaquib 6 ปีที่แล้ว

    this is good for tutorial but not good for product purpose....

  • @erickchicas9808
    @erickchicas9808 4 ปีที่แล้ว

    Anyone had problem with Online/Offline function?

  • @hamzaashraf9529
    @hamzaashraf9529 5 ปีที่แล้ว

    online offline status not working

  • @muhammadaqibshahzad9494
    @muhammadaqibshahzad9494 5 ปีที่แล้ว

    Sir provide us updated Source Code Please

  • @annabellcasul4137
    @annabellcasul4137 6 ปีที่แล้ว

    Hello bro, why it keeps saying online ?

  • @rajikatari9380
    @rajikatari9380 6 ปีที่แล้ว

    Thank you

  • @ammarcode
    @ammarcode 3 ปีที่แล้ว

    ❤️❤️❤️❤️❤️

  • @nasibullomukhamedov687
    @nasibullomukhamedov687 6 ปีที่แล้ว +1

    cant login , why you so made sad us, where is the password to login

  • @sonalienterprise2172
    @sonalienterprise2172 5 ปีที่แล้ว

    **************ONLINE & OFFLINE not work please help me someone *************

  • @fellcorvtricks4905
    @fellcorvtricks4905 4 ปีที่แล้ว

    its not working ,

  • @jellychoclat1686
    @jellychoclat1686 ปีที่แล้ว

    it didn't work even on demo just don't try it

  • @shahriarshakil9659
    @shahriarshakil9659 6 ปีที่แล้ว

    If anyone face status problem then Set time on your database file. date_default_timezone_set('Asia/Dhaka');

    • @shahriarshakil9659
      @shahriarshakil9659 6 ปีที่แล้ว

      Set your timezone it's my timezone. Think it first

    • @hempaslah3433
      @hempaslah3433 6 ปีที่แล้ว

      How to set Timezone? Can you explain itu?

  • @giorgikiladze1151
    @giorgikiladze1151 3 ปีที่แล้ว

    nothing understand so dislike

  • @kevinandhika993
    @kevinandhika993 6 ปีที่แล้ว +1

    Hi sir! I have a minor problem but I think this is crucial. While loading the browser after pressing the log out the user table display the current account used as "online" too. For example, I have here 2 accounts "username1" & "username2" When I log in the "username1" it works all fine I can see if "username2" is online or not. But when I press logout the table also displays "username1 as online" which is the current account used to log in then after that the page performs the logout functionality. What should I do?