Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Live Clock & Date in Navbar Details »»
Live Clock & Date in Navbar
Version: 2.00, by Magnumutz Magnumutz is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.x Rating:
Released: 01-20-2009 Last Update: 02-17-2009 Installs: 8
Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Please mark as "Installed" 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:
PHP Code:
        <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:
PHP Code:
    <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:
PHP Code:
        <!-- / login form --> 
Right under that, add:
PHP Code:
        <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" if you use this modification, thanks !

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 01-23-2009, 01:59 AM
GSeybold GSeybold is offline
 
Join Date: Dec 2007
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mag,

I can't find this.

<if condition="$show['pmwarning']"><div><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
</div>

Not showing up in my navbar temp.

Can you advise?

Thanks so much

Gabby
Reply With Quote
  #3  
Old 01-23-2009, 06:24 AM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, that's probably cuz you have a custom template?
Could you provide me with a link to the style your trying to install on, your forum?
I will be more than happy to help you out.
Reply With Quote
  #4  
Old 01-23-2009, 08:17 AM
Dingo14 Dingo14 is offline
 
Join Date: Dec 2007
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try looking for just this bit <if condition="$show['pmwarning'] and you will see the rest
Reply With Quote
  #5  
Old 01-23-2009, 10:29 PM
GSeybold GSeybold is offline
 
Join Date: Dec 2007
Posts: 473
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Mag,
Thank you very much for your reply. I'm using the "Feeling Blue" design from here. I tried looking for the code on my default and I got the same error. I'm not tech savey so I'm sure it's something I'm doing wrong.

Thank Dingo. I'll go and try ths now.

Gabby


\
Quote:
Originally Posted by Magnumutz View Post
Well, that's probably cuz you have a custom template?
Could you provide me with a link to the style your trying to install on, your forum?
I will be more than happy to help you out.
Reply With Quote
  #6  
Old 01-24-2009, 09:36 AM
Magnumutz's Avatar
Magnumutz Magnumutz is offline
 
Join Date: Feb 2006
Location: Romania
Posts: 731
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't seem to find it GSeybold, could you please post a link?
Reply With Quote
  #7  
Old 02-04-2009, 07:23 PM
elbais's Avatar
elbais elbais is offline
 
Join Date: Apr 2007
Location: Turkiye/Istanbul
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good idea, thanks...

installed
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:03 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04139 seconds
  • Memory Usage 2,270KB
  • Queries Executed 20 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete