Advertisement:

Author Topic: Tidy Child Boards  (Read 137809 times)

Offline Robbo_

  • Full Member
  • ***
  • Posts: 501
  • Gender: Male
  • Simple Portal Customizer
    • ClanSpace
Re: Tidy Child Boards
« Reply #180 on: April 21, 2010, 01:21:34 PM »
1 column is planned in next release.
Aus-Newerth

Quote from: IRC
Roph> I just finished a double 1/2lb cheese, bacon & salad beef burger
Roph> no woman on earth could satisfy me as much as I am satisfied right now by this burger
... later on ...
Roph> how could ensie go about satisfying me =o
<Ensiferous> Roph: Merely looking at me would yield far more pleasure than a burger can provide.

Offline jtoleric

  • Semi-Newbie
  • *
  • Posts: 27
Re: Tidy Child Boards
« Reply #181 on: April 21, 2010, 01:44:00 PM »
thanks, can't wait!

Offline coldy316

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
  • G'day mate, how ya doin
Re: Tidy Child Boards
« Reply #182 on: April 28, 2010, 02:25:56 AM »
Okay i have the original one that arantor did and that is in board. i just recently upgraded to 2.0 rc3 and the mod is still in there
how do i take that one out when there is no uninstall just [ List Files ] [ Delete ] ..I want to add the new one that is available?

also on another note when i go to Features and Options it doesnt show up in the Layout section at all

can i just upload it over the existing one and will that over write it.
« Last Edit: April 28, 2010, 03:02:12 AM by coldy316 »
Would you believe it that i live in gods country
Australia

Offline coldy316

  • Jr. Member
  • **
  • Posts: 164
  • Gender: Male
  • G'day mate, how ya doin
Re: Tidy Child Boards
« Reply #183 on: April 28, 2010, 05:45:04 AM »
did that arantor and the mod work beautifully thanks for your help
Would you believe it that i live in gods country
Australia

Offline Jokerâ„¢

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 5,914
  • Gender: Male
    • siddhartha-gupta on GitHub
Re: Tidy Child Boards
« Reply #184 on: May 02, 2010, 07:15:01 AM »
Code: [Select]
echo '<img src="', $settings['images_url'], '/', ($child['new'] ? 'on' : 'off'), '.png" width="12" height="12" alt=""> ';
Both in MessageIndex.template.php and BoardIndex.template.php

this error fails to get validate in W3C Xhtml test .... as it is not getting closed properly , it think it should be

Code: [Select]
echo '<img src="', $settings['images_url'], '/', ($child['new'] ? 'on' : 'off'), '.png" width="12" height="12" alt="" /> ';
i'll ask the author of the mod to look into the case .
Github Profile
Android apps
Medium

How to enable Post Moderation

"For the wise man looks into space and he knows there is no limited dimensions." - Laozi

All support seeking PM's get microwaved

Offline tycms

  • Semi-Newbie
  • *
  • Posts: 88
Re: Tidy Child Boards
« Reply #185 on: May 02, 2010, 10:49:32 AM »
Yes sid2varun, I noticed this too.

http://www.simplemachines.org/community/index.php?topic=352963.msg2583467#msg2583467

As far as I remember it was mentioned once more before I posted it.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #186 on: May 02, 2010, 05:21:45 PM »
I have little doubt it was posted - by which point I'd stopped supporting the mod...
No good deed goes unpunished
All helpful urges should be circumvented

Offline turtlepod

  • Newbie
  • *
  • Posts: 6
Re: Tidy Child Boards
« Reply #187 on: May 08, 2010, 03:40:33 PM »
very neat mod.... ;D
like it!

but how to make it also works on Home Page..?

this is the screen shoot:
not tidy:http://img8.imageshack.us/img8/5999/nottidy.jpg

tidy:http://img138.imageshack.us/img138/7558/tidyg.jpg

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #188 on: May 08, 2010, 03:42:41 PM »
Your theme has a custom BoardIndex.template.php, you will have to add the changes yourself to it.
No good deed goes unpunished
All helpful urges should be circumvented

Offline turtlepod

  • Newbie
  • *
  • Posts: 6
Re: Tidy Child Boards
« Reply #189 on: May 08, 2010, 04:10:27 PM »
Your theme has a custom BoardIndex.template.php, you will have to add the changes yourself to it.

thx u for a very quick reply...
i'm using SMF 1.1.11
and in this mod, it did not change boardindex.template.php,
Code: [Select]
<install for="1.1 - 1.1.99">
<modification type="file">1-1-x/install11.xml</modification>
<modification type="file">1-1-x/11-core.xml</modification>
<modification type="file">languages/english.xml</modification>
<modification type="file">languages/english_british.xml</modification>
<modification type="file">languages/german.xml</modification>
<require-file name="tidyboards.css" destination="$themes_dir/default" /><!-- one specific place since it's entirely common! -->
<code>install.php</code>
</install>

please explain how should modify my boardindex.template.php...
i'm a newbie...  :-[

thx

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #190 on: May 08, 2010, 04:13:02 PM »
Excuse me, I only wrote the mod. The instructions in 11-core.xml describe the changes in BoardIndex.template.php for the default theme. You apply the same changes to your custom theme's BoardIndex.template.php

Don't believe me? Go to the mod's page, pick 1.1.11 in the dropdown and select Parse. It'll show you the edits made!
No good deed goes unpunished
All helpful urges should be circumvented

Offline turtlepod

  • Newbie
  • *
  • Posts: 6
Re: Tidy Child Boards
« Reply #191 on: May 08, 2010, 04:33:19 PM »
Excuse me, I only wrote the mod. The instructions in 11-core.xml describe the changes in BoardIndex.template.php for the default theme. You apply the same changes to your custom theme's BoardIndex.template.php

Don't believe me? Go to the mod's page, pick 1.1.11 in the dropdown and select Parse. It'll show you the edits made!
i'm sorry...
thx for all explaination, but i can't find :    // Find all boards
where should i add this code:
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;
}


i really sorry ...

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #192 on: May 08, 2010, 04:37:17 PM »
So you have a custom theme file. If you can attach it I'll take a look as to where it's supposed to be added.
No good deed goes unpunished
All helpful urges should be circumvented

Offline turtlepod

  • Newbie
  • *
  • Posts: 6
Re: Tidy Child Boards
« Reply #193 on: May 09, 2010, 07:29:23 AM »
sorry, i fell asleep.
it was 4 am here...
and i just found out i was editing the wrong file  :P

but, my boardindex.template.php file i think it's fine...
all tidy board code is there.
i'm using free themes from hxxp:www.dzinerstudio.com/ [nonactive] , OUTLINE
 i attach my boardindex.template.php in this post.
but i tried to change the themes to one of the defaut theme, and the result is the same..
the child board is not tidy in Home Page.

thx for your help
« Last Edit: May 09, 2010, 10:21:45 AM by turtlepod »

Offline turtlepod

  • Newbie
  • *
  • Posts: 6
Re: Tidy Child Boards
« Reply #194 on: May 09, 2010, 10:19:36 AM »
Tidy Child board for Indonesian Language / Bahasa Indonesia
SMF ver 1.1.11

in /Themes/default/languages/Modifications.indonesian-utf8.php

Find (at the end of the file):
Code: [Select]
?>Add Before:
Code: [Select]
$txt['tidy_child_boards'] = 'Atur Anak Board dalam Kolom';
$txt['tidy_child_boards_no'] = 'Jangan tampilkan dalam Kolom (default)';
$txt['tidy_child_boards_2col'] = 'Dua Kolom';
$txt['tidy_child_boards_3col'] = 'Tiga Kolom';
$txt['tidy_child_boards_4col'] = 'Empat Kolom';
$txt['tidy_child_boards_icon'] = 'Tampilkan icon board mini di sebelah anak board';
$txt['tidy_child_boards_bold'] = 'Tampilkan anak board yang belum terbaca dalam cetakan tebal';
$txt['tidy_child_boards_new'] = 'Tampilkan gambar [new] disebelah anak board yang belum terbaca';

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #195 on: May 09, 2010, 11:39:41 AM »
After the code was added to BoardIndex.template.php you *did* actually configure the mod in Features and Options, right?

* Arantor isn't sure why he's supporting the mod, that was part of the reason he gave all his mods away!
No good deed goes unpunished
All helpful urges should be circumvented

Offline turtlepod

  • Newbie
  • *
  • Posts: 6
Re: Tidy Child Boards
« Reply #196 on: May 09, 2010, 11:52:37 AM »
After the code was added to BoardIndex.template.php you *did* actually configure the mod in Features and Options, right?

yes..
i did the configure the mod in feature and control.
the mod works fine on child board
but not working in Homepage..
i'll try to find the problem, i'll let you know if i find the solution.
maybe it because other mod i install.
i'll try to uninstall other mod and see if it works

thx alot..

Quote
* Arantor isn't sure why he's supporting the mod, that was part of the reason he gave all his mods away!
ROFL

 ;D

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: Tidy Child Boards
« Reply #197 on: May 09, 2010, 06:14:32 PM »
I can't seem to find where I'm to enable this mod. ACP > Boards > Settings has nothing and if I modify each boaerd and goto settings it's not there either.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #198 on: May 09, 2010, 06:17:04 PM »
Where does it say it's in the board configuration area? In fact had you read the mod's own page, it even TELLS you where to look.

Quote
Once installed, you'll find these options in the Features and Options page of the admin panel:
No good deed goes unpunished
All helpful urges should be circumvented

Offline MATTEK

  • Sr. Member
  • ****
  • Posts: 977
  • Gender: Male
  • Tyrannical
    • The Unsung Heroes
Re: Tidy Child Boards
« Reply #199 on: May 09, 2010, 06:21:14 PM »
Where does it say it's in the board configuration area? In fact had you read the mod's own page, it even TELLS you where to look.

Quote
Once installed, you'll find these options in the Features and Options page of the admin panel:

I checked and I couldn't find it so I figured it might be in there. Geeze dude. You don't gotta sound so annoyed when someone asks a question.
SMF 2.0.1

Like Comics, Books, Movies or T.V. Shows? Read about them here!!