Not Solved [How To?] How to use DVZ Theme Options Plugin ?
Not Solved
I read the instructions about it in

but can't get how to do it ?

i just want to know how to switch an another theme by just a click ? (not by redirecting)
Not Solved
Quote:but can't get how to do it ?

What did you try? I think the plugin doesn't add any user-side interaction tool or mechanism, leaving that up to the designer.

I think you will need to add your own JavaScript code to toggle or update settings from the client side, should be clear from reading the below point (specifically the setOptionCase() method):

Then you can read the values (initial values, or these updated from the client side) either assigning them to a JavaScript variable or by directly using the plugin variable ({$themeOptionCases}).

Since MyBB doesn't uses template conditionals as of now I suppose passing the values to a JavaScript variable and reading from there is the primary aim of the plugin.

I myself don't use this plugin (as of now) but I think I might be on the right route so I hope my reply is of some use to you.
Not Solved
Thr problem is i am not familiar with JavaScript , don't know how to use it , yeah it's totally shame for me but it might be helpful if you can help me with it .

there are 3 main themes in my forum....

simple i have allowed users to use 2nd and 3rd theme in my forum.

i just want a theme switch option by which if a user now using 2nd theme and if he wanted to use 3rd theme then he will click that switch button and the theme will change in a eye blink... there will be no redirecting.
Not Solved
MyBB's inbuilt theme selector (General Configuration → Show Theme Selector in Footer) can do that without a redirect (regardless of the Friendly Redirection Pages setting). (DF3A 34D9 A627 42E5 BC6A 6750 1F2F B8AA 28FF E1BC) ▪

Forum Jump:

Users browsing this thread: 1 Guest(s)