Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Previews => Topic started by: TwitchisMental on February 12, 2022, 04:09:12 PM

Title: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 12, 2022, 04:09:12 PM
Well I have started on a new theme in celebration of 2.1.0 being released. I figured since I was so anti orange with my Bend SMF theme, I would go pro orange with this theme.

I am just getting my base colors picked out and doodling with Gimp.

This will also be the first SMF theme that I make using variables in my CSS.(Gotta get with the times right haha)

Here is an early preview -

orangey.png
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Mick. on February 12, 2022, 04:29:55 PM
Lol I'm behind in times. I don't use variables on my themes but I use it on my site. ;)
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 12, 2022, 04:34:10 PM
Quote from: Mick. on February 12, 2022, 04:29:55 PMLol I'm behind in times. I don't use variables on my themes but I use it on my site. ;)

Better late than never right :) ?
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Mick. on February 12, 2022, 05:23:58 PM
I use variables for dark mode. I think one of the next themes i roll out will use variables for a multi color option ;)
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Antechinus on February 12, 2022, 05:25:19 PM
Sensible way to do it. :)
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Diego Andrés on February 12, 2022, 05:38:41 PM
I made a ******ty frankenstein of a theme because of @SychO and @TwitchisMental and I'm afraid of uploading it  :laugh:

Edit: I forgot to mention, nice progress on the colors it reminds me of some good old themes from the past.
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Antechinus on February 12, 2022, 05:46:35 PM
The Theme Site needs a theme named ******ty Frankenstein. :D :D :D
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 12, 2022, 05:49:41 PM
Quote from: Antechinus on February 12, 2022, 05:46:35 PMThe Theme Site needs a theme named ******ty Frankenstein. :D :D :D
+1 for sure XD .
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 13, 2022, 10:45:56 AM
I am starting to make some progress on the layout.

orangey.png
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 16, 2022, 03:51:53 PM
I have another small update for this theme. Changed the search bar placement, added logo, added font-awesome icons, and fixed up the board stats how I like them lol.

orangey.png
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 16, 2022, 10:53:07 PM
I keep tinkering around with the board index hehehehe.. Also changed up some colors for the menus. Added social icons.


orangeybi.png

orangeybimenu.png
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 05:36:54 PM
So I have been trying to add an optional part of the footer. This optional part of would just be a set of lists with customizable links. (Much like the feather theme) I have a screenshot attached aswell. I only want this to show when the option is enabled under the theme settings.

Screen Shot -

 footermenu.png

I figured this would be pretty easy, but it seems I am missing something lol.

    // Footer Top Custom Links
if (!empty($settings['footer_menu_enabled']))
{
    echo '
   
    <div class="footer_top">
        <div class="footer_top_inner_wrap">
        <div class="row">
       
       
        <div class="column">
        <div class="footer_menu">
        <ul>
            <li><h3>Lorem Ispum</h3></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
        </ul>
        </div>
        </div>
       
        <div class="column">
        <div class="footer_menu">
        <ul>
            <li><h3>Lorem Ipsum</h3></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
        </ul>
        </div>
        </div>
       
        <div class="column">
        <div class="footer_menu">
        <ul>
            <li><h3>Lorem Ipsum</h3></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
        </ul>
        </div>
        </div>
       
        <div class="column">
        <div class="footer_menu">
        <ul>
            <li><h3>Lorem Ipsum</h3></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
            <li><a href="http://google.com">Lorem Ipsum</a></li>
        </ul>
        </div>
        </div>

        </div>
        </div>
    </div>';
   
}

I have the settings made in the settings.template.php. I have disabled and re-enabled the option in theme settings... yet it will now show up..  I cleared cache... I am 100% it is something basic that I am just overlooking.  Any help would be appreciated XD.
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Antechinus on February 19, 2022, 05:48:36 PM
I have had problems before when trying to add settings to an existing theme that is already installed. I would try copying what you have to a new theme zip, ditch the currently installed one, then install again from the zip. Might work.
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 05:49:32 PM
Quote from: Antechinus on February 19, 2022, 05:48:36 PMI have had problems before when trying to add settings to an existing theme that is already installed. I would try copying what you have to a new theme zip, ditch the currently installed one, then install again from the zip. Might work.
Worth a try .

Edit: No go :(..
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Mick. on February 19, 2022, 05:52:44 PM
Make sure $modSettings is in globals

function template_body_below()
{
global $context, $txt, $settings, $scripturl, $modSettings;
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 05:54:34 PM
Quote from: Mick. on February 19, 2022, 05:52:44 PMMake sure $modSettings is in globals

function template_body_below()
{
global $context, $txt, $settings, $scripturl, $modSettings;
This is what I have in mine aswell. I should note that the social icons are working just fine.
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Mick. on February 19, 2022, 05:58:30 PM
Did you add the settings in Settings.template.php correctly? Typos?
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 06:03:05 PM
Quote from: Mick. on February 19, 2022, 05:58:30 PMDid you add the settings in Settings.template.php correctly? Typos?
Doesn't hurt to triple check with my bad eyes lol.

Settings.template.php
'',
        array(
'id' => 'footer_menu_enabled',
'label' => $txt['footer_menu_enabled'],
'description' => $txt['footer_menu_enabled_desc'],
        ),
 
'',

Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 06:18:31 PM
Quote from: TwitchisMental on February 19, 2022, 06:03:05 PM
Quote from: Mick. on February 19, 2022, 05:58:30 PMDid you add the settings in Settings.template.php correctly? Typos?
Doesn't hurt to triple check with my bad eyes lol.

Settings.template.php
'',
        array(
'id' => 'footer_menu_enabled',
'label' => $txt['footer_menu_enabled'],
'description' => $txt['footer_menu_enabled_desc'],
        ),
 
'',


I found the issue..

I was looking at the wrong one eariler...

Had this at html body below -
function template_body_below()
{
global $context, $txt, $scripturl, $modSettings;


changed to

function template_body_below()
{
global $context, $txt, $settings, $scripturl, $modSettings;


BIG DERP on me... Thank you Mick. XD.
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Antechinus on February 19, 2022, 06:25:29 PM
It's usually something DERP :D
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 06:40:23 PM
Quote from: Antechinus on February 19, 2022, 06:25:29 PMIt's usually something DERP :D
Truth

With that out of the way now... lol  How does this look for the footer menu area?

footermenu.png
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Antechinus on February 19, 2022, 07:12:38 PM
Looks like a footer menu. :) How does it look if they don't want to fill up all those options?
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Diego Andrés on February 19, 2022, 07:16:01 PM
I looks good I bet because we haz flexbox mate
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 07:22:33 PM
Quote from: Antechinus on February 19, 2022, 07:12:38 PMLooks like a footer menu. :) How does it look if they don't want to fill up all those options?
Looks like a standard SMF footer.

footermenuwoextra.png 

Quote from: Diego Andrés on February 19, 2022, 07:16:01 PMI looks good I bet because we haz flexbox mate

You know it :).
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Antechinus on February 19, 2022, 07:26:27 PM
I mean the template code is all hard-coded at the moment. :P
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Diego Andrés on February 19, 2022, 07:28:10 PM
Who says so, you guys put spam in your settings, I put bad words in my inputs to test them  :laugh:
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Mick. on February 19, 2022, 07:31:11 PM
Lol
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 08:09:19 PM
Quote from: Antechinus on February 19, 2022, 07:26:27 PMI mean the template code is all hard-coded at the moment. :P

One step at a time :P.
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 19, 2022, 11:16:25 PM
Quote from: TwitchisMental on February 19, 2022, 08:09:19 PM
Quote from: Antechinus on February 19, 2022, 07:26:27 PMI mean the template code is all hard-coded at the moment. :P

One step at a time :P.

Alright got this all done.

With just 1 and 2 enabled.

footermenuhalf.png

2 and 4 enabled.

footermenuhalf2.png
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Antechinus on February 20, 2022, 07:07:15 AM
Getting there. :)
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 21, 2022, 04:39:07 PM
Alright I feel like I am getting close to done with this.

Board Index -

orangeybi.png

Message Index -

orangeymi.png

Post -

orangeypost.png
 
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Mick. on February 21, 2022, 06:12:54 PM
Very nice yo!
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 21, 2022, 06:31:14 PM
Quote from: Mick. on February 21, 2022, 06:12:54 PMVery nice yo!
Thank you.
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 22, 2022, 07:58:37 PM
Alright I have the post area matching the theme colors.

orangeypost.png
Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: TwitchisMental on February 24, 2022, 10:32:54 PM
Alright I am about to package this one up and submit it to the theme site.

I have added alot of little css3 effect goodies(most you won't be able to see until the theme is ready for download)

I have tweaked a few colors.

I have got all the mobile stuff dealt with.

Last Set of Previews -

Board Index -

orangeybi.png

Message Index -

orangeymi.png

Post -

orangeypost.png

Tablet View -

orangeybipad.png 

SmartPhone View -

orangeybiiphone.png


Title: Re: [Preview]My first SMF theme since 2.1.0 hit [Orangey Theme]
Post by: Shades. on February 25, 2022, 02:01:12 AM
if i may suggest only one thing is to change the color of the quick reply box or anything else on a dark theme to be other than #fff. Just my opinion of course but it bugs me on my own dark themes and trying to find a neutral color scheme. Other than that I love it! Just my measley 2 cents! ;)