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

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Screen resolution in viewtopic

Post by dmzx »

Extension Name: Screen resolution in viewtopic
Author: dmzx special thanks to martin based on the code of 4seven.

Extension Description:
This extension shows Screen resolution in viewtopic.
Cookie based so logout and login again on your forum.

dmzx/Screen-resolution-in-viewtopic

Screenshot:
Image

Extension Download:
downloadsystemcat?id=34

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `screenresolution`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `screenresolution` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at (your forum root)/ext/dmzx/screenresolution/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Screen resolution in viewtopic` under the Disabled Extensions list, and click its `Enable` link.


Taka51
Users
Users
Posts: 30
Joined: 08 Jun 2015, 13:27
    Windows Vista Firefox

Re: Screen resolution in viewtopic

Post by Taka51 »

Thanks Dmzx

Here is the translation in French

Good late afternoon
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.
WebDvdBdR - Page d’index

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Screen resolution in viewtopic

Post by dmzx »

Taka51 wrote:Thanks Dmzx

Here is the translation in French

Good late afternoon
Thanks added :thumbup:

User avatar

playgoods
Users
Users
Posts: 40
Joined: 06 Oct 2015, 08:45
    Windows 10 Chrome

Re: Screen resolution in viewtopic

Post by playgoods »

It's not working.
I purged cache, purged sessions, refreshed browser, logged out and in. It shows the text screen resolution but no actual setting

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6466
Joined: 13 Jan 2014, 21:45
    Windows 8 Firefox

Re: Screen resolution in viewtopic

Post by dmzx »

playgoods wrote:It's not working.
I purged cache, purged sessions, refreshed browser, logged out and in. It shows the text screen resolution but no actual setting
Send me test account from your board.

User avatar

tamarin
Users
Users
Posts: 72
Joined: 15 Mar 2015, 01:07
    Windows 10 Firefox

Re: Screen resolution in viewtopic

Post by tamarin »

playgoods wrote:It's not working.
I purged cache, purged sessions, refreshed browser, logged out and in. It shows the text screen resolution but no actual setting
I have the same problem.
Can you help me please?
Thx.

PS: I sent you the test account from my test forum via PM...
Last edited by tamarin on 13 Nov 2015, 01:45, edited 2 times in total.

User avatar

spazz
Users
Users
Posts: 13
Joined: 16 Nov 2015, 22:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

Same here as well, phpbb 3.1.6, php 5.5.9, Ubuntu 14.04 server

User avatar

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

Re: Screen resolution in viewtopic

Post by martin »

Unitsall the ext delete the data now change the styles/prosilver to styles/all and see if that works.
Image

User avatar

spazz
Users
Users
Posts: 13
Joined: 16 Nov 2015, 22:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

No effect.

User avatar

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

Re: Screen resolution in viewtopic

Post by martin »

Out of interest what theme are you using and is it up to date ? if its out of date the event maybe missing (i doubt it is tho)

User avatar

spazz
Users
Users
Posts: 13
Joined: 16 Nov 2015, 22:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

Using default prosilver.

I did some mild debugging and it is as if

{postrow.USER_RESOLUTION}
{L_SCREEN_RESOLUTION}

are not getting any value.
The first one seems to be an empty value, and the second one returns the string:
Screen Resolution which does seem right, so it is firing appropriately.

btw Thank you for the fast reply.
Last edited by spazz on 17 Nov 2015, 10:01, edited 1 time in total.

User avatar

spazz
Users
Users
Posts: 13
Joined: 16 Nov 2015, 22:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

Looks as tho it is not writing to the database.
Looking further. If I find the cause I will gladly share as I see others have this too.

User avatar

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

Re: Screen resolution in viewtopic

Post by martin »

Is your database mysql ? if not what are you using and il make a database of the same type and test.

User avatar

spazz
Users
Users
Posts: 13
Joined: 16 Nov 2015, 22:46
    Windows 7 Firefox

Re: Screen resolution in viewtopic

Post by spazz »

My dev setup is xampp on windows with mysql and production is mariadb.
Both have the same issue.

Prod:
Image

dev:
Image
Last edited by spazz on 17 Nov 2015, 10:57, edited 1 time in total.

User avatar

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

Re: Screen resolution in viewtopic

Post by martin »

Ok that kills the database type then i use mysql on xampp win 10 (works) also mysql on zorin (ubuntu)

think il change table types and test.
Last edited by martin on 17 Nov 2015, 10:59, edited 1 time in total.

Post Reply Previous topicNext topic