Advertisement:

Author Topic: Tidy Child Boards  (Read 137912 times)

Offline Mr. Pirate

  • Jr. Member
  • **
  • Posts: 176
Re: Tidy Child Boards
« Reply #120 on: January 01, 2010, 07:07:08 PM »
if not remove the space how can i add the same amount of space at the bottom of the child board

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #121 on: January 01, 2010, 07:18:53 PM »
I don't know, sorry.
No good deed goes unpunished
All helpful urges should be circumvented

Offline Mr. Pirate

  • Jr. Member
  • **
  • Posts: 176
Re: Tidy Child Boards
« Reply #122 on: January 01, 2010, 07:19:41 PM »
ok thank you for the help though

Offline GazOutEast

  • Jr. Member
  • **
  • Posts: 309
  • Gender: Male
  • If it's fixed - I can break it
Re: Tidy Child Boards
« Reply #123 on: January 10, 2010, 01:05:07 AM »
Hi Arantor

Just added this to my 2.0 RC2 site with all-default Curve theme - zero install problems and really sharpens up the appearance of the forum index and child boards.

Just wanted to add a huge thanks for this mod and all the others you work so hard on - love your mods.

(Now I have to shorten about half of my board titles so I can go to three column instead of two - but hey, that's not an issue caused by you ;) )

Gaz
I have 20:20 vision - I can see anything bigger than 20" x 20"

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #124 on: January 10, 2010, 08:12:24 AM »
Glad to know it's working for you :)
No good deed goes unpunished
All helpful urges should be circumvented

Boxerforum

  • Guest
Re: Tidy Child Boards
« Reply #125 on: January 10, 2010, 08:32:49 AM »
Great mod !  It's working fine on our 2.0 RC2 forum  :D

Offline Harvester

  • Sr. Member
  • ****
  • Posts: 700
  • Gender: Male
Re: Tidy Child Boards
« Reply #126 on: January 10, 2010, 08:56:21 PM »
I like this mod but I wish that it wouldnt make the board names 2 lines long. I have a few boards that have 3 or 4 words in its title and this mod will split the title up putting the first two or 3 words on one line and then put the last word on the line below it.

Kind of Like
This

Anyway to fix that? I dont see anything in the css

Offline Harvester

  • Sr. Member
  • ****
  • Posts: 700
  • Gender: Male
Re: Tidy Child Boards
« Reply #127 on: January 10, 2010, 09:12:11 PM »
also none of the items in the admin panel are labeled and the drop down box doesnt have any of the options labeled either... everything is blank... I can still select how many columns and it works but I cant see the labels "2 cols, 3 cols, 4 cols" etc... so its a guessing game as to which option I am choosing.

I have a custom theme but I parsed it and did all the edits teh parser on this page http://custom.simplemachines.org/mods/index.php?mod=2294  showed me to do

oh I have SMF 1.1.11 by the way

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #128 on: January 10, 2010, 09:43:00 PM »
Shorter board names? Fewer columns?

As for missing admin items... what language are you using? The mod only supports English/English-British on account of the fact I don't know any other languages.
No good deed goes unpunished
All helpful urges should be circumvented

Offline GazOutEast

  • Jr. Member
  • **
  • Posts: 309
  • Gender: Male
  • If it's fixed - I can break it
Re: Tidy Child Boards
« Reply #129 on: January 11, 2010, 07:26:25 AM »
also none of the items in the admin panel are labeled and the drop down box doesnt have any of the options labeled either... everything is blank... I can still select how many columns and it works but I cant see the labels "2 cols, 3 cols, 4 cols" etc... so its a guessing game as to which option I am choosing.

I have a custom theme but I parsed it and did all the edits teh parser on this page http://custom.simplemachines.org/mods/index.php?mod=2294  showed me to do

oh I have SMF 1.1.11 by the way

That's the age old and classic symptom that you're using English.UTF-8 instead of English as your language, or a similar mismatch

Copy the language strings from the /default-theme/languages/English.php into your /custom-theme/languages/all-languages-in-use.php files and the field labels will show up - remember to translate them as needed.

Gaz
I have 20:20 vision - I can see anything bigger than 20" x 20"

Offline Harvester

  • Sr. Member
  • ****
  • Posts: 700
  • Gender: Male
Re: Tidy Child Boards
« Reply #130 on: January 11, 2010, 06:56:28 PM »
even if I go for fewer columns it still breaks the names in half. I am just curious where you are setting the column width? Id like to edit and change it and see what happens.

Shorter board names? Fewer columns?

As for missing admin items... what language are you using? The mod only supports English/English-British on account of the fact I don't know any other languages.

Offline Harvester

  • Sr. Member
  • ****
  • Posts: 700
  • Gender: Male
Re: Tidy Child Boards
« Reply #131 on: January 11, 2010, 06:59:07 PM »
That's the age old and classic symptom that you're using English.UTF-8 instead of English as your language, or a similar mismatch

Copy the language strings from the /default-theme/languages/English.php into your /custom-theme/languages/all-languages-in-use.php files and the field labels will show up - remember to translate them as needed.

Gaz

I actuallyt do not even have the english-utf-8 files on my server... I only run english.php and no other languages. Already copied all the language strings from the default theme to my custom... as I said... I installed this manually via the parser.. I double and triple checked everything. I will go back and give it a quadruple check though

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #132 on: January 11, 2010, 07:07:18 PM »
If you added it manually, it should be fine (since you're not running 2.0 which would necessitate a clearing of the file cache)

As for how it's set, it takes the number of columns, divides that into 100 and sets that as the width of each column in CSS (see the edits to BoardIndex.php and MessageIndex.php where it adds to $context['html_headers'].
No good deed goes unpunished
All helpful urges should be circumvented

Offline GazOutEast

  • Jr. Member
  • **
  • Posts: 309
  • Gender: Male
  • If it's fixed - I can break it
Re: Tidy Child Boards
« Reply #133 on: January 11, 2010, 09:16:06 PM »
even if I go for fewer columns it still breaks the names in half. I am just curious where you are setting the column width? Id like to edit and change it and see what happens.

Shorter board names? Fewer columns?

As for missing admin items... what language are you using? The mod only supports English/English-British on account of the fact I don't know any other languages.

You'll also notice if you set the boards with new posts to use bold titles, that the font width increases - this can cause text wrap to more than a single line,

As Arantor says, shorter board titles and fewer columns might be your only solution - it's what I had to do on mine.

Alternatively, if you can code, you might want to create a title length limiter that will only apply to displayed sub-boards titles, but which is also variable to suit the number of columns.

Another factor could be the display width set for your forum - too narrow and even a two column display will line wrap with short board titles.  I use around 1000px on all my sites and scripts and it looks fine even on a wide screen monitor - I'm not a great fan of fluid width as I've seen it murder a number of site layouts and present garbage on screen.

Gaz
I have 20:20 vision - I can see anything bigger than 20" x 20"

Offline curlin

  • Jr. Member
  • **
  • Posts: 106
    • Thoroughbred Junkie
Re: Tidy Child Boards
« Reply #134 on: January 13, 2010, 11:42:09 PM »
   can someone post a site to check it out please.
Hoss Talk At Thoroughbred Junkie

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #135 on: January 14, 2010, 02:34:15 AM »
   can someone post a site to check it out please.

There's screenshots on the mod site listing, or were last time I checked (I definitely added some!)
No good deed goes unpunished
All helpful urges should be circumvented

Offline tekknus

  • Newbie
  • *
  • Posts: 7
Re: Tidy Child Boards
« Reply #136 on: January 25, 2010, 07:42:01 PM »
I use SMF 1.1.11, how install manually this mods to my theme, this is only for core theme?? i can apply this mod to my others themes??

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #137 on: January 25, 2010, 08:46:06 PM »
You will have to edit your themes.

Please see Manual Installation of Mods
No good deed goes unpunished
All helpful urges should be circumvented

Offline tekknus

  • Newbie
  • *
  • Posts: 7
Re: Tidy Child Boards
« Reply #138 on: January 25, 2010, 08:51:42 PM »
OK Arantor, thanks a lot, you have a great Mod i will try apply this procedure in my themes


Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,189
Re: Tidy Child Boards
« Reply #139 on: January 30, 2010, 09:55:57 PM »
Fixed a stupid bug in 2.0 version of this mod related to unapproved posts in a child board. Minor fix, either upgrade to v1.3 which contains it, or edit the BoardIndex.template.php of the theme(s) you use:

Code: (find) [Select]
function template_tidy_children() {
global $context, $settings, $txt, $modSettings;

Code: (replace) [Select]
function template_tidy_children() {
global $context, $settings, $txt, $modSettings, $scripturl;
No good deed goes unpunished
All helpful urges should be circumvented