Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Theme Site Themes => Topic started by: TwitchisMental on December 31, 2013, 11:57:18 PM

Title: -FlatLine-
Post by: TwitchisMental on December 31, 2013, 11:57:18 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=2741)
(http://custom.simplemachines.org/themes/index.php/action,download/lemma,2741/image,thumb)

I give to you FlatLine Flat Line is a nice simple and "flat" SMF theme.


This theme is based on the flat web design concept/trend that is currently very popular.

Planned Features So Far -

1. SuperFish Jquery Menu
2. Theme Color Switcher
3. Integrated Go To Top Button with jquery slide effect.
4. 5 Color Variations.
5. Fluid Width
6. Like all of my themes, Open Source under the MIT/X11 License.
Title: Re: -FlatLine-
Post by: gpssachsen on January 05, 2014, 05:55:14 PM
Hi NBK,

I chosse your theme four our page, becaue you almost hit our colur style and I like the clean concept of yours.

I´m using SMF2.0.6 with a Joomla 2.5.6 installation and jfusion as a bridge, almost everything works fine. If I use the frameless option I´m getting an error:

404 error for file: .../Themes/flatline/css/index_blue.css?fin20
Can you check on this?

And I´m looking for a clean way to remove the header and the menu (I´ll bring this in the menu from the Homepage itself), can you tell me how to do this?

I really appreciate your help.

Kind regards from Germany
Title: Re: -FlatLine-
Post by: TwitchisMental on January 05, 2014, 08:03:14 PM
It looks like what I am assuming is joomla or the bridge is looking for a file that does not exist. Well it does,just as index.css.


This should fix the issue -


1. Open the flatline folder


2. Go into the css folder.


3. Make a copy of the index.css


4. Rename the copy to index_blue.css


As for your second question here is what you need to do -


1. Open the index.template.php file.


2. Find and remove - <div id="header"><div class="frame">
<div id="top_section">
<h1 class="forumtitle">
            <a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="'. $settings['images_url']. '/theme/logo.png" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />', '</a>
    </h1>';


// the upshrink image, right-floated



echo '
          <div class="styleselect">
<a class="red" href="', $scripturl, '?variant=red" title="'.$txt['colorred'].'"></a>
<a class="blue" href="', $scripturl, '?variant=blue" title="'.$txt['colorblue'].'"></a>
<a class="green" href="', $scripturl, '?variant=green" title="'.$txt['colorgreen'].'"></a>
<a class="purple" href="', $scripturl, '?variant=purple" title="'.$txt['colorpurple'].'"></a>
<a class="turquoise" href="', $scripturl, '?variant=turquoise" title="'.$txt['colorturquoise'].'"></a>
            <>
<>';
echo '
<>
<>



3. Find and remove - // Show the menu here, according to the menu sub template.
template_menu();


Title: Re: -FlatLine-
Post by: gpssachsen on January 06, 2014, 06:58:05 AM
Thanks a lot man,
everythings works like it should.

Best regards
Title: Re: -FlatLine-
Post by: TwitchisMental on January 06, 2014, 11:28:57 AM
Not a problem
Title: Re: -FlatLine-
Post by: pokercapo on January 13, 2014, 03:16:52 AM
Hi,
Great template thanks !
Now i need to change the header of my SMF forum so that it looks like my main WP website.
Is there somebody that can help me do that or tell me what i need to do ?
I need this community to look like its one with my main website and only need  the header to be fixed.
i already shutdown my wp login and signup and wil use smf for that.
I hope somebody can help me out here,
Thanks,
Erik
Title: Re: -FlatLine-
Post by: radu81 on January 13, 2014, 04:03:17 AM
simple and clean, thank you for this theme
Title: Re: -FlatLine-
Post by: strano on January 16, 2014, 12:34:13 PM
hi, do you know if your theme has any problem with Board Icons mod?
http://custom.simplemachines.org/mods/index.php?mod=3604

Title: Re: -FlatLine-
Post by: TwitchisMental on January 18, 2014, 07:25:31 PM
I wouldn't know personally, but looking at the mod it should work. At the most you would just have to do the manual edits.
Title: Re: -FlatLine-
Post by: strano on January 29, 2014, 10:11:40 AM
Also with the manual edit, on the BoardIndexTemplate and MessageIndexTemplate cause the test failed, it didn't work :(
Title: Re: -FlatLine-
Post by: TwitchisMental on January 30, 2014, 09:47:06 PM
Quote from: strano on January 29, 2014, 10:11:40 AM
Also with the manual edit, on the BoardIndexTemplate and MessageIndexTemplate cause the test failed, it didn't work<$1alt="" title="" onresizestart="return false;" id="smiley__$2" style="padding: 0 3px 0 3px;" />
So all you need to do is the manual edits :).
Title: Re: -FlatLine-
Post by: lau1304 on April 05, 2014, 08:01:33 PM
Hello and thank you for a great theme!
I need help, I need to add a menu item/link to go back to the main home website, is it possible?
I added this theme forum at webdukate.com

laura
Title: Re: -FlatLine-
Post by: WalrusComix on April 16, 2014, 11:57:57 AM
Hi there... How do I add an image to the header of Flatline??

Thanks.
Title: Re: -FlatLine-
Post by: njtweb on June 11, 2015, 09:54:34 AM
In ACP, theme settings, you put the URL in the header logo field and save.
Title: Re: -FlatLine-
Post by: njtweb on June 11, 2015, 09:56:14 AM
Quote from: NBK*Twitch on December 31, 2013, 11:57:18 PM
Link to the theme (http://custom.simplemachines.org/themes/index.php?lemma=2741)
(http://custom.simplemachines.org/themes/index.php/action,download/lemma,2741/image,thumb)

I give to you FlatLine Flat Line is a nice simple and "flat" SMF theme.


This theme is based on the flat web design concept/trend that is currently very popular.

Planned Features So Far -

1. SuperFish Jquery Menu
2. Theme Color Switcher
3. Integrated Go To Top Button with jquery slide effect.
4. 5 Color Variations.
5. Fluid Width
6. Like all of my themes, Open Source under the MIT/X11 License.


Great theme, love the easy to use and navigate functionality. I have only one question. I turned off theme switching across the site and would like to hide or remove the theme switching color boxes in the header. How can I do this?


***EDIT***
Nevermind, I found it. Theme folder>Index.template.php>commented out
<!--<div class="styleselect">
<a class="red" href="', $scripturl, '?variant=red" title="'.$txt['colorred'].'"></a>
<a class="blue" href="', $scripturl, '?variant=blue" title="'.$txt['colorblue'].'"></a>
<a class="green" href="', $scripturl, '?variant=green" title="'.$txt['colorgreen'].'"></a>
<a class="purple" href="', $scripturl, '?variant=purple" title="'.$txt['colorpurple'].'"></a>
<a class="turquoise" href="', $scripturl, '?variant=turquoise" title="'.$txt['colorturquoise'].'"></a>
            </div>-->
Title: Re: -FlatLine-
Post by: strano on June 13, 2015, 06:55:21 AM
The theme is compatible with 2.0.10?

I would updgrade from 2.07.
Title: Re: -FlatLine-
Post by: gpssachsen on July 31, 2015, 02:34:38 PM
Quote from: strano on June 13, 2015, 06:55:21 AM
The theme is compatible with 2.0.10?

I would updgrade from 2.07.

As far I can see, this theme is working fine with 2.0.10.
Title: Re: -FlatLine-
Post by: Sacksbot on August 23, 2015, 07:17:00 PM
Hopefully a quick question?

Is there a way to load the ?variant theme images on selection? So I can show say a different on.png for red, blue, etc.

Thanks in advance!
Title: Re: -FlatLine-
Post by: TalonDOD on September 09, 2015, 04:56:29 PM
Hello, Great work on this theme first of all.


I had a question though.  We use a shoutbox on my SMF boards and once I installed the new theme the shoutbox is gone.

Any idea how I would go about restoring that?

This is the one we used -SMFPacks Shoutbox
Title: Re: -FlatLine-
Post by: TalonDOD on September 10, 2015, 06:17:22 PM
Found the fix myself, Thanks for the great theme!
Title: Re: -FlatLine-
Post by: The Asian on September 23, 2015, 01:43:54 PM
How would I go about removing the color options, so only I use the red theme?
Title: Re: -FlatLine-
Post by: njtweb on December 07, 2015, 10:17:00 AM
http://www.simplemachines.org/community/index.php?topic=516392.msg3818006#msg3818006
Title: Re: -FlatLine-
Post by: The Asian on December 11, 2015, 05:49:37 PM
Quote from: njtweb on December 07, 2015, 10:17:00 AM
http://www.simplemachines.org/community/index.php?topic=516392.msg3818006#msg3818006

Already figured it out.

colosseum-gaming.com
Title: Re: -FlatLine-
Post by: njtweb on January 08, 2016, 11:39:24 AM
Hello, I'd like to add a couple promotional links or images in the area below the top navigation, (see attached image). I was screwing around with the index.template.php file for the theme but I'm not sure where to edit.

Thanks
Title: Re: -FlatLine-
Post by: Kardamilas on June 12, 2016, 10:36:24 AM
Goodevening,

i am testing this theme and i think it covers my standard but i have 2 questions.

I would like to enable "Show unread posts since last visit"

and second

i want to put a logo to cover the entire header,what dimensions should i make it?
I tried 1280 width and 150 height but despite that on big screens its ok,when i open the page
on my iphone,is chopping the right side of the logo insteed of fitting the logo to the screen resolution
as the entire forum does.