[DEV] Screen resolution in viewtopic

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Post Reply
User avatar
dmzx
Registered User
Posts: 768
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[DEV] Screen resolution in viewtopic

Post by dmzx » Sun Jul 05, 2015 3:55 pm

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.

Extension Version: 1.0.0

Screenshot:
Image

Extension Download:
http://dmzx.github.io/Screen-resolution-in-viewtopic

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.
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Screen resolution in viewtopic

Post by Mauron » Sun Jul 05, 2015 5:34 pm

I guess the extension retrieves resolution from browser, doesn't it?

User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Screen resolution in viewtopic

Post by martin123456 » Mon Jul 06, 2015 1:40 am

From a cookie as it's cookie based so if i login from a laptop it shows my laptop resolution then if i login from a mobile phone it then changes to the screens resolution as it uses a different cookie.

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
Mauron
Registered User
Posts: 342
Joined: Wed Jul 16, 2014 11:25 am

Re: [DEV] Screen resolution in viewtopic

Post by Mauron » Mon Jul 06, 2015 10:43 pm

Oh, good!

User avatar
DevMakoto
Registered User
Posts: 65
Joined: Tue Jun 23, 2015 3:38 pm
Name: Carlos Mayorga
Contact:

Re: [DEV] Screen resolution in viewtopic

Post by DevMakoto » Mon Jul 06, 2015 10:51 pm


User avatar
nextgen
Jr. Style Validator
Posts: 2334
Joined: Mon Jul 26, 2010 10:58 pm
Location: Guatemala
Name: Melvin García
Contact:

Re: [DEV] Screen resolution in viewtopic

Post by nextgen » Mon Jul 06, 2015 11:01 pm

These two extensions serve for the same function to the mod that mention :?

viewtopic.php?f=456&t=2324076#p14127341
posting.php?mode=quote&f=456&p=14134176#pr14132721
メルビン・ガルシア • Xtrato SolutionsMy active styles for phpBBphpBB Argentina - Soporte en español🇦🇷

Please do NOT contact for support via PM or email.

User avatar
draky
Registered User
Posts: 247
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [DEV] Screen resolution in viewtopic

Post by draky » Wed Jul 08, 2015 10:18 am

Does not work for me... but don't know why : I see the text "Resolution..." but no info beside it !

User avatar
dmzx
Registered User
Posts: 768
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Screen resolution in viewtopic

Post by dmzx » Wed Jul 08, 2015 11:31 am

draky wrote:Does not work for me... but don't know why : I see the text "Resolution..." but no info beside it !
Did you logout and login ?
Contact me on dmzx-web.net
 Need a Host or buy me a beer Donate and try binance.com

User avatar
martin123456
I've Been Banned!
Posts: 726
Joined: Sat Mar 05, 2011 7:44 pm

Re: [DEV] Screen resolution in viewtopic

Post by martin123456 » Wed Jul 08, 2015 4:01 pm

draky wrote:Does not work for me... but don't know why : I see the text "Resolution..." but no info beside it !
Install the ext purge boards cache and also purge all sessions so all users need to login once a user logs in the cookie is grabbed and the info will show.

Code: Select all

<!-- IF S_CODE_UNTIDY and S_MESS_ON_INDEX Good If_Not_TIDY_Then_SUBMIT -->

User avatar
draky
Registered User
Posts: 247
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [DEV] Screen resolution in viewtopic

Post by draky » Wed Jul 08, 2015 9:41 pm

Ok, worked :)

Thanks ;)

Post Reply

Return to “Extensions in Development”