The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Time below the avatar (user Local Time) Details »» | |||||||||||||||||||||||||||||||||||||
Time below the avatar (user Local Time)
Developer Last Online: Jul 2010
That makes this mod?
building the script timer that already have vbulletin so we run and show the result below the avatar Thus each user shows local time which chosen in your profile according to your time zone. (User Local Time). Installation: The installation is very easy, we agree to ACP <> language and phrases <> manage phrases <> new making phrase Code:
type of phrase: postbit product: vbulletin variable name: all_times_are_gmt_x_time_now_is_y text: <font size="4" color="black"><b>GMT{1} | {2}</b></font> Now we are going to styles and templates Choose the style to modify and edit the template postbit Find in the template: Code:
<div class="userinfo<vb:if condition="!$show['avatar']">_noavatar</vb:if>"> <div class="contact"> <vb:if condition="$show['avatar']"> <a class="postuseravatarlink" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> <vb:if condition="$post.avatarurl"> <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> <vb:else /> <img src="{vb:stylevar imgdir_misc}/unknown.gif" /> </vb:if> </a> </vb:if> Code:
<!--TAB HORA--> <vb:if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php?do=dst" method="post" name="dstform"> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff}; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </vb:if> <div class="eti_postbit"> <div id="footer_time" class="shade footer_time">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div> </div> <!--TAB HORA END--> ---------------------------------------------------------------------------------- in the template postbit_legacy: To find: Code:
<vb:if condition="$show['avatar']"> <div class="eti_postbit"=a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> <center> <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> </center> </a> </div></vb:if> Code:
<!--TAB HORA--> <vb:if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php?do=dst" method="post" name="dstform"> <input type="hidden" name="s" value="{vb:raw session.sessionhash}" /> <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = {vb:raw bbuserinfo.timezoneoffset} + {vb:raw bbuserinfo.dstonoff}; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </vb:if> <div class="eti_postbit"> <div id="footer_time" class="shade footer_time">{vb:rawphrase all_times_are_gmt_x_time_now_is_y}</div> </div> <!--TAB HORA END--> enjoy it. Please Mark as Installed Download Now
Screenshots
Show Your Support
|
Comments |
#2
|
|||
|
|||
Is military time or 24 hour time the only way or can you use 12 hour time?
|
#3
|
||||
|
||||
The format is the default forum administrator and can be 24 or am/pm system. The users can determine his time zone, but the format 24 or am/pm only administrator because it uses the Forum script.
|
#4
|
||||
|
||||
installed
thanxxx man keep it up |
#5
|
|||
|
|||
thanks i try it out
|
#6
|
||||
|
||||
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|