3.2.x Extensions Database 3.2 / 3.3Live time clock 3.2.x

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1158
Joined: Oct 14th, '14, 17:01
    Windows 10 Firefox

Re: Live time clock 3.2.x

Post by Sniper_E »

jan_2017 wrote: Dec 25th, '17, 09:18
dmzx wrote: Feb 16th, '17, 22:39 Delete these lines https://github.com/phpbb/phpbb/blob/mas ... html#L3-L4 and clear cache.
Hello together.

Where i can find the lines to delete "Your last activity at ....." at the right corner

Thx Jan
If you look at the line that dm linked to... This part of that line...
<!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF -->
Change that part to...
<!-- IF not S_USER_LOGGED_IN -->{CURRENT_TIME}<!-- ENDIF -->
That will get rid of the: Last visit was: Yesterday, 11:55 am on the index page.

There is a: Last active: less than a minute ago in the profile page. You're not talking about that are you?
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

jan_2017
Users
Users
Status: Offline
User theme: Dark
Posts: 203
Joined: Feb 5th, '17, 09:21
    Windows 10 Firefox

Re: Live time clock 3.2.x

Post by jan_2017 »

Hello.
There is a: Last active: less than a minute ago in the profile page. You're not talking about that are you?
Yes , that i mean.

i want to remove the last one and the time / date line.

I will try it ... :thumbup:

By the way.....how i can change the language?

thx Jan

EDIT:

I have removed "Line 3 and 4" ... cache cleared .... now it disappear!! :D

Thx for Tip

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

ivailo95
Users
Users
Status: Offline
User theme: Dark
Posts: 918
Joined: Feb 2nd, '18, 11:04
    Windows 7 Opera

Re: Live time clock 3.2.x

Post by ivailo95 »

can you add language file ?
Feed like a disease
And bring them to their knees
They'll pay for their deceit

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Pingui
Donator
Donator
Status: Offline
User theme: Dark
Posts: 74
Joined: Oct 14th, '15, 17:10
    Windows 10 Chrome

Re: Live time clock 3.2.x

Post by Pingui »

Thanks... :mml:
Be yourself, except if you're stupid, then it is better that you be another one.
I Amiga
- www.WinUAEspanol.com
I know, my english is very bad, sorry...

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

NAPWR
Donator
Donator
Status: Offline
User theme: Dark
Posts: 47
Joined: May 21st, '17, 12:30
    Linux Chrome

Re: Live time clock 3.2.x

Post by NAPWR »

Live Time Clock on shows in Sticky Bar when scrolling,

is there a setting to display Live Time Clock always DM :question: :beers: :tumbsyes:
My name is Dave I, and all things are out there, and we are in here :mml:

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Sniper_E
VIP
VIP
Status: Offline
User theme: Dark
Posts: 1158
Joined: Oct 14th, '14, 17:01
    Windows 10 Chrome

Re: Live time clock 3.2.x

Post by Sniper_E »

The live time clock shows in the header navbar. But down in the breadcrumb of the navbar.
To have it show all the time, even when scrolling you can install Fixed Navbars extension.

And language can not be added because the liveclock.js file will not take lang entries. You have to edit that file.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5109
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Live time clock 3.2.x

Post by martin »

Or just look in the corner of your screen for the time.
Image

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

Dario79
New user
New user
Status: Offline
User theme: Dark
Posts: 1
Joined: Dec 14th, '19, 13:15
    Windows 7 Firefox

Re: Live time clock 3.2.x

Post by Dario79 »

Thank You ver veryyyy good!!!

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

BBBenj
Users
Users
Status: Offline
User theme: Dark
Posts: 48
Joined: Mar 10th, '17, 09:59
    Windows 10 Opera

Re: Live time clock 3.2.x

Post by BBBenj »

Hi!

I'm using phpBB 3.3.5 / PHP 7.3, and it doesn't appear, even after I cleaned the cache. I tried in vanilla Prosilver of course, but nothing.

Any clue, please.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

martin
Admin
Admin
Status: Offline
User theme: Dark
Posts: 5109
Joined: Apr 6th, '14, 14:12
    Linux Chrome

Re: Live time clock 3.2.x

Post by martin »

Not with out a site link no and it sound like a js issue or your using that event in another ext.

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/src/Template.php on line 359: Array to string conversion
Array

BBBenj
Users
Users
Status: Offline
User theme: Dark
Posts: 48
Joined: Mar 10th, '17, 09:59
    Windows 10 Opera

Re: Live time clock 3.2.x

Post by BBBenj »

Sorry Martin, I can't give a site as it's on a pre prod version on Wamp, to prepare everything for the big jump from 3.0.14 to 3.3.5. So, nothing on line yet.