Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Spectral Theme - Dark/Light Button Not Working
#1
As the title states... the Dark/Light button does show up in the drop-down list but clicking on the switch button or the 'moon'/'sun' icons does not do anything.

Yes, I already installed and activated the DVZ Theme Options plugin... in fact, I deactivated and activated it twice to no avail.

I am 99.9% certain that I have uploaded all of the necessary files from the zipped file.

What can I do to fix this?
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: 5M7sb0n.png?1]
Reply
#2
Are any errors shown in the browser Console? Was the theme renamed from the original Spectral?
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#3
(07-06-2019, 07:14 PM)Devilshakerz Wrote: Are any errors shown in the browser Console? Was the theme renamed from the original Spectral?

I don't see any errors, but I used Chrome Inspect function to show you what is going on.

I do not have a clue what is going on.

[Image: 8fc0727414e9ce8100257bccb1766fe2.png]
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: 5M7sb0n.png?1]
Reply
#4
If the theme name was changed, this will need to be reflected in jscripts/spectral_theme.js around line 332 (new ThemeOptions('spectral');), and in the filename of inc/plugins/dvz_theme_options/themes/spectral.json (lowercase in both instances).
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#5
(07-08-2019, 12:46 PM)Devilshakerz Wrote: If the theme name was changed, this will need to be reflected in jscripts/spectral_theme.js around line 332 (new ThemeOptions('spectral');), and in the filename of inc/plugins/dvz_theme_options/themes/spectral.json (lowercase in both instances).

Ok... I changed the spectral_theme.js 

But... what am I supposed to change in the spectral.json file? See the screenshot.


[Image: ced0fafddb3b29d9eb7357ec34c75ef0.png]

I noticed that you had logged onto my website, but the Spectral theme is not available unless you are an Admin.

Let me know if you want me to change your user level to Super Mod and I will make the theme available for Super Mod.

UPDATE: I bumped your level to Super Mod. Take a look. It is Luxor Forums v3.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: 5M7sb0n.png?1]
Reply
#6
(07-08-2019, 02:03 PM)Serpius Wrote: But... what am I supposed to change in the spectral.json file? See the screenshot.

For a theme named Luxor Forums v3, renaming spectral.json to luxor forums v3.json should do the trick (unless there's some unexpected issue related to spaces). The content of the file doesn't need to be modified.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#7
(07-08-2019, 02:59 PM)Devilshakerz Wrote:
(07-08-2019, 02:03 PM)Serpius Wrote: But... what am I supposed to change in the spectral.json file? See the screenshot.

For a theme named Luxor Forums v3, renaming spectral.json to luxor forums v3.json should do the trick (unless there's some unexpected issue related to spaces). The content of the file doesn't need to be modified.

Ok, changed the filename and still unable to change the Dark/Light mode.

FYI, I have already upgraded your level to Super Mod so that you can view the Spectral theme.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: 5M7sb0n.png?1]
Reply
#8
Does re-activating the DVZ Theme Options plugin help?

If not, can you paste the content of the dvz_theme_options cache in Tools & Maintenance → Cache Manager?
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply
#9
(07-08-2019, 03:55 PM)Devilshakerz Wrote: Does re-activating the DVZ Theme Options plugin help?

If not, can you paste the content of the dvz_theme_options cache in Tools & Maintenance → Cache Manager?

FINALLY!

I did re-activating the DVZ Themes options once again... now it works!

That brings me to this question...

Why was it necessary for me to do those 2 changes?

Shouldn't the installation of the theme make the changes on its own? 

Most admins (including myself) wouldn't have a clue how to fix this without your assistance on the matter.

Could the DVZ Theme Options plugin be incorporated into the Spectral theme and any other theme that you create so that everything is done at once and the Admins don't have to worry about doing additional steps to make everything work properly?

Just my 2 cents...
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: 5M7sb0n.png?1]
Reply
#10
Yes, these might be simplified in the future, possibly by inserting a theme name variable.
devilshakerz.com/pgp (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪ keybase.io/devilshakerz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)