The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello vBorg.
One of our users (who uses vB 5.1.10) here came to me with an issue regarding the display of the current time in the footer. When English is chosen, the current time displays correctly, however, the date format string {vb:raw vboptions.timeformat} displays for all of the other languages instead. Line 77 of the "footer" template reads: HTML Code:
<div id="footer-current-datetime">{vb:phrase footer_current_time, {vb:if user.timezoneoffset, {vb:raw user.timezoneoffset}}, {vb:date 'timenow', {vb:raw vboptions.timeformat}}}</div> Text: All times are GMT{1}. This page was generated at {2}. French: Fuseau horaire GMT {1}. Il est actuellement {2}. German: Die Seite wurde um {2} erstellt. Rom?nă: Această pagină a fost generată la {2}. Spanish: Todas las horas son GMT {1}. Esta p?gina fue generada en {2}. I notice also, that if I save the "footer" template when any language other than English is being used, I get the following warning: Warning: preg_match(): Unknown modifier '2' in ../includes/adminfunctions_template.php on line 4765 Does anyone know what needs to be done to straighten out this problem? |
#2
|
||||
|
||||
![]()
It sounds like it might be an issue with the 12 hour vs. the 24 hour clock. Most European countries use a 24 hour clock. I believe the default clock setting is h:i A whereas the 24 hour setting is H:i
Is the user using the 12 hour setting or the 24 hour setting? Perhaps changing it in the Date and Time options will resolve the issue. |
Благодарность от: | ||
MarkFL |
#3
|
||||
|
||||
![]() Quote:
|
#4
|
||||
|
||||
![]()
See this Jira regarding the issue - http://tracker.vbulletin.com/browse/VBV-13952 (Note, you must first login to the vbulletin.com forums as a Licensed User before you may see the Jira issue.)
There is a temporary fix posted in there which I have not tried. Quote:
|
Благодарность от: | ||
MarkFL |
#5
|
||||
|
||||
![]() Quote:
you can check by this link : http://forum.republicamd.com That issue is for all languages except english one --------------- Added [DATE]1450748061[/DATE] at [TIME]1450748061[/TIME] --------------- up... |
#6
|
||||
|
||||
![]()
There is a Jira for that one too - http://tracker.vbulletin.com/browse/VBV-11687
|
Благодарность от: | ||
MarkFL |
#7
|
||||
|
||||
![]() Quote:
English language: Most users ever online was 81 at 01:00 AM on 01-01-1970. French and others: Le record de connect?s est de 81, 22 d�cembre 2015 ? 21h03. In both case is bug --------------- Added [DATE]1450815162[/DATE] at [TIME]1450815162[/TIME] --------------- I found hot to fix it , and is works fine . Link : http://tracker.vbulletin.com/browse/VBV-13957 Thanks Lynne --------------- Added [DATE]1450815304[/DATE] at [TIME]1450815304[/TIME] --------------- Idk what's wrong .... after 2 minutes is showing me this What's Going On Collapse There are currently 2 users online. 1 members and 1 guests. Most users ever online was 81 at 1449555131 on 1449555131. |
#8
|
||||
|
||||
![]() Quote:
![]() |
#9
|
||||
|
||||
![]() Quote:
![]() ![]() If you have time can you help me to fix that 2 bugs ![]() https://vborg.vbsupport.ru/showthread.php?t=321148 Thanks |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|