Advertisement:

Author Topic: Tidy Child Boards  (Read 137961 times)

Offline Dr3amstor

  • Semi-Newbie
  • *
  • Posts: 35
Re: Tidy Child Boards
« Reply #360 on: August 02, 2012, 08:29:54 AM »
Works perfect on the default theme curve but cant get it to work on the black rain template.

Any help, thanks.

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,668
  • Gender: Male
    • i30 Owners Club
Re: Tidy Child Boards
« Reply #361 on: August 02, 2012, 08:49:57 AM »
...cant get it to work on the black rain template.
That's not a great deal for us to go on :(

Works fine on my BlackBox theme, which is very similar to Rain.

Offline Dr3amstor

  • Semi-Newbie
  • *
  • Posts: 35
Re: Tidy Child Boards
« Reply #362 on: August 02, 2012, 11:21:42 AM »
...cant get it to work on the black rain template.
That's not a great deal for us to go on :(

Works fine on my BlackBox theme, which is very similar to Rain.

What I mean is that the child forums do not show in columns but linear.

Offline Dr3amstor

  • Semi-Newbie
  • *
  • Posts: 35
Re: Tidy Child Boards
« Reply #363 on: August 02, 2012, 11:44:54 AM »
I got it sorted.

Thank you

Offline zappadoc

  • Newbie
  • *
  • Posts: 4
Re: Tidy Child Boards
« Reply #364 on: September 08, 2012, 05:48:54 AM »
where to find Tidy Child Boards 1.3 for 2.0 RC3?
thanks

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: Tidy Child Boards
« Reply #365 on: September 08, 2012, 11:00:13 AM »
Not supporting that version but if you really need it, it should still be in the package just use version emulate. I don't think there were any code changes anyway.

Offline phpshiva

  • Semi-Newbie
  • *
  • Posts: 70
  • Gender: Female
    • Aquababe
Re: Tidy Child Boards
« Reply #366 on: October 11, 2012, 04:52:19 AM »
iff i use more than one column its all on the right side of the page and not left
How can i fix this?

Offline phpshiva

  • Semi-Newbie
  • *
  • Posts: 70
  • Gender: Female
    • Aquababe
Re: Tidy Child Boards
« Reply #367 on: November 03, 2012, 10:39:37 AM »
still no one who knows how to fix this?
its showing under last message on the right side and needs to be left

Offline tweetledee

  • Newbie
  • *
  • Posts: 8
Re: Tidy Child Boards
« Reply #368 on: November 29, 2012, 12:08:39 PM »
hi.

this seems like a very useful mod for me, but it doesn't seem to work with my theme. (see image)

which file should look into editing to make them appear in columns?... it seems (as shown in the screen grab) that it's trying to do something with the line breaks in between the sets of intended columns.

thanks.

Offline tweetledee

  • Newbie
  • *
  • Posts: 8
Re: Tidy Child Boards
« Reply #369 on: November 29, 2012, 12:23:07 PM »
got it fixed.

found this post in the thread:

Hi Sir Now  is working perfectly (transferred the file to default themes folder)!!! The childboards adjusts to a strategical position if I add a new sub-board. no spaces in between now!

 How could i thank you more..........   ;D

checked out the tidyboard.css in default theme -- the code got really chopped for some reason when it got installed, i'm guessing. copy and pasted original css and it works as it should.

very useful mod. thanks.

Offline phpshiva

  • Semi-Newbie
  • *
  • Posts: 70
  • Gender: Female
    • Aquababe
Re: Tidy Child Boards
« Reply #370 on: December 02, 2012, 04:10:12 AM »
Still after all this time waiting for solution about my problem


How to fix this?

Offline Crozz

  • Semi-Newbie
  • *
  • Posts: 47
  • Gender: Male
Re: Tidy Child Boards
« Reply #371 on: December 27, 2012, 07:54:23 AM »
Is there any way this mod can be made to work in SMF 2.0.3?
It kinda messed up the forum when I tried to emulate it to 2.0.2

Offline Hristo

  • Jr. Member
  • **
  • Posts: 319
  • Gender: Male
Re: Tidy Child Boards
« Reply #372 on: December 27, 2012, 09:30:35 PM »
The mod works just fine in 2.0.3. Emulation is completely harmless to the forum, it does not revert it's code to the emulated version.
There is a way to install it without emulation:
First, open the mod archive, then open the package-info.xml file. Find these 2 lines:
<install for="2.0, 2.0.1, 2.0.2">
and
<uninstall for="2.0, 2.0.1, 2.0.2">

And change them like this, then save:

<install for="2.0, 2.0.1, 2.0.2, 2.0.3">
and
<uninstall for="2.0, 2.0.1, 2.0.2, 2.0.3">

Offline Crozz

  • Semi-Newbie
  • *
  • Posts: 47
  • Gender: Male
Re: Tidy Child Boards
« Reply #373 on: December 28, 2012, 12:01:30 AM »
The mod works just fine in 2.0.3. Emulation is completely harmless to the forum, it does not revert it's code to the emulated version.
There is a way to install it without emulation:
First, open the mod archive, then open the package-info.xml file. Find these 2 lines:
<install for="2.0, 2.0.1, 2.0.2">
and
<uninstall for="2.0, 2.0.1, 2.0.2">

And change them like this, then save:

<install for="2.0, 2.0.1, 2.0.2, 2.0.3">
and
<uninstall for="2.0, 2.0.1, 2.0.2, 2.0.3">


Thank you, that did the trick :)

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #374 on: December 30, 2012, 02:45:05 PM »
All you're doing by editing the package-info.xml file is avoiding using emulation - they do *exactly* the same thing - just override the version that the package parser is going to select.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Frank Hunt

  • Semi-Newbie
  • *
  • Posts: 11
Re: Tidy Child Boards
« Reply #375 on: March 20, 2013, 12:49:18 AM »
I love this mod but it doesn't work for the current version.  Any chance of updating it?

Offline live627

  • Developer
  • SMF Hero
  • *
  • Posts: 5,995
  • Gender: Male
    • live627 on Facebook
    • live627 on GitHub
    • live627 on LinkedIn
    • @live627 on Twitter
    • livemods
Re: Tidy Child Boards
« Reply #376 on: March 20, 2013, 02:28:44 AM »
Oh look,, someone else doesn't read! trolllface.png

Offline Frank Hunt

  • Semi-Newbie
  • *
  • Posts: 11
Re: Tidy Child Boards
« Reply #377 on: March 20, 2013, 11:56:10 AM »
Oh look,, someone else doesn't read! trolllface.png

Crap, my bad.  I'll actually read and do what he says.

Offline Biology Forums

  • SMF Hero
  • ******
  • Posts: 3,781
    • StudyForcePS on Facebook
    • @studyforceps on Twitter
Re: Tidy Child Boards
« Reply #378 on: May 21, 2013, 07:12:27 PM »
I currently have it on three columns. However, there are some boards that only have one child board; by putting it into a three column configuration, the parent that has that one child board looks all squished. Is there a way of setting up those parents with one child board not to be in columns? (i.e. have a width of 100%)

If(parent contains 1 child) echo'

floor(width: 100%)

else

floor(100/$modSettings['tidy_child_boards']%)

Code: [Select]
if(empty($context['added_tidy_header']) && !empty($modSettings['tidy_child_boards']) && $modSettings['tidy_child_boards'] > 1) {
if(empty($context['html_headers']))
$context['html_headers'] = '';
$context['html_headers'] .= '
<link rel="stylesheet" type="text/css" href="' . $settings['default_theme_url'] . '/tidyboards.css?1110" />
<style type="text/css">.tidy_child { width:' . floor(100/$modSettings['tidy_child_boards']) . '%; }</style>';
$context['added_tidy_header'] = 1;
}

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #379 on: May 21, 2013, 07:13:25 PM »
Not without a more complex overhaul from what I remember and it's been a long time since I originally wrote this... :/
No good deed goes unpunished
All helpful urges should be circumvented