1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add-on Server Time

Discussion in 'Resource and Add-on Requests' started by JMPRockFm, Jan 3, 2012.

  1. JMPRockFm

    JMPRockFm Member

    Attached Files:

  2. HoddzDJ

    HoddzDJ Active Member

    Where would you like this to be, on the sidebar? I can probably build something but I wouldn't be able to have it automatically update using Ajax, but I could code it in PHP to display the server time no problem.
     
  3. HoddzDJ

    HoddzDJ Active Member

    I'm guessing you have seen this already on a board then, rather than mocking it up in photoshop or something? If you have, have you spoke to the admin of the site to ask where he got it/if he would share it with you?
     
  4. JMPRockFm

    JMPRockFm Member

    I already ask them and they are not telling. :(
     
  5. HoddzDJ

    HoddzDJ Active Member

    Okay fella. I will see what I can come up with for ya!
     
    JMPRockFm likes this.
  6. JMPRockFm

    JMPRockFm Member

    Do you have Skype?
     
  7. HoddzDJ

    HoddzDJ Active Member

    Yeah I have Skype, it's my username on here.
     
  8. JMPRockFm

    JMPRockFm Member

    I have add you. you need to accept if you want :)
     
  9. djdclarke

    djdclarke New Member

    For the record - we did it a really rubbish way (a js query every 60s)

    HTML:
    <div class="section">
        <div class="secondaryContent">
    <h3>Server Time</h3><div id="time" style="text-align:center; font-size:33px"></div>
    <script type="text/javascript">
    function time() {
    $('#time').load('time.php');
    }
    setInterval(time,60000);
    time();
    </script>
        </div>
    </div>
    Then obviously in page container

    HTML:
     <xen:include template="sidebar_visitor_panel" />
    <xen:include template="ServerTime" />
    For the record the above fella didn't ask us - I would of been happy to send the data. :D
     

Share This Page