Advertisement:

Author Topic: Tidy Child Boards  (Read 137926 times)

Offline Mark S

  • Jr. Member
  • **
  • Posts: 316
  • Gender: Male
  • SMF 2.0.17
    • Classic Winnebagos and Vintage RVs
Re: Tidy Child Boards
« Reply #420 on: October 06, 2015, 09:19:48 PM »
It didn't, but I emulated 2.0.10.  I've had is so long, I really don't know what version I was using when I installed it.  Do you think I should just keep trying by subtracting one version at a time, or emulate 2.0.4, the last updated version of the mod?

Thank you for your feedback!

Edit.  I checked that the latest mod version was 1.4.1 and was usable through SMF 2.0.4, so I'll attempt to emulate that and see what happens.

Offline Mark S

  • Jr. Member
  • **
  • Posts: 316
  • Gender: Male
  • SMF 2.0.17
    • Classic Winnebagos and Vintage RVs
Re: Tidy Child Boards
« Reply #421 on: October 06, 2015, 09:26:19 PM »
That actually worked!  Thank you for prompting me to further think through it!

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 5,003
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Tidy Child Boards
« Reply #422 on: October 07, 2015, 08:19:29 AM »
Cool beans. :)
Please do not PM me for support.

Offline Maggan22

  • Semi-Newbie
  • *
  • Posts: 10
Re: Tidy Child Boards
« Reply #423 on: October 20, 2015, 09:11:52 AM »
I get an Error message after installing!
 Fatal error: Cannot redeclare template_tidy_children() (previously declared in /www/htdocs/w009ae80/ZB/Sources/Load.php(2670) : eval()'d code:415) in /www/htdocs/w009ae80/ZB/Sources/Load.php(2670) : eval()'d code on line 491

SMF Version is:
   SMF 2.1 Beta 1

Can you help me please? Backend works without errors

Offline Kindred

  • The Mean One
  • Lead Support Specialist
  • SMF Legend
  • *
  • Posts: 60,435
  • Gender: Male
    • Kindred-999 on GitHub
Re: Tidy Child Boards
« Reply #424 on: October 20, 2015, 09:31:09 AM »
first and foremost...    this mod almost definitely will not work on 2.1 beta....

second... you seem to have installed the mod twice.
At this point, you are going to have to MANUALLY remove the duplicated code (probably in several files)

Third... If you are using 2.1 beta 1, you are way out of date. (and I certainly hope that you are not using it on a production/live site)
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline Bythe

  • Semi-Newbie
  • *
  • Posts: 24
Re: Tidy Child Boards
« Reply #425 on: January 09, 2016, 03:35:04 PM »
hi is there any child boards mod for 2.0.11?

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,668
  • Gender: Male
    • i30 Owners Club
Re: Tidy Child Boards
« Reply #426 on: January 09, 2016, 03:37:22 PM »

Offline Wellwisher

  • Full Member
  • ***
  • Posts: 448
  • Gender: Male
Re: Tidy Child Boards
« Reply #427 on: April 05, 2016, 07:33:16 PM »
You can achieve what this mod does with a little bit of CSS & a simple theme file edit:

Code: [Select]

.children.windowbg > a, .children.windowbg > strong {
  float: left;
  width: 30%;
}


This just leaves the crap that SMF puts in by default, i.e the commas ( , ) after each childboard and the colan ( : ) after the text "ChildBoards:". Which you could easily get rid off in one of the theme files, not sure which one off the top of my head.  :P

You could also turn the childboards into a list or table with CSS by adding "display:list;" or "display:table;" to the above code.

Offline Kindred

  • The Mean One
  • Lead Support Specialist
  • SMF Legend
  • *
  • Posts: 60,435
  • Gender: Male
    • Kindred-999 on GitHub
Re: Tidy Child Boards
« Reply #428 on: April 05, 2016, 09:13:50 PM »
Did you happen to note that this mod was released 7 years ago, before CSS did much of what it does?
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Offline Wellwisher

  • Full Member
  • ***
  • Posts: 448
  • Gender: Male
Re: Tidy Child Boards
« Reply #429 on: April 05, 2016, 11:04:51 PM »
Did you happen to note that this mod was released 7 years ago, before CSS did much of what it does?

Hello Kinded,

People still seem to be using this in 2016. I was about to do the same and emulate to get it working on my custom theme, but thought "Hang on, this feels like such an overkill..." hence why I posted the css snippet above.

Sometimes it feels good to follow the herd and jump off a cliff, other times, you just want to stand still whilst pointing and laughing at them.

Offline Steve

  • Freak
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 5,003
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: Tidy Child Boards
« Reply #430 on: April 06, 2016, 08:59:32 AM »
Wellwisher, can I pm you about this?
Please do not PM me for support.

Offline Wellwisher

  • Full Member
  • ***
  • Posts: 448
  • Gender: Male
Re: Tidy Child Boards
« Reply #431 on: April 06, 2016, 09:07:12 AM »
Wellwisher, can I pm you about this?

Sure thing, Steve.

Offline Wellwisher

  • Full Member
  • ***
  • Posts: 448
  • Gender: Male
Re: Tidy Child Boards
« Reply #432 on: April 11, 2016, 06:30:28 PM »
Here's a 2016 way of doing this, my tutorial on Tips & Tricks has been approved by @Antes.  8)

[TRICK] Pretty "Child Boards" On Front Page - A 60 Seconds Fix - By Wellwisher

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 3,915
  • Gender: Male
  • Learning more every day!
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Tidy Child Boards
« Reply #433 on: April 11, 2016, 07:09:31 PM »
No doubt more than one job I've used it a lot and helped me ah ... Excellent work @Arantor

Modifications.spanish_latin-utf8.php
Code: [Select]
$txt['tidy_child_boards'] = 'Organizar foros/subforo en las columnas';
$txt['tidy_child_boards_no'] = 'No poner en columnas (por defecto)';
$txt['tidy_child_boards_2col'] = 'Dos columnas';
$txt['tidy_child_boards_3col'] = 'Tres columnas';
$txt['tidy_child_boards_4col'] = 'Cuatro columnas';
$txt['tidy_child_boards_icon'] = 'Muestra el icono de nuevo(a) tema(s)/respuesta(s) junto al subforo';
$txt['tidy_child_boards_bold'] = 'Mostrar los subforos los tema(s)/respuesta(s) no leídos en negrita';
$txt['tidy_child_boards_new'] = 'Imagen en pantalla de [nuevo/new] junto a los subforos no leídos';

and Modifications.spanish_latin-utf8.php
Code: [Select]
$txt['tidy_child_boards'] = 'Organizar foros/subforo en las columnas';
$txt['tidy_child_boards_no'] = 'No poner en columnas (por defecto)';
$txt['tidy_child_boards_2col'] = 'Dos columnas';
$txt['tidy_child_boards_3col'] = 'Tres columnas';
$txt['tidy_child_boards_4col'] = 'Cuatro columnas';
$txt['tidy_child_boards_icon'] = 'Muestra el icono de nuevo(a) tema(s)/respuesta(s) junto al subforo';
$txt['tidy_child_boards_bold'] = 'Mostrar los subforos los tema(s)/respuesta(s) no leídos en negrita';
$txt['tidy_child_boards_new'] = 'Imagen en pantalla de [nuevo/new] junto a los subforos no leídos';

Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2020
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline ZabiinoOo

  • Semi-Newbie
  • *
  • Posts: 65
Re: Tidy Child Boards
« Reply #434 on: May 10, 2016, 11:01:26 PM »
mod old version, update please

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
No good deed goes unpunished
All helpful urges should be circumvented

Offline Wapilbn

  • Semi-Newbie
  • *
  • Posts: 10
Re: Tidy Child Boards
« Reply #436 on: May 11, 2016, 02:46:03 AM »
In mod description it is written :
" Compatible with 1.1.11 Core theme and 2.0 RC2 Curve and Core themes (out of the box, plus it's quite easy to add to others, even doing it manually)"

Ok, well.... can anybody thell me ( maybe mod creator ? ), what i have to do in REDSY THEME  ? I have 2.0.11 version, in the curve and coreits work, in REDSY not :( 

Offline br360

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Tidy Child Boards
« Reply #437 on: May 11, 2016, 03:26:54 AM »
Redsy has it's own BoardIndex.template.php and MessageIndex.template.php, so to get it to work in the redsy theme you would have to manually add in the mod's code edits to those files in the redsy theme.

Another option you can try would be to uninstall this mod (make sure there are no errors when uninstalling) and then you can reinstall the mod- making sure that you are checking the option "Install in Other Themes" for any of your other themes you have when you do reinstall it.

Offline Wapilbn

  • Semi-Newbie
  • *
  • Posts: 10
Re: Tidy Child Boards
« Reply #438 on: May 11, 2016, 03:56:04 AM »
Redsy has it's own BoardIndex.template.php and MessageIndex.template.php, so to get it to work in the redsy theme you would have to manually add in the mod's code edits to those files in the redsy theme.

Well, if i know what and where i must add.... i'm weak in that things...

Btw... maybe i reinstall this mod ( probadly i will have problems with install it on 2.0.11 ).

Offline br360

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,398
    • GenXcommunity
Re: Tidy Child Boards
« Reply #439 on: May 11, 2016, 04:27:17 PM »
If you already installed this on your 2.0.11 forum, you should have no issues uninstalling and then reinstalling again. Just make sure that you do not uninstall if you see errors.

If you emulated your version in your package manager to be able to install this mod, you are going to have to emulate again before you can uninstall.  The link that Arantor posted above should be able to walk you through it again.