ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: TestMonkey on July 22, 2013, 05:55:36 am

Title: upgrade notes, on options removed
Post by: TestMonkey on July 22, 2013, 05:55:36 am
This ain't a bug report (proper), it's a note to keep track of upgrade. (It should be on github, too.)

1. I'm removing the option show_board_desc (profile -> show board description inside boards). I'm not removing it from the db while upgrading yet. I tend to think it's the kind of option that should be removed by a cleanup db, while upgrade might let it in place, for addons which would re-use it. Useless?

2. Same for show_children. (profile -> show child boards inside every board listing not just the first.)

3. Same for posts_apply_ignore_list. (profile -> hide posts from people on my ignore list.)

Where/if these options were in use, removing them during upgrade might not be the expected effect; people may want to use some replacement mod/addon, using that data. Rather, a cleanup script would be able to do it. Or, an option in the upgrade process?
Title: Re: upgrade notes, on options removed
Post by: Antechinus on July 22, 2013, 06:37:37 pm
Sounds like good thinking.

Question: what about this one? Feature removal! Yay! (http://www.elkarte.net/index.php?topic=478.0)
Title: Re: upgrade notes, on options removed
Post by: Trekkie101 on August 18, 2013, 01:12:31 pm
Take it out during upgrade. It's going to be clutter and oddly placed otherwise.

Did the "hot topic" and "Very hot topic" nonsense get pulled out too?
Title: Re: upgrade notes, on options removed
Post by: Spuds on August 18, 2013, 04:50:41 pm
QuoteDid the "hot topic" and "Very hot topic" nonsense get pulled out too?
Its still in the code with the option to base the "hotness" on the number of likes instead of posts ...

That said the default theme, to my knowledge, does not make use it.  So its available should a theme or mod writer want to make use of that information as part of the topic info array

If thats how its left the ACP should be updated a bit to reflect it as theme/mod dependent, or I suppose it could be removed as some have a tremendous emotional turmoil about the very existence of a >= comparator in the code ZOMG ZOMG
Title: Re: upgrade notes, on options removed
Post by: Arantor on August 18, 2013, 05:11:29 pm
Eh, I'd argue that if you're not using it, remove it.
Title: Re: upgrade notes, on options removed
Post by: Spuds on August 18, 2013, 06:41:34 pm
ZOMG  :P  

Yeah probably so, I  was looking for a cheap out as some addons / themes may have wanted that info, but they can add it back almost as easy anyway.

In this case I'll leave that removal for those that chose to stop using it, and therefore left all that stuff half arsed in the code (acp, icons, messageindex, likes, etc, you know the drill), don't want to steal the thunder joy of that removal as I've gots lots of other things to keep me busy for some time O:-)
Title: Re: upgrade notes, on options removed
Post by: Arantor on August 18, 2013, 07:32:27 pm
"As powerful as possible, as complex as necessary." O:-)
Title: Re: upgrade notes, on options removed
Post by: IchBin on August 18, 2013, 08:18:55 pm
That's pretty much common sense to any developer with a brain there Arantor. 
Title: Re: upgrade notes, on options removed
Post by: Arantor on August 18, 2013, 08:25:44 pm
You'd think, wouldn't you? Yet how often is it really applied?

All too often things are made overcomplicated with too many unnecessary features, or made overcomplicated at the user's expense.
Title: Re: upgrade notes, on options removed
Post by: Spuds on August 18, 2013, 09:33:39 pm
"If I only had a brain" :D
Title: Re: upgrade notes, on options removed
Post by: IchBin on August 20, 2013, 08:56:24 pm
haha nice avatar Spuds....

I think developers know it. It's just a matter of getting them to live by it.