vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Time below the avatar (https://vborg.vbsupport.ru/showthread.php?t=238028)

filosofo@vodafo 03-10-2010 10:00 PM

Time below the avatar
 
1 Attachment(s)
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:

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>

Add below:

Code:


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

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>

Add below:

Code:


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

TimberFloorAu 03-11-2010 06:54 PM

You need to EDIT your MOD< and indicate it uses EXTERNAL CONTENT !

filosofo@vodafo 03-11-2010 07:43 PM

Quote:

Originally Posted by TimberFloorAu (Post 2001693)
You need to EDIT your MOD< and indicate it uses EXTERNAL CONTENT !

I am sorry I would apologize I am in this

Dr.osamA 03-11-2010 08:30 PM

goood one

thanxxx

installed
________
Xxx amateur movies

mfowler70 03-12-2010 09:01 PM

Wait, is this server time or each user's local time?

filosofo@vodafo 03-12-2010 09:15 PM

this is server time

mfowler70 03-12-2010 09:44 PM

So all the posts show the exact same thing? This would be a sweet mod if the clock in each user's postbit reflected his/her own time (offset as set in their profile). Can you make that happen?

filosofo@vodafo 03-12-2010 09:49 PM

This only need to change the type of script, I will see if I get

filosofo@vodafo 03-13-2010 04:27 AM

Quote:

Originally Posted by mfowler70 (Post 2002443)
So all the posts show the exact same thing? This would be a sweet mod if the clock in each user's postbit reflected his/her own time (offset as set in their profile). Can you make that happen?

Here and put a new mod because it is very different from this
https://vborg.vbsupport.ru/showthread.php?t=238149

mfowler70 03-16-2010 01:41 PM

Thanks. I'll install that one!

syrn 03-27-2010 08:24 AM

i want digital clock, but is displayed analog ? Any Help Plz


All times are GMT. The time now is 08:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01174 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete