News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Tidy Child Boards

Started by Arantor, December 09, 2009, 04:00:36 AM

Previous topic - Next topic

Sudhakar Arjunan

Such an Wonderful mod you have done.

Best suite all big boards.

Thanks for the excellent work you have done.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

nina-nina

Thank you!Thank you!Thank you!Thank you!Thank you!Thank you!  :D
I requested this mod a while ago because I have in my forum the old (Aligned...etc.) and you told me that there were some violations in the old mod. So, today, I am planning to remove the old one and came here to check on the status of the request and IT IS DONE!!!!  WooHoo!
Question:  Do I have to remove the old version before installing this one? Please tell me what would be the procedure because I don't want to wipe my forum up. :-\

Arantor

Yes, you do need to remove the old version. I can't really comment on it since I have no idea what code is in it (I didn't look)

Try uninstalling it from the packages area first.

(Note, I didn't just refit the original mod. This is completely from scratch construction.)

Cruncher Pete

On my localhost using WAMP I installed SMF 2.0 RC2 using the default theme Curve. No mods installed accept replacing logo with img same size as original text message using the Admin panel.

On installing Tidy Child Boards, I got an error message: Test failed ./Sources/BoardIndex.php.  I went ahead and installed mod as messages here indicated that this might have had something to do with the original  Core Theme and it should be safe to install. Indications are that it did install OK, however I see no change at all in  my nine child boards layout.  Have I missed a configuration or have I got deeper problems?

Arantor

Quote from: Cruncher Pete on December 21, 2009, 03:33:29 AM
On installing Tidy Child Boards, I got an error message: Test failed ./Sources/BoardIndex.php.  I went ahead and installed mod as messages here indicated that this might have had something to do with the original  Core Theme and it should be safe to install. Indications are that it did install OK, however I see no change at all in  my nine child boards layout.  Have I missed a configuration or have I got deeper problems?

A change is made to the main board index code, i.e. Sources/BoardIndex.php which this mod requires. You need to add those changes to make it work on *any* theme.

Cruncher Pete

Quote from: The Grinch on December 21, 2009, 03:53:20 AM
Quote from: Cruncher Pete on December 21, 2009, 03:33:29 AM
On installing Tidy Child Boards, I got an error message: Test failed ./Sources/BoardIndex.php.  I went ahead and installed mod as messages here indicated that this might have had something to do with the original  Core Theme and it should be safe to install. Indications are that it did install OK, however I see no change at all in  my nine child boards layout.  Have I missed a configuration or have I got deeper problems?

A change is made to the main board index code, i.e. Sources/BoardIndex.php which this mod requires. You need to add those changes to make it work on *any* theme.
Thank you for that info but I feel I am still missing something here. I  would have thought the Mod would add those changes (Note I said it installed OK so it said). How, and what do I add?

Arantor

It will add them, if you don't have a BoardIndex.php otherwise modified.

Something you already have installed modifies the BoardIndex.php file in such a way that my mod can't just install itself. Without seeing that file I can't tell you what to edit specifically, though we have a general guide in Manual Installation of Mods.

Cruncher Pete

Quote from: The Grinch on December 21, 2009, 06:01:00 AM
It will add them, if you don't have a BoardIndex.php otherwise modified.

Something you already have installed modifies the BoardIndex.php file in such a way that my mod can't just install itself. Without seeing that file I can't tell you what to edit specifically, though we have a general guide in Manual Installation of Mods.

I think we are misunderstanding each other here.  In my original request I stated that what I am using and said no other mods installed.  I think I also said later that the project appeared to install OK but I do not see any changes.  Sorry for the confusion.  I found out MY error.  The mod needs to be set via an option before it can be used.  The problem is that the location of this option is obscure and in my opinion as a newbie it should be included in the Description of the Mod.  Something like: Following installation of the Mod, please go to [wherever it is located] and set your options.

Thank you for your assistance and for the Mod

Arantor

I did actually add a screenshot of it where it is, but yeah, I can add a better description - I see what you mean now I look at it again. Thanks for the heads-up, I'll add it now.

* The Grinch would note however that even given instructions, pictures and even a redirection to the relevant screen, people have still asked me in the past...

IchBin™

It looks like when you turn the option on to show the new image next to sub board, the image is pointing to theme_name/images/new.gif. Shouldn't it be pointing to theme_name/images/langauge_name/new.gif ?
IchBin™        TinyPortal

Arantor

It probably should, though it displays [new] images on both 1.1 and 2.0... hmm.

* The Grinch will fix that as well as a stupid bug in the package-info.xml for the 1.1 version in the next release.

akbora

IE 6 and IE 7 with problem like previous member's problems. It is solved? How.

Great and super mod but IE?
SMF 2.0.13
Default Theme
Utf8 Turkish
---------------

lexa90


raven85


Arantor

Quote from: akbora on December 28, 2009, 11:58:28 AM
IE 6 and IE 7 with problem like previous member's problems. It is solved? How.

Great and super mod but IE?

Never said it was solved. I don't have IE 6 or 7 available right now to test this either.

ianus

Greetings!

For my SMF1 I have to make this changes manually - and I'm really glad, that this is a mod now.

Thanks a lot!

Feel free to use this as German translation.
(Will fit utf-8 also)

$txt['tidy_child_boards'] = 'Ordne Unterforen in Kolumnen an';
$txt['tidy_child_boards_no'] = 'Keine Kolumnen verwenden (default)';
$txt['tidy_child_boards_2col'] = 'Zwei Kolumnen';
$txt['tidy_child_boards_3col'] = 'Drei Kolumnen';
$txt['tidy_child_boards_4col'] = 'Vier Kolumnen';
$txt['tidy_child_boards_icon'] = 'Zeige kleines Icon neben Unterforen';
$txt['tidy_child_boards_bold'] = 'Hebe ungelesene Unterforen hervor';
$txt['tidy_child_boards_new'] = 'Zeige [new] Icon neben ungelesenen Unterforen';

Arantor

Thanks :)

I'll add that to the next version.

GohighVoltage

Great Mod,  And don't worry about the IE6 and IE7 ordeal.  Not that big of a deal and most people will be upgrading anyway.

Your mod is not the only thing that has ordeals with IE6 and IE7,  heck websites have issues with them.   That is why IE8 has compatibility view now.


Arantor

Quote from: GohighVoltage on December 30, 2009, 04:24:14 PM
That is why IE8 has compatibility view now.

IE8 compatibility view is designed BECAUSE of IE7 issues - it uses the IE7 renderer instead of the more standards compliant (and less buggy, actually) IE8 renderer.

Hopefully the changes in 1.2 will help :)

Özgür

Nice mod Arantor. And one report
echo '<img src="', $settings['images_url'], '/', ($child['new'] ? 'on' : 'off'), '.png" width="12" height="12" alt=""> '; should be echo '<img src="', $settings['images_url'], '/', ($child['new'] ? 'on' : 'off'), '.png" width="12" height="12" alt="" /> ';
So Long

Advertisement: