News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Simple Theme Changer

Started by Fustrate, August 19, 2008, 11:29:32 PM

Previous topic - Next topic

Lord Feste

#60
Quote from: neteater on July 03, 2009, 05:15:35 AM
does it work 2.0rc1-1

No. I Just tried installing the package, it's not compatible with SMF 2.0 RC1-1 .

Sirius

#61
is there any ways to make this mod to work on RC2-1 without having to edit some php codes?  that would be nice.   
 

Fustrate

on the bottom right of the page that lists your uploaded packages, look for a box that says something about Emulate Version, and change it to plain 2.0
Steven Hoffman
Former Team Member, 2009-2012

Lord Feste

That does work, kind of. The changer drop down appears in the bottom right of the standard theme, but clicking on a different theme doesn't refresh the page, and there's no select button either?


robinrobin

This seems to be the only mod of this kind for SMF 2. Some support for using it in RC1.2 would be highly appreciated!

replay

i have installed tis packageand when you try to use them themes installed listed in Simple Theme Changer 1.0.1  and i click on a theme, thenthey jst dont work.

is there sme kinda edit i need to do, if so what is it i need to edit to getthis to work, or is there a theme changing program that does work on 1.1.10 SMF

Cheers

replay

do i add this code in the main index file located in themes, if so i tried it and it didn`t work ?


Fustrate

I'm working on a better version, javascript is kicking my butt though :P
Steven Hoffman
Former Team Member, 2009-2012

replay

ok Fustrate, cheers for that,....i will wait for a much better version written by you.

Cheers

Fustrate

expect it in about 7 hours when I get back from work.
Steven Hoffman
Former Team Member, 2009-2012

robinrobin


Fustrate

6.5 hours :( I'm at work, and don't have access to one of the things I need
Steven Hoffman
Former Team Member, 2009-2012

replay

its ok,...dont rush,...when your ready really :)

Cheers


Fustrate

Sorry bout the lateness, I can't say why it's late though =\ I had other things that had to be dealt with.

Try upgrading with this package
Steven Hoffman
Former Team Member, 2009-2012

replay

have you tested it on 1.1.10 as it dont seem to work on mine.

cheers

anakmacan

#75
I found an error on smf 1.1.8:

Not Acceptable

An appropriate representation of the requested resource /forum/index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


I use simpleportal and ive tried the code given in simpleportal but still got the same error. My forum is http://bincangprofesi.com/forum/index.php?action=forum

anakmacan

Nvm, the javascript cause trouble too that i couldnt add bb code and smiley in post. This should be great mod though :)

Rumbaar

Hi, nice mod.  I've got it working okay on 2.0RC2 (I moved it to the top of the Curve theme just under the news).  But is there a method or option I can added that changes the person's selected theme to their permanently selected theme.  Just like that had selected it via their profile?

It's okay for guest to have it current session based, but I'd like it to be permanent for logged in users.  To override the boards default board in other words.
"An important reward for a job well done is a personal sense of worthwhile achievement."


[ Themes ]

david090366

Was just wondering if you were aware that, at least in 1.1.10, the package double installs the mod so you have two drop downs, one on top of the other. It is easily resolved by simply removing the second drop down it installs in the index.template however.

This is the bit it adds twice.

<tr>
<td colspan="3" style="text-align: right;">
<select id="simple_theme_changer" onchange="switch_theme();">
<optgroup label="', $txt['simple_theme_changer_name'], '">';

foreach ($context['themes'] as $id => $theme)
echo '
<option value="', $id, '"', (($settings['theme_id'] == $id) ? ' selected="selected"' : ''), '>', $theme, '</option>';

echo '
</optgroup>
</select>
</td>
</tr>

Sirius

#79
Quote from: Rumbaar on November 18, 2009, 06:52:56 PM
Hi, nice mod.  I've got it working okay on 2.0RC2 (I moved it to the top of the Curve theme just under the news). 

:'(  I wish i would be able to do that on my RC2 ..  I'll try again but I am afraid to edit the codes on my main forum..   I'm really not good at this .  This mod should be a feature of SMF2...... 80% of the members don't change their themes because they have a hard time to find out how to do it.. ( mostly old timers over 50 years old )   

so if I simply upload and try to install the package , it won't work key ?


Advertisement: