Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
by Ange Tuteur Tue 03 Sep 2019, 11:49
» GIFActif - Giphy Button for the Editor
by Ange Tuteur Wed 08 May 2019, 17:21
» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28
» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15
» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11
» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24
» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58
» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50
» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22
» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12
» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10
» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51
» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11
» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19
» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34
Recent Tutorials
Top posting users this month
Top Achievers
Who is online?
In total there are 17 users online :: 0 Registered, 0 Hidden and 17 Guests :: 2 Bots
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
None
Most users ever online was 515 on Tue 14 Sep 2021, 15:24
Need a clock
Page 1 of 1 • Share
Can anyone tell me where I can get a clock for my forum, I need it to show the local time no matter where you are in the world, ie as I am in the uk I want to see the local time for the uk but for some one on Bulgaria they would need to see their local time, so I assume it would get the time from the users Ip ?
This is what I have been using for the last 5 year but the site seems to have stopped working over the last 2 weeks
This is what I have been using for the last 5 year but the site seems to have stopped working over the last 2 weeks
- Code:
<iframe style="width: 170px; height: 170px;" src="http://onlinehtmltools.com/clocks/analog-clock/clock2/" name="iframe985426" scrolling="No" frameborder="0" align="middle"></iframe><br />
- Wolfuryo
- Gender :
Posts : 256
Points : 3811
Reputation : 81
Language : Romanian and English
Browser : Forum Version :
Hi,
If you want it to display the time without any clock-looking form, add this javascript code to your forum:
Enjoy!
If you want it to display the time without any clock-looking form, add this javascript code to your forum:
- Code:
$(function(){
setInterval(function(){
$("#time").text(Date().split(" ")[4]);
}, 1000);
}
- Code:
<div id="time"></div>
Enjoy!
FIB wants a clock that will show the correct time for each member.
It will show my time (Central Timezone).
Your time (French timezone).
Another Member (Australia timezone).
It will show my time (Central Timezone).
Your time (French timezone).
Another Member (Australia timezone).
- Wolfuryo
- Gender :
Posts : 256
Points : 3811
Reputation : 81
Language : Romanian and English
Browser : Forum Version :
My code shows the time based on the computer's internal clock, so it should workSLGray wrote:FIB wants a clock that will show the correct time for each member.
It will show my time (Central Timezone).
Your time (French timezone).
Another Member (Australia timezone).
Andrei34 wrote:Hi,
If you want it to display the time without any clock-looking form, add this javascript code to your forum:Then add this HTML code where you want the clock to be displayed:
- Code:
$(function(){
setInterval(function(){
$("#time").text(Date().split(" ")[4]);
}, 1000);
}
- Code:
<div id="time"></div>
Enjoy!
Thank your @Andrei34 for your advice, I have a clock on my forum at present in the portal using a widget so can you please be more specific as to what I must do? as I am not to good with this sort of thing but I can follow instructions. Thank you
- Wolfuryo
- Gender :
Posts : 256
Points : 3811
Reputation : 81
Language : Romanian and English
Browser : Forum Version :
First go to the javascript code management section in your admin panel and add this code with placement an all pages:
Good luck!
- Code:
$(function(){
setInterval(function(){
$("#time").text(Date().split(" ")[4]);
}, 1000);
}
- Code:
<div id="time"></div>
Good luck!
@Andrei34 I Followed your instructions but the clock is still only showing UK time in Bulgaria. Below is what I have in the clock widget, I also followed step (1)
- Code:
<center>
<iframe scrolling="no" clocktype="html5" style="overflow:hidden;border:0;margin:0;padding:0;width:100px;height:100px;" src="http://www.clocklink.com/html5embed.php?clock=005&timezone=GMT00&color=blue&size=100&Title=&Message=&Target=&From=2017,1,1,0,0,0&Color=blue" frameborder="no"> </iframe>
</center>
<div id="time">
</div>
- Wolfuryo
- Gender :
Posts : 256
Points : 3811
Reputation : 81
Language : Romanian and English
Browser : Forum Version :
Delete the javascript code that you added in first step, than remove all the code from the widget, adding this in it's place:
- Code:
<script>$(document).ready(function(){
setInterval(function(){
$("#time").text(Date().split(" ")[4]);
}, 1000);
}</script><div id="time"></div>
@Andrei34 First of all thank you for all your help and patients
This is what I now have in my Clock widget, is this correct? its the clock code and the code you created. If I remove all the clock code and only put yours in the widget then it does not show any clock. There is no difference to several members that I have asked to check the clock. here is a link to my forum portal http://www.ourbulgariaforum.com/portal
This is what I now have in my Clock widget, is this correct? its the clock code and the code you created. If I remove all the clock code and only put yours in the widget then it does not show any clock. There is no difference to several members that I have asked to check the clock. here is a link to my forum portal http://www.ourbulgariaforum.com/portal
- Code:
<center>
<iframe scrolling="no" clocktype="html5" style="overflow:hidden;border:0;margin:0;padding:0;width:100px;height:100px;" src="http://www.clocklink.com/html5embed.php?clock=005&timezone=GMT00&color=blue&size=100&Title=&Message=&Target=&From=2017,1,1,0,0,0&Color=blue" frameborder="no"> </iframe>
</center><script>$(document).ready(function(){
setInterval(function(){
$("#time").text(Date().split(" ")[4]);
}, 1000);
}</script>
<div id="time">
</div>
- Wolfuryo
- Gender :
Posts : 256
Points : 3811
Reputation : 81
Language : Romanian and English
Browser : Forum Version :
Hello,
There are 2 problems with your code. First one is that you have to remove the old code. The code should be:
If you don't manage to make it work, send me a pm with username and password of an admin account(it can be a simple admin account, not necessary the founder account).
Good luck!
There are 2 problems with your code. First one is that you have to remove the old code. The code should be:
- Code:
<script>$(document).ready(function(){
setInterval(function(){
$("#time").text(Date().split(" ")[4]);
}, 1000);
})</script>
<div id="time"></div>
If you don't manage to make it work, send me a pm with username and password of an admin account(it can be a simple admin account, not necessary the founder account).
Good luck!
- Wolfuryo
- Gender :
Posts : 256
Points : 3811
Reputation : 81
Language : Romanian and English
Browser : Forum Version :
Thanks you, bro!
- Sponsored content
Create an account or log in to leave a reply
You need to be a member in order to leave a reply.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum