3.2 & 3.3 Extensions Database 3.2 / 3.3Who Visited This Topic

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
Previous topicNext topic
[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: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Chrome

Re: Who Visited This Topic

Post by Sniper_E »

Xxxbennyxxx wrote: Jan 23rd, '24, 07:37I created the event in viewtopic_body.html
You mean like this?

Code: Select all

{% EVENT viewtopic_body_online_list_before %}

<!-- IF S_DISPLAY_ONLINE_LIST and U_VIEWONLINE -->
	<div class="stat-block online-list">
		<h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3>
		<p>{LOGGED_IN_USER_LIST}</p>
	</div>
<!-- ENDIF -->

{% EVENT viewtopic_body_online_list_after %}
Then you renamed dm's viewtopic_body_footer_before.html to viewtopic_body_online_list_after.html
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

Xxxbennyxxx
Users
Users
Status: Offline
User theme: Dark
Posts: 74
Joined: Dec 30th, '14, 21:23
    Windows 10 Chrome

Re: Who Visited This Topic

Post by Xxxbennyxxx »

Indeed, that's how I did it.

I have created a ticket to also include this event in the core. But if this is complied with, no idea...

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

sakkiotto
Users
Users
Status: Offline
User theme: Dark
Posts: 7
Joined: Jul 31st, '15, 04:03
    Windows 10 Chrome

Re: Who Visited This Topic

Post by sakkiotto »

Kinsman wrote: Jan 9th, '24, 00:24 I'm not sure why this is happening, we use the standard coloured usernames in PHPBB3, and this is how it displays?
the guilty is the extension Relative dates

i need me too this fix :)

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

Bruce Banner
Users
Users
Status: Offline
User theme: Dark
Posts: 15
Joined: Apr 17th, '22, 22:00
    Windows 10 Firefox

Re: Who Visited This Topic

Post by Bruce Banner »

My avatar is showing at full size rather than the normal little miniature version. Have tried on three different browsers on two different devices and it shows at full size on everything.

[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: 1160
Joined: Oct 14th, '14, 17:01
    Windows 10 Chrome

Re: Who Visited This Topic

Post by Sniper_E »

The avatar sizes are set in the whovisitedthistopic.css ... Try using !important on all those sizes.

Code: Select all

.whovisitedthistopic-avatar {
	width: 20px !important;
	height: 20px !important;
}

.whovisitedthistopic-avatar img {
	max-height: 20px !important;
	max-width: 20px !important;
}

.whovisitedthistopic-avatar img:hover {
	max-height:100px !important;
	max-width:100px !important;
}
All the avatar sizes are set to 20px X 20px until you hover over one. Then it sizes to a max size of 100px X 100px.
Either your whovisitedthistopic.css isn't loading or...
You have some other css that's over riding these sizes. In this case using !important should fix that if the whovisitedthistopic.css is loading.

[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: Who Visited This Topic

Post by Pingui »

Thx for Update... :thumbup:
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

PostaL
Users
Users
Status: Offline
User theme: Dark
Posts: 6
Joined: Feb 28th, '23, 01:02
    Windows 10 Chrome

Re: Who Visited This Topic

Post by PostaL »

Thank you very much. I contacted you about an error a long time ago - Who Visited This Topic Now everything works fine 5+
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

Previous topicNext topic