Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Is it possible to show the voucher timer as a pop up small window?

    Scheduled Pinned Locked Moved Captive Portal
    23 Posts 9 Posters 9.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      romeomarco09
      last edited by

      @dpa:

      Hi!

      Glad it worked. But to clarify, this code below can be omitted and is not important.

      include_once('captiveportal-vars.php');
      ?>

      The only part of this script that the above code is of use is this line:

      ".$pagetitle."");?>

      which can be replaced with a basic html:

      <title>Your own page title</title>

      And yes probably newer versions of pf uses $my_redirurl instead of $redirurl

      Kind regards,

      sir can i request? i want the remaining time showing countdown on realtime.
      i know you can do that. i am not good in js so can you please do this for us?
      thank you very much!

      @neobauer im also running v2.1.5

      W 1 Reply Last reply Reply Quote 0
      • T
        tsudenoconsigliere
        last edited by

        how about displaying the time remaining when using the Max-Daily-Session function? can anyone help me here? :\

        1 Reply Last reply Reply Quote 0
        • W
          walter_leon @romeomarco09
          last edited by

          @romeomarco09
          you could publish the php or the files you used for this case.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.