3.1 & 3.2 Extensions Database 3.1 / 3.2Screen resolution in viewtopic

<span class="qte-attr qte_31_32-qte">3.1.x &amp; 3.2.x</span>
User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Ubuntu Chrome

Re: Screen resolution in viewtopic

Post by martin »

Once installed it wont show until the user signs in :tumbsyes:
Image

User avatar

NAPWR Online
Donator
Donator
Posts: 47
Joined: 21 May 2017, 14:30
    Windows 7 Chrome

Re: Screen resolution in viewtopic

Post by NAPWR »

Works fine on PHPBB3.2.3

purged users, purged cache, and logged out and back in. :buigen: :mml: :beers: :tumbsyes:
My name is Dave I, and all things are out there, and we are in here :mml:

User avatar

max-ima
Users
Users
Posts: 139
Joined: 25 Mar 2022, 07:11
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by max-ima »

Tested on 3.3.7 and works. Thanks

User avatar

ivailo95
Users
Users
Posts: 918
Joined: 02 Feb 2018, 12:04
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by ivailo95 »

Version 3.3.8

Code: Select all

phpBB encountered an error building the container due to an installed extension. For this reason, all extensions have been temporarily disabled. Please try purging your forum cache. All extensions will automatically be re-enabled once the container error is resolved. If this error continues, please visit phpBB.com for support.


Exception: The file "/home/bgrockeu/public_html/ext/dmzx/screenresolution/config/services.yml" does not contain valid YAML: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar at line 5 (near "- @request").

#0 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php(117): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->loadFile('/home/bgrockeu/...')
#1 /home/bgrockeu/public_html/phpbb/extension/di/extension_base.php(99): Symfony\Component\DependencyInjection\Loader\YamlFileLoader->load('services.yml')
#2 /home/bgrockeu/public_html/phpbb/extension/di/extension_base.php(63): phpbb\extension\di\extension_base->load_services(Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#3 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php(71): phpbb\extension\di\extension_base->load(Array, Object(Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder))
#4 /home/bgrockeu/public_html/vendor/symfony/http-kernel/DependencyInjection/MergeExtensionConfigurationPass.php(39): Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#5 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/Compiler/Compiler.php(140): Symfony\Component\HttpKernel\DependencyInjection\MergeExtensionConfigurationPass->process(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#6 /home/bgrockeu/public_html/vendor/symfony/dependency-injection/ContainerBuilder.php(789): Symfony\Component\DependencyInjection\Compiler\Compiler->compile(Object(Symfony\Component\DependencyInjection\ContainerBuilder))
#7 /home/bgrockeu/public_html/phpbb/di/container_builder.php(223): Symfony\Component\DependencyInjection\ContainerBuilder->compile()
#8 /home/bgrockeu/public_html/common.php(117): phpbb\di\container_builder->get_container()
#9 /home/bgrockeu/public_html/adm/index.php(23): require('/home/bgrockeu/...')
#10 {main}
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
Feed like a disease
And bring them to their knees
They'll pay for their deceit

User avatar

ssl
Donator
Donator
Posts: 137
Joined: 19 Aug 2020, 12:54
    Mac OS X Opera

Re: Screen resolution in viewtopic

Post by ssl »

Replace services.yml file by this:

Code: Select all

services:
    dmzx.screenresolution.listener:
        class: dmzx\screenresolution\event\listener
        arguments:
            - '@request'
            - '@dbal.conn'
            - '@user'
            - '@template'
        tags:
            - { name: event.listener }
phpBB: 3.3.14 | PHP: 8.3
[Some French translation of extensions]

User avatar

Fredisland
Users
Users
Posts: 7
Joined: 10 May 2023, 20:26
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by Fredisland »

(phpBB 3.3.10 - PHP 8.12)

Great extension, but doesn't work :sad: . Resolution field is empty.
I modified services.yml to install the extension, I purged phpBB cache, I logged out, I purged browser cache, I logged in... And the filed is always empty. Do you know if it's just a problem with phpBB 3.3.10 ?

Thank you very much.
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Screen resolution in viewtopic

Post by martin »

It works.
Screenshot from 2023-05-19 22-16-53.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

clight77
Donator
Donator
Posts: 502
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Screen resolution in viewtopic

Post by clight77 »

Fredisland wrote: 19 May 2023, 17:02 (phpBB 3.3.10 - PHP 8.12)

Great extension, but doesn't work :sad: . Resolution field is empty.
I modified services.yml to install the extension, I purged phpBB cache, I logged out, I purged browser cache, I logged in... And the filed is always empty. Do you know if it's just a problem with phpBB 3.3.10 ?

Thank you very much.
I am on 3.3.10 and it works fine, maybe you have another ext conflicting it.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Screen resolution in viewtopic

Post by martin »

Sll post removed for being a dork

Board version: 3.3.10
1.png
Screenshot from 2023-05-20 00-31-58.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Screen resolution in viewtopic

Post by Sniper_E »

Same observation, the value is empty in viewtopic. The user_resolution colume value is empty in database also.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Screen resolution in viewtopic

Post by martin »

You need to log out then back in so it can grab data.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Screen resolution in viewtopic

Post by Sniper_E »

martin wrote: 20 May 2023, 01:35 You need to log out then back in so it can grab data.
That worked. And those instructions are on the first post in this topic. Now I feel like a ssl.

User avatar

martin
Admin
Admin
Posts: 5105
Joined: 06 Apr 2014, 16:12
    Linux Chrome

Re: Screen resolution in viewtopic

Post by martin »

Just for info it DOES work on 3.3.10 just done a fresh install.
1.png
2.png
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Chrome

Re: Screen resolution in viewtopic

Post by Sniper_E »

Yea they got it... "Just log out then back in so it can grab data."

I would even add, purge sessions in acp after this install so everyone else is logged out.
Then the grabbing can begin. What do you think?

User avatar

Fredisland
Users
Users
Posts: 7
Joined: 10 May 2023, 20:26
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by Fredisland »

martin wrote: 20 May 2023, 01:35 You need to log out then back in so it can grab data.
Logged out. Sessions purged. Cache purged. All cookies destroyed.
... But no Screen Resolution on Firefox and Chrome, whether with an administrator account or as a simple user 😭,
And I have noticed than no new cookie is created and nothing in the database is created.
Am i cursed? Or maybe an extension is blocking this one?
-----------------------
Reedit : I've deleted it, no more time for that.
Last edited by Fredisland on 20 May 2023, 18:35, edited 1 time in total.

Post Reply Previous topicNext topic