Announcement

Collapse
No announcement yet.

refresh button code to pm chat

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

  • Font Size
    #1

    vB5.X.X refresh button code to pm chat


    welcome

    ..

    This code
    Resolve the delay arrive in pm chat
    When you press this button
    the page will reload as a simple refreshing and you will receive messages immediately



    code

    PHP Code:
    <html lang="en">
    <
    head>
    <
    meta charset="utf-8">
    <
    title>jQuery Reload the Current Page</title>
    <
    script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
    <
    script>
    $(
    document).ready(function(){
    $(
    "button").click(function(){
    location.reload(true);
    });
    });
    </
    script>
    </
    head>
    <
    body>
    <
    p>Click the following button to reload this pagewithout using the cache.</p>
    <
    button type="button">Reload page</button>
    </
    body>
    </
    html

    add this code in end of pmchat_chatwindow__entry template


    Attached Files
    Last edited by firas alhadithy; 03-09-21, 13:01.
    Similar Threads

  • Font Size
    #2
    firas alhadithy tried but works not
    I invite you to visit my IPS forum 👍
    I invite you to visit my vB5 forum 👍

    Comment


    • Font Size
      #3
      But.... it's like refresh button of browser or F5 .. not?

      Comment


      • Font Size
        #4
        Originally posted by mito22 View Post
        But.... it's like refresh button of browser or F5 .. not?
        Something like that but on my chat shows not button - refresh
        I invite you to visit my IPS forum 👍
        I invite you to visit my vB5 forum 👍

        Comment

        X

        Thread Information

        Collapse

        Users Browsing this Thread

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

          Those who read this thread

          Collapse

          Members who have read this thread: 5

          Working...
          X

          AdBlock Detected

          Please Disable Adblock

          Please consider supporting us by disabling the ad blocker.

          I've Disabled AdBlock