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

Add-on Server Time

HoddzDJ

Active member
#2
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.
 

HoddzDJ

Active member
#3
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
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?
I already ask them and they are not telling. :(
 
#9
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