MyBB Community Forums

Full Version: [help] stylesheet (css) swithcer
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to add a style sheet switcher to my theme
I added a rel="alternate" and that is working fine, I can change css
but the problem is with logo, buttons, toplinks images and everything else not defined in css.

how can I change folder with buttons (english/) to eglish/red/
or {$theme['imgdir']} to something like this {$theme['imgdir']}/color

hmm maybe this can be new idea/plugin for mybb 1.4. Define theme folder in css file, or something similar

help appreciated
My friend it seems you don't know yet about the themes manager

go to Admin CP > Themes > Modify / Delete > EDIT THEME

Then come back and let's see if you have any other recommendation or question Wink
actually I know...
you didn't understand what I want.
my english must be worse than I thought.
I have one theme in two or more different colors. And I want to make links so user can change theme's color. Some of the Joomla themes have that feature.
example
go to http://www.joomlart.com/template/ja_zebrina/
and in the header of that theme is style switcher where you can choose colors (diferent css).
I want to make something similar

I could make two or more different themes in different color but that is not the point, I don't want to have duplicate templates
Use this plugin, Quick Theme. This will show a quick themes switcher at the bottom of the board.
hmm this is not the same, but it'll do for now.
One more thing, what do I need to modify (in the plugin) to allow guests to change themes.
I know almost nothing about php so I don't know what to change.

Thanks
Open ./inc/plugins/quicktheme.php

find

if($mybb->user['uid'] != 0)
	{	

remove it

now find
}
	return $page;

replace with

return $page;