vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Mini Mods - RepliClock Current date and time on main navbar (https://vborg.vbsupport.ru/showthread.php?t=317810)

Replicant 03-16-2015 10:00 PM

RepliClock Current date and time on main navbar
 
1 Attachment(s)
RepliClock
This little mod will put the date and current time on the main navbar on every page. The date and time fonts, color, sizes, and visibility can be configured via CSS. It works on screens all the way down to 320px wide without interfering with view.

https://vborg.vbsupport.ru/external/2015/03/22.png Desktop view

https://vborg.vbsupport.ru/external/2015/03/23.png Mobile View

Demo - See it on my live site k5bp.com

To install, download the XML file. Go to AdminCP >> Manage Products >> [Add/Import Product].
This mod does not modify any core Vbulletin files.

Enjoy! Please mark as installed if you find this mod useful.:up:

ToDo: Add 12 hour time option

Replicant 03-17-2015 09:16 AM

Version 1.0.1
A CSS collision was identified in 1.0 that causes the Message center to not display properly in responsive mode. The CSS has been corrected in 1.0.1.

Version 1.0.1 is 24 hour format
Version 1.0.2 is 12 hour format with AM/PM

anwar513 03-19-2015 03:16 PM

Plug-good, text display only English?

Replicant 03-19-2015 03:34 PM

Quote:

Originally Posted by anwar513 (Post 2540912)
Plug-good, text display only English?

Only english, yes. It's all I know. I haven't done any type of translation programming and have no clue how to go about it. Sorry.

Spangle 03-19-2015 05:48 PM

Is it time zone specific or does it display the time where the server is based or the Admins time zone ?

Replicant 03-19-2015 09:19 PM

Quote:

Originally Posted by Spangle (Post 2540929)
Is it time zone specific or does it display the time where the server is based or the Admins time zone ?

It should display the timezone you are in automatically.

fionix 03-23-2015 10:57 AM

Do you have any DEMO to see it?

Replicant 03-23-2015 01:07 PM

Quote:

Originally Posted by fionix (Post 2541263)
Do you have any DEMO to see it?

Sure, that would be nice huh? Added a link in the first post and here

BugOutGirl 04-08-2015 03:10 PM

Finally got around to getting this guy installed. Looks fantastic, I am probably more excited about it than I should be.
What CSS code can I use to change the font size/colour?

Replicant 04-08-2015 08:57 PM

This is the default css for the text

Code:

.rc-text {
        color: #858585;
        font-weight: bold;
}

All of the CSS is in the CSS template css_RepliClock.css
There is also CSS for smaller screens in that template.

You can play with the font sizes and colors in the development environment by right clicking on the clock and inspecting element. Then when you get it dialed in, edit the css template in the style manager for each style and change it to your code.


All times are GMT. The time now is 11:57 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.01222 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete