Advertisement:

Author Topic: It's that simple!  (Read 12425 times)

Online Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,584
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • MMOBrowser
It's that simple!
« on: May 24, 2014, 09:35:00 AM »
Hello,

It has been a little while since I wrote anything, but our development team has been doing an amazing job in keeping you all up-to-date with recent changes, the most recent of which you can read about here. Today I want to talk about the changes made to Curve2.  As an end user you probably won't detect these changes, but for theme authors and other people who love customizing their forums, they'll find this interesting. 

One thing I have always loved about SMF is that it's flexible and it's easy to learn its template system. We are, however, going one step further and making it even easier.  We have changed how you can create a button in SMF. In SMF 2.0 you have to use div/ul/li containers to create a button, but with latest changes you have the power to create a button through just using .button class. This means that you only need to use one of the most used html elements (such as div/span/a).

We have also changed the theme systematic a little bit more.  This part is only for theme makers and customizers. In SMF 2.0 themes used table styling. Table styling is bit easier to use compared to div-styling, but when it comes to flexibility nothing can beat div-styling :P.  Div-styling also allows us to use animations, especially from smc_toggle, from which we made a little bit combo, which you can see on #1592 (GitHub --thanks to live627).  This allows our boards using smc_toggle to collapse. I'll not spoil all the details and fun here ;).

The latest development that I want to talk about is Half-Content (Halfling #1471) (many thanks to live627). This part is also not detectable by the end user, but if you are familiar with customizing/themes you surely see the stats page and/or similar pages, use left/right blocks.  This change makes things more simple because you only need to use Half-Content class in your container to create left/right blocks. We are not limiting you to creating two blocks, you can change the width and create more blocks on same line, it's completely up to you.

We believe all these changes will allow our user base to edit their sites and create new pages more easily. These changes will also lead to SMF's template system becoming simpler to use. In addition, I estimate that more general CSS classes in the core software will result in fewer additions from modifications, which will lower the size of the CSS files and make your sites faster.

As always, you can track the changes at SMF2.1 GitHub repo and test it, and you can find useful information about how to set up a local install from the repository here at our wiki

Thank you
I left SMF team not SMF, I'm open for new projects.

Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Offline live627

  • Developer
  • SMF Hero
  • *
  • Posts: 5,269
  • Gender: Male
  • Cat: Destroy!
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: It's that simple!
« Reply #1 on: May 24, 2014, 02:08:34 PM »
Quote
In SMF 2.0 themes used table styling.
You must make it clear that this is the BoardIndex here.
Try not to become a man of success, but rather try to become a man of value.
- Albert Einstein

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,198
    • Arantor on GitHub
Re: It's that simple!
« Reply #2 on: May 24, 2014, 02:12:13 PM »
What about the MessageIndex?
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Online Antes

  • Evil Black Cat
  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,584
  • Gender: Male
  • Black cat rulz!
    • Antes on GitHub
    • merta on LinkedIn
    • @antesistan on Twitter
    • MMOBrowser
Re: It's that simple!
« Reply #3 on: May 24, 2014, 02:24:18 PM »
Quote
In SMF 2.0 themes used table styling.
You must make it clear that this is the BoardIndex here.

BoardIndex, MessageIndex both using (board listing, topic listing) that's why I called it used, surely Curve2 will use table style in some areas as well we're not gonna touch that :)
I left SMF team not SMF, I'm open for new projects.

Active Project(s): [ SimpleDesk ] # [ Lunarfall ] # [ CoreStore ]

Past Project(s): [ ezPortal ]

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,569
  • Gender: Male
    • Kindred-999 on GitHub
Re: It's that simple!
« Reply #4 on: May 24, 2014, 02:39:05 PM »
tables are still appropriate when used for tabular data. :)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Dragooon

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 6,738
  • Gender: Male
  • I'm bIn
    • ShitizGarg on Facebook
    • Dragooon on GitHub
    • dragooon on LinkedIn
    • SMF-Media
Re: It's that simple!
« Reply #5 on: May 24, 2014, 03:54:29 PM »
tables are still appropriate when used for tabular data. :)
Except BoardIndex and MessageIndex aren't really tabular data, they're presented in a tabular fashion but they're simple lists

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 54,569
  • Gender: Male
    • Kindred-999 on GitHub
Re: It's that simple!
« Reply #6 on: May 24, 2014, 06:10:51 PM »
Oh I agree. Boardindex and message index are not tabular... they used tables for layout (which should be undone now that we're redoing the entire theme design)

However, who's online IS tabular...   and a few other places... :)
And we should not try to reinvent the wheel/display to force the use of divs, etc when tabular is actually appropriate. :)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.