Magnumutz
01-20-2009, 10:00 PM
Please mark as "Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=202551)" if you use this modification, thanks !
Okay, here's a little something i did for my forum, cuz i just wanted a place where to look for the right time.
See the attached screenshot for a demo.
Install instructions:
Edit the navbar template under Navigation / Breadcrumb Templates and search for:
<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
</div>
Right under that, add:
<div class="smallfont">
<script type="text/javascript" language="javascript" src="clientscript/date_clock.js"></script>
<script type="text/javascript" language="javascript">dT();</script>
</div>
In the same template search for:
<!-- / login form -->
Right under that, add:
<div class="smallfont" align="center">
<script type="text/javascript" language="javascript" src="clientscript/date_clock.js"></script>
<script type="text/javascript" language="javascript">dT();</script>
</div>
Upload date_clock.js to your clientscript folder.
That's it ;)
26th January: Added a 12 hour format package.
18th February: Updated Installation Instructions, fixed guest view alignment and moved the Bold version into the first post.
Please mark as "Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=202551)" if you use this modification, thanks !
Okay, here's a little something i did for my forum, cuz i just wanted a place where to look for the right time.
See the attached screenshot for a demo.
Install instructions:
Edit the navbar template under Navigation / Breadcrumb Templates and search for:
<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
</div>
Right under that, add:
<div class="smallfont">
<script type="text/javascript" language="javascript" src="clientscript/date_clock.js"></script>
<script type="text/javascript" language="javascript">dT();</script>
</div>
In the same template search for:
<!-- / login form -->
Right under that, add:
<div class="smallfont" align="center">
<script type="text/javascript" language="javascript" src="clientscript/date_clock.js"></script>
<script type="text/javascript" language="javascript">dT();</script>
</div>
Upload date_clock.js to your clientscript folder.
That's it ;)
26th January: Added a 12 hour format package.
18th February: Updated Installation Instructions, fixed guest view alignment and moved the Bold version into the first post.
Please mark as "Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=202551)" if you use this modification, thanks !