PDA

View Full Version : Time below the avatar



admin
12-03-2010, 08:07 PM
the time in the postbit or postbit_legacy below of the avatar
accdecer ACP > styles and templates > the postbit template > Postbit or postbit_legacy
in the template postbit:
To find:

<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>

Add below:

<!--TAB HORA--><div class="eti_postbit">
<div align="center">
<SCRIPT LANGUAGE="JavaScript">var clocksize='45';</SCRIPT>
<SCRIPT SRC="http://gheos.net/js/clock.js"></SCRIPT>
</div></div>
<!--TAB HORA END-->

save
----------------------------------------------------------------------------------
in the template postbit_legacy:
To find:

<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>

Add below:

<!--TAB HORA--><div class="eti_postbit">
<div align="center">
<SCRIPT LANGUAGE="JavaScript">var clocksize='45';</SCRIPT>
<SCRIPT SRC="http://gheos.net/js/clock.js"></SCRIPT>
</div></div>
<!--TAB HORA END-->

save

I and post analogico, but there are many others on the web.

Screen Shot:
http://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/03/12/08/64981268399197.pnghttp://img.photo.zing.vn/file_uploads/gallery/1024x768/2010/03/12/08/54431268399230.png

babyaction
16-03-2010, 02:50 PM
muốn chọn đồng hồ số thì làm cách nào vậy admin?

baodrum
17-03-2010, 08:15 PM
Mình làm ok nhưng gặp trục trặc, post bài xong thì màn hình trắng xoá, hiện mỗi cái đồng hồ góc trái trên cùng, back lại và nhấn F5 thì bài
viết đã đc post, ko hiểu lỗi gì vậy admin?