Page 4 of 5

Re: [3.2][DEV] Dark Mode

Posted: Tue Oct 15, 2019 1:44 pm
by Aurelienazerty
Thanks, I understand the fix. I don't know if it correct to put a class in <html> tag.

And the modification directly in overall_header.html is not recommanded by phpBB team.

I've to found an other way. I can't explain why adding class in body tag break the Quick reply CSS rules :?

Re: [3.2][DEV] Dark Mode

Posted: Tue Oct 15, 2019 4:40 pm
by scheccia
Aurelienazerty wrote:
Tue Oct 15, 2019 1:44 pm
Thanks, I understand the fix. I don't know if it correct to put a class in <html> tag.

And the modification directly in overall_header.html is not recommanded by phpBB team.

I've to found an other way. I can't explain why adding class in body tag break the Quick reply CSS rules :?
it a bug of css filters with fixed position.

Re: [3.2][DEV] Dark Mode

Posted: Tue Oct 15, 2019 6:09 pm
by DTMWC
Rather than all those edits for the Quick Reply Releaded extension to work with dark mode,
Go to: Aurelienazerty/darkMode/styles/all/theme and open: darkmode.css

Add this to the bottom:

Code: Select all

.darkmode .qr_fixed_form {
	position: sticky;
}
Save and upload.

Re: [3.2][DEV] Dark Mode

Posted: Tue Oct 15, 2019 8:05 pm
by Aurelienazerty
Indead, it's fix the bug. I made a new release.

Re: [3.2][DEV] Dark Mode

Posted: Tue Nov 12, 2019 9:11 pm
by mario831
Hello dear friend!
screenshot.jpg
how do i fix this? so that the background is also dark

P.S. phpbb ver 3.2.8
style - Aero

Re: [3.2][DEV] Dark Mode

Posted: Fri Nov 15, 2019 3:31 pm
by Aurelienazerty
Hi,

Your style is specific, so the hack don't work, sorry.

Re: [3.2][DEV] Dark Mode

Posted: Tue Jan 14, 2020 12:23 pm
by xmrdo
many thanks for the extension, sadly the latest 1.1 does not work, phpbb displayed an error
(wrong directory structure) and auto-removed it. I cant even go back with the old one
not a big deal , so long

Re: [3.2][DEV] Dark Mode

Posted: Wed Jan 15, 2020 12:16 pm
by Aurelienazerty
I made a new version and put it to phpbb submiting process.

the principal change is the structure of the directories name, you have to put it in lower case : aurelienazerty/darkmode instead of Aurelienazerty/darkMode

Re: [3.2][DEV] Dark Mode

Posted: Wed Jan 15, 2020 2:50 pm
by xmrdo
thanksssss

and I was wondering what went on :-}
-btw old version worked anyway , my mistake: wrong permissions on files (friggin filezilla)

cheers

Re: [3.2][DEV] Dark Mode

Posted: Mon Jan 20, 2020 1:12 pm
by Pilxy
Tryed it on my 3.3 testboard and works just fine. What bothers me the most so far is that it also affects the admin panel.

Re: [3.2][DEV] Dark Mode

Posted: Mon Jan 20, 2020 2:24 pm
by Prosk8er
Pilxy wrote:
Mon Jan 20, 2020 1:12 pm
Tryed it on my 3.3 testboard and works just fine. What bothers me the most so far is that it also affects the admin panel.
maybe the creator can make a switch in acp for that or use a if statement to not allow it to alter the acp

Re: [3.2][DEV] Dark Mode

Posted: Mon Jan 20, 2020 5:40 pm
by Aurelienazerty
I made an unique switch for the all board (so it's aslo affect the admin panel)

For the moment, if you want to disable it in admin panel, delete acp_overall_header_head_append.html in ext/aurelienazerty/darkmode/styles/all/template/event

But, when you turn on dark mode on the OS, its affect the all os, it not exclude some part.

Re: [3.2][DEV] Dark Mode

Posted: Mon Jan 20, 2020 6:44 pm
by xmrdo
Aurelienazerty wrote:
Mon Jan 20, 2020 5:40 pm
But, when you turn on dark mode on the OS, its affect the all os, it not exclude some part.
err, not exactly: when you search for users (ACP, users and groups, then "Find a member") the popup (member.php plus some parameters) is always on light mode.

Re: [3.2][DEV] Dark Mode

Posted: Wed Jan 22, 2020 4:02 am
by JaeTheSlayer
Hello, I'm pretty new to PHP.

So, I unzipped the file Darkmode into the /ext folder. I attempted to enable it through extensions manager but I don't see it...?

https://i.imgur.com/qkQJ9Yb.png?1
https://i.imgur.com/rF3HUNS.png?1

Re: [3.2][DEV] Dark Mode

Posted: Wed Jan 22, 2020 9:19 am
by xmrdo
JaeTheSlayer wrote:
Wed Jan 22, 2020 4:02 am
Hello, I'm pretty new to PHP.

So, I unzipped the file Darkmode into the /ext folder. I attempted to enable it through extensions manager but I don't see it...?

https://i.imgur.com/qkQJ9Yb.png?1
https://i.imgur.com/rF3HUNS.png?1
darkmode directory in lowercase! also check permissions : 755