Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: !Hachi! on March 01, 2005, 09:20:54 PM

Title: Theme Changer
Post by: !Hachi! on March 01, 2005, 09:20:54 PM
i want to give options to my member to select thier favourite  theme.is it possible?any MOD?for example out 4 themes they can choose thier own favourite themes.
                   waiting your reply guys.
                                                Hassan
Title: Re: Theme Changer
Post by: Amacythe on March 01, 2005, 10:54:14 PM
In your Admin Control Panel>Theme and Layout Settings
Check the box to Allow members to select their own themes.
Title: Re: Theme Changer
Post by: !Hachi! on March 01, 2005, 11:01:18 PM
ok thanks.
          then from where members can change  themes.?
Title: Re: Theme Changer
Post by: !Hachi! on March 01, 2005, 11:40:17 PM
got it thanks.
           by thw way cani get that option on every page?
Title: Re: Theme Changer
Post by: [Unknown] on March 02, 2005, 04:02:19 AM
You could add something like this:

<form action="http://www.simplemachines.org/community/index.php">
   <select name="theme">
      <option value="1">Default theme!</option>
      <option value="2">Classic theme</option>
   </select>
   <input type="submit" value="Go!" />
</form>

-[Unknown]
Title: Re: Theme Changer
Post by: !Hachi! on March 03, 2005, 12:43:48 AM
Quote from: [Unknown] on March 02, 2005, 04:02:19 AM
You could add something like this:

<form action="http://www.simplemachines.org/community/index.php">
<select name="theme">
<option value="1">Default theme!</option>
<option value="2">Classic theme</option>
</select>
<input type="submit" value="Go!" />
</form>

-[Unknown]
thanks .canu tell me where to place these codes?i mean file name
                                   waiting your reply
Title: Re: Theme Changer
Post by: wiebke on March 03, 2005, 07:03:19 AM
if you put it into index.template.php, you´ll have it on every page :)

wiebke
Title: Re: Theme Changer
Post by: !Hachi! on March 04, 2005, 12:53:46 AM
Quote from: wiebke on March 03, 2005, 07:03:19 AM
if you put it into index.template.php, you´ll have it on every page :)

wiebke
thanks for telling .i got it thanks alot every one
Title: Re: Theme Changer
Post by: IamV on April 15, 2005, 07:01:21 PM
Quote from: wiebke on March 03, 2005, 07:03:19 AM
if you put it into index.template.php, you´ll have it on every page :)

wiebke

I have looked through all my folders and can not find a file named index.template.php  Has this perhaps been re-named with new versions being released?
Title: Re: Theme Changer
Post by: EG on April 15, 2005, 07:23:04 PM
its in every seperate theme... every theme has one

just look under

forum/Themes/Yourtheme
Title: Re: Theme Changer
Post by: IamV on April 15, 2005, 07:28:22 PM
Thank you, I should have thought of that.

one more question, how can I adjust it so that the list appears below the row of buttons?  Or can I?  If not then the top of the page will be fine.  ;)