Advertisement:

Author Topic: Tidy Child Boards  (Read 137844 times)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Tidy Child Boards
« on: December 09, 2009, 04:00:36 AM »
Link to Mod

This mod allows you to tidy up the look of your child boards into nice ordered columns.

Compatible with pretty much any theme for SMF 2.0!!

Once installed, you'll find these options in the Features and Options page of the admin panel:
* choice of 2, 3 or 4 columns
* for child boards with new posts, you also get the following options:
  * whether the link is bold or not
  * whether you get the [new] icon next to it
* option of having small copies of the board's icon next to the child boards, which also light up (the same as the board icon) if there are new posts

This mod supercedes and replaces 'Aligned and Bilateral Child Boards'.


Version history

2.0 - May 7 2016
Complete rewrite
- SMF 1.1.x users should continue to use the 1.x version of the mod for whatever reason
- SMF 2.0 users should use the 2.0 version of the mod; this requires zero theme edits, fewer other edits and generally should work better

1.4.1 - June 22 2013
Compatibility for 2.0.4 (no code changes)
1.1.18 should work just fine as well

1.4 - 28 July 2012
Adds support for 2.0 - 2.0.2
Dropped support for all RC versions

1.3 - 9 March 2010
Added 2.0 RC3 support, no version number change, no code change

1.3 - 31 January 2010
Fixed missing $scripturl in scope for unapproved posts/topics in the child boards (thanks SleePy for the heads-up)

1.2 - 29 December 2009
Added German support thanks to ianus.
Fixed stupid bug in uninstaller not removing the CSS file in 1.1.x.
Done some work on the IE6/7 bug, which is a browser bug, not anything else. Not really sure what else to do with it other than what I've done to be honest.
Reorganised files to be tidier.

1.1 - 13 December 2009
Added 2.0 RC1.2 support
Fix a validation issue (Thanks Sabre!)

1.0 - 9 December 2009
First public release
« Last Edit: January 30, 2010, 09:50:12 PM by Arantor »
No good deed goes unpunished
All helpful urges should be circumvented

Offline JBlaze

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,178
  • Gender: Male
    • jason.p.clemons on Facebook
    • jasonclemons on GitHub
    • jasonclemons1 on LinkedIn
    • @fragicide on Twitter
    • clemons.io
Re: Tidy Child Boards
« Reply #1 on: December 09, 2009, 04:16:18 AM »
Yet another awesome mod! Congrats again!

* JBlaze mutters something about spammers
Jason Clemons
Former Team Member 2009 - 2012

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: Tidy Child Boards
« Reply #2 on: December 09, 2009, 05:12:17 AM »
nice one dude, looks so much neater now. good job

Offline coldy316

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
  • G'day mate, how ya doin
Re: Tidy Child Boards
« Reply #3 on: December 09, 2009, 06:24:52 AM »

Hey arantor thanks for sharing this mod works well but i think there is a problem with the 4 columns
area.. I have it set on 4 columns but its not showing 4 columns across. Only 3 columns across..

Is it meant to show 4 columns going across the bourd or 3 columns across and 1 column going down
I would do a screen cap but I run an adult board and might get in trouble in screen cap of it.
Would you believe it that i live in gods country
Australia

Offline SilverKnight

  • Jr. Member
  • **
  • Posts: 265
    • HyperGaming Network
Re: Tidy Child Boards
« Reply #4 on: December 09, 2009, 07:09:57 AM »
Love it Arantor!

I have a suggestion though.

Make it so you can use a custom on and off buttons for the subforum pictures, Even though it shrinks them automaticly, it would be nicer to use other images too if need be.

You have turned my subforums into something of an eyecandy, it looks great.
« Last Edit: December 09, 2009, 07:28:48 AM by SilverKnight »

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #5 on: December 09, 2009, 08:30:22 AM »
Hey arantor thanks for sharing this mod works well but i think there is a problem with the 4 columns
area.. I have it set on 4 columns but its not showing 4 columns across. Only 3 columns across..

Version of SMF? Can't diagnose it without further information.

SilverKnight: And where would it get that from? I know full well if I add support for it, I'll only have to make it work with the Custom Board Icon mod, which makes things a lot more complicated since you'd have to then provide an image for each child board and also to be frank, that raises the bar on support a lot, which for a free mod I just do not have time for.
No good deed goes unpunished
All helpful urges should be circumvented

Offline coldy316

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
  • G'day mate, how ya doin
Re: Tidy Child Boards
« Reply #6 on: December 09, 2009, 10:01:29 AM »
sorry about that arantor forgot about it. smf curve 2.0rc2 anyway heres the screenshots
you should be able to see what i mean when viewing..

I'm using the default theme
« Last Edit: December 09, 2009, 10:30:41 AM by coldy316 »
Would you believe it that i live in gods country
Australia

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #7 on: December 09, 2009, 10:03:42 AM »
Please remove those screenshots.

The reason is concerning your custom theme - there *are* four columns there but due to something in your custom theme, it indents the first column, so the fourth column wraps around.
No good deed goes unpunished
All helpful urges should be circumvented

Offline coldy316

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
  • G'day mate, how ya doin
Re: Tidy Child Boards
« Reply #8 on: December 09, 2009, 10:32:24 AM »
Please remove those screenshots.

The reason is concerning your custom theme - there *are* four columns there but due to something in your custom theme, it indents the first column, so the fourth column wraps around.

and whats that suppose to mean??? it is the standard theme all i did was change color
Would you believe it that i live in gods country
Australia

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #9 on: December 09, 2009, 10:41:43 AM »
You've also changed the CSS too by the looks of things.

There are four columns there, they're defined to consume 25% space in 4 column mode, but that only works if there isn't an indent on the left which makes the first column consume more than 25%.

This mod works fine on 2.0 RC2 Curve - see the attachment for confirmation of that. But also see the difference - your lists have a space to the left of them that mine do not, thus your stylesheet is somehow different.
No good deed goes unpunished
All helpful urges should be circumvented

Offline coldy316

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
  • G'day mate, how ya doin
Re: Tidy Child Boards
« Reply #10 on: December 09, 2009, 10:50:31 AM »
could it be the another mod causing the problem?
http://custom.simplemachines.org/mods/index.php?mod=1266

that is the latest mod that Iinstalled before your mod

Would you believe it that i live in gods country
Australia

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #11 on: December 09, 2009, 10:54:33 AM »
It's possible. It's other mods have too. It's also possible that whatever you changed when you did your custom theme work may have changed it.

PM me a link and I'll take look tonight at exactly what it is. Note that the same would happen on 3 columns or even two, probably.
No good deed goes unpunished
All helpful urges should be circumvented

Offline coldy316

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
  • G'day mate, how ya doin
Re: Tidy Child Boards
« Reply #12 on: December 09, 2009, 11:18:44 AM »
arantor I sent you a pm please read and explain back
Would you believe it that i live in gods country
Australia

Offline edi67

  • SMF Hero
  • ******
  • Posts: 1,532
  • Gender: Male
  • Italian Supporter
    • CrazyZone
Re: Tidy Child Boards
« Reply #13 on: December 09, 2009, 12:02:32 PM »
nice one
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Offline Liam.

  • SMF Hero
  • ******
  • Posts: 2,239
  • Gender: Male
Re: Tidy Child Boards
« Reply #14 on: December 09, 2009, 12:35:14 PM »
Brilliant mod and works fine! Perfect for the sites with more boards. Will definitely put this up on my site ASAI get more boards.

Offline Joe N

  • Sr. Member
  • ****
  • Posts: 815
  • Gender: Male
  • Need An Avatar Pack? Send Me A PM!
    • The Chill Band Forum
Re: Tidy Child Boards
« Reply #15 on: December 09, 2009, 03:53:31 PM »
Looks a very nice mod. Will use it  ;)
Microsoft: "We Need to Imagine Life Without Walls."
I Say: "If There are No Walls Who needs Windows."



My Mods (6) All My Mods Updated To SMF 2.0 RC2 and SMF 1.1.10!


Offline Kimmie

  • SMF Hero
  • ******
  • Posts: 1,590
Re: Tidy Child Boards
« Reply #16 on: December 09, 2009, 06:53:31 PM »
Arantor, I think I love you!!!!!!!!!!   hehehe I have been waiting for this mod to get fixed!!   (*doin the happy dance)


Will be installing this later tonight!! :)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #17 on: December 09, 2009, 07:09:41 PM »
I didn't just fix it - this is a complete rewrite with extra goodness :)
No good deed goes unpunished
All helpful urges should be circumvented

Offline Kimmie

  • SMF Hero
  • ******
  • Posts: 1,590
Re: Tidy Child Boards
« Reply #18 on: December 09, 2009, 09:08:49 PM »
I didn't just fix it - this is a complete rewrite with extra goodness :)


Will this mod work on 2.0 RC1.2?

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #19 on: December 09, 2009, 09:16:47 PM »
Um. I never tried it on 2.0 RC1.2 however there's a good chance it will - I seem to recall the edits for Curve and Core are actually identical.
No good deed goes unpunished
All helpful urges should be circumvented