MyBB Community Forums

Full Version: Other Theme trough application.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello again MyBB community!

This time I'd like to request some help with my project,
I'm creating a desktop client for my project,
It simply embeds the website, But for the application i'd like to use a diffrent theme. I tried to do it via User Agent String, But it had no luck.

I found some old threads about displaying diffrent themes on a subdomain but I can't get any of them working.

What's the best way to get this right?

Sincerely,
Skorm92
Is it possible for you to pass in a variable when you first load the forum from your application? like http://yourforum.com/index.php?theme=1

Then you can handle that in global.php and set the appropriate theme. Or alternatively you can find a plugin that can handle theme changing via url (MyTheme?)
Thank you. But no, I don't want to set the users theme.
I want to make a subdomain or URL show a different theme.

Like what GoMobile does. It overides the current theme with a mobile version, no matter what.
Bump,
^ you can use plugin like MyTheme and need not show the theme selector.
still you can use different URLs to get different theme into action.
But doesn't the user selected theme override the MyTheme selected one?
^ you have to edit templates to remove the theme selection.
<removed>
(2013-04-15, 06:11 PM)thebobo1 Wrote: [ -> ]Maybe you can use: "Lite (Archive) Mode" or "Printable Version" with your application...
Thank you, But no. I just wan't to use a different theme by using a different theme,
I will try the above suggestions.
MyTheme's preferences override the user's previously selected theme.